-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fixes issue #12977 #13679
base: main
Are you sure you want to change the base?
Fixes issue #12977 #13679
Conversation
Thanks for opening the draft 🙂 The tests are failing because they were expecting the Could you include a releasenote which mentions this gate change for certain MCX gates under the |
Hey @Cryoris ... can you help me navigate through these tests that are breaking? For ex:
I just wanted to confirm before I went ahead with these, as this is my second time contributing. |
Hi @Ak-ash22, you are correct: you need to modify the failing tests to refer to CPhase instead of CU1. For For In case you do not know this already, you can click on "Details" right next to the "Tests/macOS-..." line above, taking you to the "Run tests" log, which shows both how many and which tests have failed, and also the specific error messages (right at the bottom of the log). For
which indeed indicates that the gate name's is |
Hello @alexanderivrii @Cryoris .. Can you help me solve this particular issue?... I have modified the failed tests to use The |
These QASM output files can change substantially because it now dumps the decomposition via the MC-Phase path. So we don't only have to change the definition of |
Pull Request Test Coverage Report for Build 13102387676Details
💛 - Coveralls |
Hello @alexanderivrii @Cryoris .. It took me a while but I managed to correct the The issue seems to be that some lines of expected_qasm strings are too long. Can you help me fix this one last issue? |
Summary
Updates the synthesis methods to use the PhaseGate instead of the IBM-legacy U1Gate.
Details and comments
Substituted the
CU1/MCU1Gate
for theCPhase/MCPhaseGate
in theqiskit/synthesis/multi_controlled/mcx_synthesis.py
file.