Module: cirq.circuits.circuit_operation

A structure for encapsulating entire circuits in an operation.

A CircuitOperation is an Operation object that wraps a FrozenCircuit. When applied as part of a larger circuit, a CircuitOperation will execute all component operations in order, including any nested CircuitOperations.

Classes

class CircuitOperation: An operation that encapsulates a circuit.

Functions

cartesian_product_of_string_lists(...)

default_repetition_ids(...)

get_unindexed_key(...): Given a measurement_key, returns the unindexed key part (without the series of prefixed

remap_maybe_indexed_key(...): Given a key map and a measurement_key (indexed or unindexed), returns the remapped key in

split_maybe_indexed_key(...): Given a measurement_key, splits into index (series of repetition_ids) and unindexed key

Type Aliases

INT_TYPE: The central part of internal API.

MEASUREMENT_KEY_SEPARATOR ':'
TYPE_CHECKING False