Description Usage Arguments Details Value See Also
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.
1 |
... |
parameters to pass. |
Moment can be indexed by qubit or list of qubits: moment[qubit] returns the Operation in the moment which touches the given qubit, or throws KeyError if there is no such operation. moment[qubits] returns another Moment which consists only of those operations which touch at least one of the given qubits. If there are no such operations, returns an empty Moment.
constructed moment with the given operations.
Other Circuits:
circuit_dag()
,
circuit()
,
gate_operation_()
,
gate_parallel_operation()
,
insert_strategy()
,
qubit_order_or_list()
,
qubit_order()
,
tree_flatten_op()
,
tree_op()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.