|View source on GitHub|
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.
class CircuitOperation: An operation that encapsulates a circuit.
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
INT_TYPE: The central part of internal API.