Results 19 comments of Renyi Chen

Global phases in the Clifford gate won't affect the conjugate_by(), after(), before() results as global phase commute with other gates, $$ (GC) \cdot P \cdot (GC)^\dagger = C \cdot P...

Thanks for the comments! The test case failed in ISwapPowGate as this gate type doesn't have `_has_stabilizer_effect_`, fixed in the first commit of the PR. The 2nd commit of the...

Other than deprecating `pass_operations_over` in #7294, I still need to update the inplace_before() and inplace_after() of PauliString, then we may fully remove `_decompose_into_cliffords()` etc.

multi-layer CZGauge CZGaugeTransformerML

Todo: process phases, unit tests.

For CPhase, I designed a gate like class called `PhasedXYAndRz` to represent the status of pulling through. This is based on the idea of X, Y pull through CZPowGate /...

@eliottrosenberg Note `CPhaseGaugeTransformerMM` do gauge compiling for both CZ and CZPowGate, so users shouldn't call `CPhaseGaugeTransformerMM` and `CZGaugeTransformerMM` together, which will likely lead to extra layers.