Copied from munich-quantum-toolkit/core #910
What's the problem this feature will solve?
Currently phase gates and (multi-)controlled phase gates get converted to Z, S, and T gates based on the phase they introduce.
While these are common names, it makes handling general phase gates unnecessarily difficult, as one needs to make a case distinction every time.
Describe the solution you'd like
It would be nice to have an optional flag for the import, or an optional pass that converts all phase-related gates into phase/cphase/mcphase gates.
Copied from munich-quantum-toolkit/core #910
What's the problem this feature will solve?
Currently phase gates and (multi-)controlled phase gates get converted to Z, S, and T gates based on the phase they introduce.
While these are common names, it makes handling general phase gates unnecessarily difficult, as one needs to make a case distinction every time.
Describe the solution you'd like
It would be nice to have an optional flag for the import, or an optional pass that converts all phase-related gates into phase/cphase/mcphase gates.