-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
substitute_node only in single-qubit gates with singleton decompositi…
…ons (#5225) * Alternative implementation to #5002 Co-authored-by: faisaldebouni <faisal@megoapps.com> * release note Co-authored-by: faisaldebouni <faisal@megoapps.com> Co-authored-by: faisaldebouni <faisal@megoapps.com> Co-authored-by: Kevin Krsulich <kevin.krsulich@ibm.com>
- Loading branch information
1 parent
21b40bf
commit 0ca27c1
Showing
5 changed files
with
76 additions
and
2 deletions.
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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/preserve-qreg-order-when-unrolling-and-decomposing-3d1789cd2eb4a8f9.yaml
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,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
A bug that was causing registers to be mismapped when unrolling/decomposing | ||
a gate defined with only one 2-qubit operation. Now the decomposition will reflect | ||
how a gate is defined. |
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