Moment(operations: Iterable[cirq.ops.raw_types.Operation] = ())¶
A time-slice of operations within a circuit.Grouping operations into moments is intended to be a strong suggestion towhatever is scheduling operations on real hardware. Operations in the samemoment should execute at the same time (to the extent possible; not alloperations have the same duration) and it is expected that all operationsin a moment should be completed before beginning the next moment.
__init__(operations: Iterable[cirq.ops.raw_types.Operation] = ()) → None¶
Constructs a moment with the given operations.
operations – The operations applied within the moment. Will be frozen into a tuple before storing.
ValueError – A qubit appears more than once.