-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Global phase in TwoQubitBasisDecomposer #5764
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very good. Can you update TwoQubitWeylDecomposition.__repr__()
to show the global phase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to merge as far as I am concerned. Thanks for this - I can see that it was more work than I would guessed because when I translated from mathematica I see I took some shortcuts about signs and factors of i
* global phase in TwoQubitBasisDecomposer * bug fix and more tests * update __repr__ and remove test * lint Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 20bb390)
* global phase in TwoQubitBasisDecomposer * bug fix and more tests * update __repr__ and remove test * lint Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 20bb390) Co-authored-by: georgios-ts <45130028+georgios-ts@users.noreply.github.com> Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Summary
Correct the global phase of circuits synthesized by the
TwoQubitBasisDecomposer
.Alternative for #5643 .