-
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.
Ignoring unsupported gates for Solovay-Kitaev transpiler pass (#13690)
* ignoring unsupported gates for SK * minor * making SK pass recurse over control-flow operations * Update releasenotes/notes/sk-ignore-unsupported-ops-8d7d5f6fca255ffb.yaml Co-authored-by: Julien Gacon <gaconju@gmail.com> --------- Co-authored-by: Julien Gacon <gaconju@gmail.com>
- Loading branch information
1 parent
2d389e0
commit 97ed168
Showing
3 changed files
with
70 additions
and
27 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
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/sk-ignore-unsupported-ops-8d7d5f6fca255ffb.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 @@ | ||
--- | ||
upgrade_transpiler: | ||
- | | ||
The :class:`.SolovayKitaev` transpiler pass no longer raises an exception on circuits | ||
that contain single-qubit operations without a ``to_matrix`` method (such as measures, | ||
barriers, control-flow operations) or parameterized single-qubit operations, | ||
but will leave them unchanged. |
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