mqt-qcec
mqt-qcec copied to clipboard
✨ Adjust optimization passes for parameterized circuits
What's the problem this feature will solve?
At the moment, some preprocessing optimization passes fail when dealing with QuantumComputation
s involving SymbolicOperation
s. Many (if not all) of the optimization passes do not require the circuit to consist entirely of non-symbolic operations (like SWAP reconstruction).
Describe the solution you'd like
When checking parameterized circuits for equivalence, optimization passes should be transparently applied just like with non-parameterized circuits. This requires minor adjustments in the respective optimization passes.
Just for reference: https://github.com/cda-tum/qfr/issues/205 tracks the corresponding feature in the QFR where the optimization passes reside.