Module: cirq.sim.density_matrix_utils

Code to handle density matrices.

Functions

measure_density_matrix(...): Performs a measurement of the density matrix in the computational basis.

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

TYPE_CHECKING False