cirq.merge_single_qubit_moments_to_phxz

Merges adjacent moments with only 1-qubit rotations to a single moment with PhasedXZ gates.

circuit Input circuit to transform. It will not be modified.
context cirq.TransformerContext storing common configurable options for transformers.
atol Absolute tolerance to angle error. Larger values allow more negligible gates to be dropped, smaller values increase accuracy.

Copy of the transformed input circuit.