-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some more gates to CollectCliffords pass #13214
Merged
Merged
Conversation
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
Co-authored-by: Samantha Barron <[email protected]>
ShellyGarion
added
Changelog: New Feature
Include in the "Added" section of the changelog
mod: transpiler
Issues and PRs related to Transpiler
labels
Sep 24, 2024
One or more of the following people are relevant to this code:
|
Pull Request Test Coverage Report for Build 11016443174Details
💛 - Coveralls |
ShellyGarion
changed the title
Add some more gates to CollectClifford pass
Add some more gates to CollectCliffords pass
Sep 24, 2024
releasenotes/notes/add-gates-to-collect-clifford-af88dd8f7a2a4bf9.yaml
Outdated
Show resolved
Hide resolved
Awesome, thanks for doing this! :) |
alexanderivrii
approved these changes
Oct 1, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
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 <[email protected]> * add a test to collect matrix_based gates * add release notes * minor update following review
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Changelog: New Feature
Include in the "Added" section of the changelog
mod: transpiler
Issues and PRs related to Transpiler
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_based
to theCollectCliffords
transpiler pass.If the new parameter
matrix_based=True
, theCollectCliffords
transpiler 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