Module: cirq.sim.state_vector

Helpers for handling quantum state vectors.

Classes

class StateVectorMixin: A mixin that provide methods for objects that have a state vector.

Functions

measure_state_vector(...): Performs a measurement of the state in the computational basis.

sample_state_vector(...): Samples repeatedly from measurements in the computational basis.

Type Aliases

STATE_VECTOR_LIKE: An object representing a state vector.

TYPE_CHECKING False