-
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.
Add some more gates to CollectCliffords pass (#13214)
* add matrix_based option to CollectClifford pass Co-authored-by: Samantha Barron <[email protected]> * add a test to collect matrix_based gates * add release notes * minor update following review
- Loading branch information
1 parent
be96aec
commit 5ef6344
Showing
3 changed files
with
115 additions
and
11 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
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/add-gates-to-collect-clifford-af88dd8f7a2a4bf9.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,8 @@ | ||
--- | ||
features_transpiler: | ||
- | | ||
Add an argument ``matrix_based`` to the :class:`.CollectCliffords()` transpiler pass. | ||
If the new parameter ``matrix_based=True``, the :class:`.CollectCliffords()` transpiler pass | ||
can collect :class:`.RZGate(np.pi/2)` gates and other unitary gates that are :class:`.Clifford()` | ||
gates for certain parameters. | ||
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