-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fix InverseCancellation for symmetric pairs
#16153
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| fixes: | ||
| - | | ||
| Fixed a bug in :class:`.InverseCancellation` where pairs of symmetric gates | ||
| (such as :class:`.CSGate` and :class:`.CSdgGate`) were not correctly cancelled | ||
| if their qubit arguments were the same but in different order. Symmetric | ||
| gates should get cancelled irrespective of the qubit order. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you write the bugfix note like this, we need to handle the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From reading the release note, it seems like we are asserting that
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lol, this is the second time I start writing a comment and see that Jake already beat me to it. |
||
| Fixed `#15855 <https://github.com/Qiskit/qiskit/issues/15855>`__. | ||
Uh oh!
There was an error while loading. Please reload this page.