We're celebrating World Quantum Day 2022! Join us

cirq.optimizers.DropEmptyMoments

THIS CLASS IS DEPRECATED.

IT WILL BE REMOVED IN cirq v1.0.

Use cirq.drop_empty_moments instead.

Removes empty moments from a circuit.

Methods

optimize_circuit

View source

__call__

View source

Call self as a function.