-
Notifications
You must be signed in to change notification settings - Fork 48
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
Simplify circuit first before rebase #971
Comments
I've found similar issues with compiling to I agree with the observation that these scenarios could be considerably impacting gate count performance. I'm wondering how far we can get with a new pass that:
|
Not sure how far we can get, but the pass you suggested is definitely worth to have. |
This issue has been automatically marked as stale. |
@sjdilkes This seems worth prioritizing; could you make a new issue describing your suggested new pass in a little more detail? |
But original
c
should be easily reduced to identity with:The problem is that
SynthesiseTK
(i.e.synthesise_tk
) does the TK2 rebase first, which makes it harder for the subsequent optimisations to work. Same thing applies tosynthesise_tket
.I think this behaviour might have a considerable impact on performance since these rebase passes are often ran first. For example,
SynthesiseTK
inFullPeepholeOptimise
and thepytket-quantinuum level 1
pass.The text was updated successfully, but these errors were encountered: