CZTargetGateset: PhysicalZ op gets decomposed when additional_gates
contains a PhysicalZ GateFamily
#5783
Labels
additional_gates
contains a PhysicalZ GateFamily
#5783
Description of the issue
Expected
cirq.Z
to not decompose intocirq.PhasedXZGate
in the code snippet below (probably the same issue in other target gatesets as well):How to reproduce the issue
Are we checking only the gate and not the operation when decomposing?
@tanujkhattar
The text was updated successfully, but these errors were encountered: