cirq.Circuit.all_operations

Circuit.all_operations() → Iterator[cirq.ops.raw_types.Operation][source]

Iterates over the operations applied by this circuit.

Operations from earlier moments will be iterated over first. Operations
within a moment are iterated in the order they were given to the
moment’s constructor.