cirq.DropEmptyMoments

class cirq.DropEmptyMoments[source]

Removes empty moments from a circuit.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

optimize_circuit(circuit) Rewrites the given circuit to make it better.