Module: cirq.sim.mux

Sampling/simulation methods that delegate to appropriate simulators.

Filename is a reference to multiplexing.

Functions

final_density_matrix(...): Returns the density matrix resulting from simulating the circuit.

final_state_vector(...): Returns the state vector resulting from acting operations on a state.

sample(...): Simulates sampling from the given circuit.

sample_sweep(...): Runs the supplied Circuit, mimicking quantum hardware.

Type Aliases

CIRCUIT_LIKE: A circuits.Circuit or a value that can be trivially converted into it:

TYPE_CHECKING False