Density matrix (source code)

= Density matrix
{wiki=Density_matrix}

A density matrix, also known as a density operator, is a mathematical representation used in quantum mechanics to describe the statistical state of a quantum system. It provides a way to capture both pure and mixed states of a quantum system, allowing for a more general formulation than the state vector (wavefunction) approach.