Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Support for classical conditioning of gates on a list of classical bits #6761

Closed
wants to merge 6 commits into from

Conversation

TharrmashasthaPV
Copy link
Contributor

Summary

This PR now supports classical conditioning of gates on a list of classical bits.

Details and comments

This PR is a generalization of classical condition on single classical bit introduced in #6018 . This PR allows a user to classically condition gates on a list of classical bits. The classical bits in the list could belong to one or multiple classical registers. Tests have not been added yet. Comments are welcome!

@HuangJunye HuangJunye added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Jun 21, 2022
@jakelishman
Copy link
Member

I'm going to close this as stale now, especially since we won't be moving forwards with any expansions of the old 2-tuple form of Instruction.condition now that the more general classical-value system qiskit.circuit.classical.expr exists. Thanks for the effort at the time, and please feel free to open new PRs with contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PR PRs from contributors that are not 'members' of the Qiskit repo
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants