-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
UnitarySynthesis
pass bug when target contains global gates (#1…
…3651) * Confirm 2q basis gate candidates are in fact 2-qubit gates. Add test using target with global gates. * Add reno * Apply Matt's suggestion Co-authored-by: Matthew Treinish <[email protected]> * Add semicolon * Apply Shelly's suggestion --------- Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 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
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/fix-unitary-synthesis-global-gates-19b93840b28cfcf7.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,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a bug in the :class:`.UnitarySynthesis` transpiler pass where | ||
non-2-qubit gates would be included in the available 2 qubit basis, | ||
causing the ``TwoQubitWeylDecomposition`` to panic because of | ||
the dimension mismatch. |
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