We're celebrating World Quantum Day 2022! Join us

Module: cirq.sim.state_vector

Helpers for handling quantum state vectors.


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


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

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