[WIP] Extend litinski transformation for all Pauli rotations#15974
Draft
ShellyGarion wants to merge 5 commits intoQiskit:mainfrom
Draft
[WIP] Extend litinski transformation for all Pauli rotations#15974ShellyGarion wants to merge 5 commits intoQiskit:mainfrom
ShellyGarion wants to merge 5 commits intoQiskit:mainfrom
Conversation
Member
alexanderivrii
left a comment
There was a problem hiding this comment.
Thanks Shelly for starting this work. Though what we want is a bit more general that what you have right now: we would like to evolve an arbitrary (multi-qubit) Pauli under a Clifford, that is given LitinskiTransformation to handle circuits with PPR and PPM gates.
| // List of instruction names which are modified by the pass: the pass is skipped if the circuit | ||
| // contains no instructions with names in this list. | ||
| static HANDLED_INSTRUCTION_NAMES: [&str; 6] = ["t", "tdg", "rz", "p", "u1", "measure"]; | ||
| static HANDLED_INSTRUCTION_NAMES: [&str; 8] = ["t", "tdg", "rz", "rx", "ry", "p", "u1", "measure"]; |
Member
There was a problem hiding this comment.
Supporting RX and RY gates is a good start. We should also support PPR and PPM gates.
Member
Author
There was a problem hiding this comment.
thanks, of course, this is still WIP :)
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
Extend litinski transformation for the Pauli rotations RX and RY (for now).
Close #15862
Details and comments