# cirq.Moment¶

class cirq.Moment(operations: Iterable[cirq.ops.raw_types.Operation] = ())[source]

A time-slice of operations within a circuit.

Grouping operations into moments is intended to be a strong suggestion to
whatever is scheduling operations on real hardware. Operations in the same
moment should execute at the same time (to the extent possible; not all
operations have the same duration) and it is expected that all operations
in a moment should be completed before beginning the next moment.
__init__(operations: Iterable[cirq.ops.raw_types.Operation] = ()) → None[source]

Constructs a moment with the given operations.

Parameters

operations – The operations applied within the moment. Will be frozen into a tuple before storing.

Raises

ValueError – A qubit appears more than once.