Skip to content

Allow ControlledGates to accept measurement keys instead of qubits when called #2678

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

Closed
obriente opened this issue Jan 14, 2020 · 3 comments
Closed
Labels
area/classical/control area/classical kind/feature-request Describes new functionality status/stale This has been closed due to inactivity for an extended period of time. triage/duplicate This issue or pull request is addressed by another issue or pull request

Comments

@obriente
Copy link
Collaborator

Not sure whether there is a better way of doing this, but it seems like an easy/natural way to allow classical control would be to allow a ControlledGate to accept measurement labels in place of qubits for the first num_control parameters. Would this work?

(If something else has already been done, feel free to bin this suggestion.)

@dabacon
Copy link
Collaborator

dabacon commented May 8, 2020

Related #887

@95-martin-orion 95-martin-orion added area/classical area/classical/control kind/feature-request Describes new functionality triage/duplicate This issue or pull request is addressed by another issue or pull request labels Sep 22, 2020
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions
Copy link

Issue closed due to inactivity.

@mhucka mhucka added T status/stale This has been closed due to inactivity for an extended period of time. and removed triage/stale labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/classical/control area/classical kind/feature-request Describes new functionality status/stale This has been closed due to inactivity for an extended period of time. triage/duplicate This issue or pull request is addressed by another issue or pull request
Projects
None yet
Development

No branches or pull requests

4 participants