-
Notifications
You must be signed in to change notification settings - Fork 47
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
Rebase refactor with simpler RebaseCustom, exposed CircPool and auto_rebase_pass #214
Conversation
ss2165
commented
Feb 10, 2022
•
edited
Loading
edited
- RebaseCustom didn't need to have separate single qubit and multi qubit gatesets -> merged
- expose CircPool so they can be reused in custom rebases
- naive auto rebase function that checks for known decompositions for given gateset. This can be expanded in future with more decomposition functions as we defined them, a CZ lambda is included as an example.
f8fd82a
to
8ca11df
Compare
8ca11df
to
ddabf5e
Compare
ddabf5e
to
fcdf7ed
Compare
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.
Thanks @ss2165, you can't imagine how happy this is making me! I have really missed this feature. My comments are mostly on the API choices, feel free to overrule them.
fcdf7ed
to
0f0991f
Compare
conceptually matches the other parametrised gate circuit definitions
0f0991f
to
ed6ce04
Compare
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
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214
* use auto_squash and auto_rebase * provide full gateset as one argument to RebaseCustom * remove use of Rebase<Target> passes requires changes from CQCL/tket#234 and CQCL/tket#214