CQCL / pytket-pyquil

pytket-pyquil, extensions for pytket quantum SDK
Apache License 2.0
0 stars 3 forks source link

Make `SimplifyInitial` opt in #48

Closed CalMacCQ closed 9 months ago

CalMacCQ commented 9 months ago

Made the SimplifyInitial pass opt in. This is in line with the changes made to the other extensions.

See for example -> https://github.com/CQCL/pytket-qiskit/pull/183/files

Instead of being applied at level 2 of default optimisation, SimplifyInitial can be used via an optional kwarg to process_circuits.

CalMacCQ commented 9 months ago

I can also add the additonal post routing optimisations (for optimisation level = 2) into this PR if appropriate.