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.

to_valid_density_matrix(...): THIS FUNCTION IS DEPRECATED.

von_neumann_entropy(...): THIS FUNCTION IS DEPRECATED.

TYPE_CHECKING False