![]() |
THIS CLASS IS DEPRECATED.
cirq.EjectZ(
tolerance: float = 0.0, eject_parameterized: bool = False
) -> None
Used in the notebooks
Used in the tutorials |
---|
IT WILL BE REMOVED IN cirq v1.0
.
Use cirq.eject_z instead.
Pushes Z gates towards the end of the circuit.
As the Z gates get pushed they may absorb other Z gates, get absorbed into
measurements, cross CZ gates, cross W gates (by phasing them), etc.
Methods
optimize_circuit
optimize_circuit(
circuit: cirq.Circuit
)