|View source on GitHub|
Move measurements to the end of the circuit.
cirq.optimizers.SynchronizeTerminalMeasurements( after_other_operations: bool = True )
Move all measurements in a circuit to the final moment if it can accommodate them (without overlapping with other operations). If self._after_other_operations is true then a new moment will be added to the end of the circuit containing all the measurements that should be brought forward.
cirq.circuits.Circuit) -> None
Call self as a function.