Module: cirq.optimizers.merge_single_qubit_gates

An optimization pass that combines adjacent single-qubit rotations.

Classes

class MergeSingleQubitGates: Optimizes runs of adjacent unitary 1-qubit operations.

Functions

merge_single_qubit_gates_into_phased_x_z(...): Canonicalizes runs of single-qubit rotations in a circuit.

merge_single_qubit_gates_into_phxz(...): Canonicalizes runs of single-qubit rotations in a circuit.

TYPE_CHECKING False