cirq.sim.OperationTarget

An interface for quantum states as targets for operations.

log_of_measurement_results Gets the log of measurement results.
qubits Gets the qubit order maintained by this target.

Methods

apply_operation

View source

Applies the operation to the state.

copy

View source

Copies the object.

create_merged_state

View source

Creates a final merged state.

sample

View source

Samples the state value.

__getitem__

View source

Gets the item associated with the qubit.

__iter__

View source

Iterates the keys of the mapping.

__len__

View source

Gets the number of items in the mapping.