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

Circuit.mcry with mode 'basic' uses MCXVChain #4787

Merged
merged 8 commits into from
Sep 29, 2020
Merged

Conversation

Cryoris
Copy link
Contributor

@Cryoris Cryoris commented Jul 23, 2020

Summary

Fixes #4786.

Details and comments

The default mode of mcx has been changed from basic/v-chain (basic was the old name, v-chain is the new name) to noancilla. The mcry method was relying on the default mode being basic if sufficient ancilla qubits are provided, which has been fixed accordingly.

@Cryoris Cryoris requested a review from a team as a code owner July 23, 2020 11:59
@kdk kdk added this to the 0.16 milestone Sep 15, 2020
kdk
kdk previously approved these changes Sep 22, 2020
@kdk
Copy link
Member

kdk commented Sep 22, 2020

Is there a test case that should've caught this? If not, can you add one?

@kdk kdk added Changelog: Bugfix Include in the "Fixed" section of the changelog automerge labels Sep 29, 2020
@mergify mergify bot merged commit 883a09a into Qiskit:master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mcry mode='basic' does not use ancillas
2 participants