Align gates to the right of the circuit.
cirq.transformers.align_right(
circuit: 'cirq.AbstractCircuit',
*,
context: Optional['cirq.TransformerContext'] = None
) -> 'cirq.Circuit'
Used in the notebooks
Note that tagged operations with tag in context.tags_to_ignore
will continue to stay in their
original position and will not be aligned.
Args |
circuit
|
Input circuit to transform.
|
context
|
cirq.TransformerContext storing common configurable options for transformers.
|
Returns |
Copy of the transformed input circuit.
|