mqt-core
mqt-core copied to clipboard
✨ Adjust optimization passes for parameterized circuits
At the moment, circuit 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).
Optimization passes should be applicable just like with non-parameterized circuits. This requires minor adjustments in the respective optimization passes. Some optimization passes (like single-qubit gate fusion) might even incorporate symbolic operations into the optimization.