This PR adds a new ExtractCircuitsPass. This pass will walk the main function and extract quantum operations into quir.circuits. It is intended to be run after all reordering and merging has been completed. The pass currently requires --enable-circuits=true in order to have effect.
Circuit formation during QUIRGen has been deprecated. This form of circuit generation is now controlled by the --enable-circuits-from-qasm command line option.
This PR adds a new ExtractCircuitsPass. This pass will walk the main function and extract quantum operations into
quir.circuit
s. It is intended to be run after all reordering and merging has been completed. The pass currently requires --enable-circuits=true in order to have effect.Circuit formation during QUIRGen has been deprecated. This form of circuit generation is now controlled by the --enable-circuits-from-qasm command line option.