-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in qs_decomposition (#10850)
* fix bug in qs_decomposition * reno --------- Co-authored-by: Luciano Bello <[email protected]> (cherry picked from commit dda063e)
- Loading branch information
1 parent
98ff236
commit 9496a81
Showing
3 changed files
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fix the Quantum Shannon Decomposition implemented in :func:`.qs_decomposition`. When a unitary | ||
could not take advantage of the diagonal commutation optimization, it used to error. | ||
Now, it leaves it as undecomposed 2-qubit unitary gate. | ||
Fixes `#10787 <https://github.com/Qiskit/qiskit/issues/10787>`__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters