-
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
fix global phase in initializer #6236
Conversation
Co-authored-by: Julien Gacon <gaconju@gmail.com>
|
Ok. For the record: Before this PR the decomposition went U1 -> U. LGTM |
@ewinston Could you add a short bugfix releasenote on this? It would be nice to highlight that this now works with the correct global phase 🙂 |
Also: why is the global phase the sum of the remaining parameters? 🤔 |
@Cryoris The "remaining parameters" seemed to capture the phase factors which occur during each iteration of the decomposition. |
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.
LGTM! 🙂
Summary
Fixes global phase in initializer.
fixes #5230
Details and comments