cirq.Circuit.append

Circuit.append(moment_or_operation_tree: Union[cirq.ops.moment.Moment, cirq.ops.raw_types.Operation, Iterable[Any]], strategy: cirq.circuits.insert_strategy.InsertStrategy = cirq.InsertStrategy.EARLIEST)[source]

Appends operations onto the end of the circuit.

Moments within the operation tree are appended intact.

Parameters:
  • moment_or_operation_tree – The moment or operation tree to append.
  • strategy – How to pick/create the moment to put operations into.