cirq.Circuit.append

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

Appends operations onto the end of the circuit.

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