Add some more gates to CollectCliffords pass#13214
Merged
alexanderivrii merged 5 commits intoQiskit:mainfrom Oct 1, 2024
Merged
Add some more gates to CollectCliffords pass#13214alexanderivrii merged 5 commits intoQiskit:mainfrom
alexanderivrii merged 5 commits intoQiskit:mainfrom
Conversation
Co-authored-by: Samantha Barron <samantha.v.barron@ibm.com>
Collaborator
|
One or more of the following people are relevant to this code:
|
Pull Request Test Coverage Report for Build 11016443174Details
💛 - Coveralls |
Contributor
|
Awesome, thanks for doing this! :) |
ElePT
pushed a commit
to ElePT/qiskit
that referenced
this pull request
Oct 9, 2024
* add matrix_based option to CollectClifford pass Co-authored-by: Samantha Barron <samantha.v.barron@ibm.com> * add a test to collect matrix_based gates * add release notes * minor update following review
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Close #13138
Add an argument
matrix_basedto theCollectCliffordstranspiler pass.If the new parameter
matrix_based=True, theCollectCliffordstranspiler pass can collectRz(pi/2)gates and other unitary gates that are Clifford gates for certain parameters.Details and comments
The PR is based on the suggestion of @samanthavbarron in #13138 and discussions with @alexanderivrii