cirq.align_left

Align gates to the left of the circuit.

Used in the notebooks

Used in the tutorials

Note that tagged operations with tag in context.tags_to_ignore will continue to stay in their original position and will not be aligned.

circuit Input circuit to transform.
context cirq.TransformerContext storing common configurable options for transformers.

Copy of the transformed input circuit.