encyclopegia.org

Density matrix

In quantum mechanics, a density matrix (or density operator) is a matrix used in calculating the probabilities of the outcomes of measurements performed on physical systems. It is a generalization of the state vectors or wavefunctions: while those can only represent pure states, density matrices can also represent mixed ensembles of states. These arise in quantum mechanics in two different situations: # when the preparation of a system can randomly produce different pure states, and thus one must deal with the statistics of the ensemble of possible preparations; and # when one wants to describe a physical system that is entangled with another, without describing their combined state. This case is typical for a system interacting with some environment (e.g. decoherence). In this case, the density matrix of an entangled system differs from that of an ensemble of pure states that, combined, would give the same statistical results upon measurement. Density matrices are thus crucial tools in areas of quantum mechanics that deal with mixed states (not to be confused with superposed states), such as quantum statistical mechanics, open quantum systems and quantum information.

In quantum mechanics, a density matrix (or density operator) is a matrix used in calculating the probabilities of the outcomes of measurements performed on physical systems. It is a generalization of the state vectors or wavefunctions: while those can only represent pure states, density matrices can also represent mixed ensembles of states. These arise in quantum mechanics in two different situations: when the preparation of a system can randomly produce different pure states, and thus one must deal with the statistics of the ensemble of possible preparations; and when one wants to describe a physical system that is entangled with another, without describing their combined state. This case is typical for a system interacting with some environment (e.g. decoherence). In this case, the density matrix of an entangled system differs from that of an ensemble of pure states that, combined, would give the same statistical results upon measurement. Density matrices are thus crucial tools in areas of quantum mechanics that deal with mixed states (not to be confused with superposed states), such as quantum statistical mechanics, open quantum systems and quantum information. (\rho_{ij}) = \left( \begin{matrix} \rho_{00} & \rho_{01} \\ \rho_{10} & \rho_{11} \end{matrix} \right) = \left( \begin{matrix} p_{0} & \rho_{01} \\ \rho^*_{01} & p_{1} \end{matrix} \right) where the diagonal elements are real numbers that sum to one (also called populations of the two states |0\rangle , |1\rangle ). The off-diagonal elements are complex conjugates of each other (also called coherences); they are restricted in magnitude by the requirement that (\rho_{ij}) be a positive semi-definite operator, see below. A density operator is a positive semi-definite, self-adjoint operator of trace one acting on the Hilbert space of the system. This definition can be motivated by considering a situation where some pure states |\psi_j\rangle (which are not necessarily orthogonal) are prepared with probability p_j each. This is known as an ensemble of pure states. The probability of obtaining projective measurement result m when using projectors \Pi_m is given by p(m) = \sum_j p_j \left\langle \psi_j\right| \Pi_m \left|\psi_j\right\rangle, which can be proven equal to p(m) = \operatorname{tr} \left[ \Pi_m \left ( \sum_j p_j \left|\psi_j\right\rangle \left\langle \psi_j\right|\right) \right]. Consequently, the density operator, defined as \rho = \sum_j p_j \left|\psi_j \right\rangle \left\langle \psi_j\right|, is a convenient representation for the state of this ensemble. This operator is positive semi-definite, self-adjoint, and has trace one. Conversely, it follows from the spectral theorem that every operator with these properties can be written as \sum_j p_j \left|\psi_j\right\rangle \left\langle \psi_j\right| for some states \left|\psi_j\right\rangle and coefficients p_j that are non-negative and add up to one. However, this representation will not be unique, as shown by the Schrödinger–HJW theorem. Another motivation for the definition of density operators comes from considering local measurements on entangled states. Let |\Psi\rangle be a pure entangled state in the composite Hilbert space \mathcal{H}_1\otimes\mathcal{H}_2 . The probability of obtaining measurement result m when measuring projectors \Pi_m on the Hilbert space \mathcal{H}_1 alone is given by p(m) = \left\langle \Psi\right| \left(\Pi_m \otimes I\right) \left|\Psi\right\rangle , which after algebraic manipulation becomes p(m) = \operatorname{tr} \left[ \Pi_m \left ( \operatorname{tr}_2 \left|\Psi\right\rangle \left\langle \Psi\right| \right) \right], where \operatorname{tr}_2 denotes the partial trace over the Hilbert space \mathcal{H}_2 . This makes the operator \rho = \operatorname{tr}_2 \left|\Psi\right\rangle\left\langle \Psi\right| a convenient tool to calculate the probabilities of these local measurements. This operator has all the properties of a density operator and is known as the reduced density matrix of |\Psi\rangle on subsystem 1. Conversely, the Schrödinger–HJW theorem implies that all density operators can be written as \operatorname{tr}_2 \left|\Psi\right\rangle \left\langle \Psi\right| for some state \left|\Psi\right\rangle . it can be written as an outer product of a state vector |\psi\rangle with itself, that is, \rho = |\psi \rangle \langle \psi|. it is a projection, in particular of rank one. it is idempotent, that is \rho = \rho^2. it has purity one, that is, \operatorname{tr}(\rho^2) = 1. It is important to emphasize the difference between a probabilistic mixture (i.e. an ensemble) of quantum states and the superposition of two states. If an ensemble is prepared to have half of its systems in state | \psi_1 \rangle and the other half in | \psi_2 \rangle , it can be described by the density matrix: \rho = \frac12\begin{pmatrix} 1 & 0 \\ 0 & 1\end{pmatrix}, where | \psi_1 \rangle and | \psi_2 \rangle are assumed orthogonal and of dimension 2, for simplicity. On the other hand, a quantum superposition of these two states with equal probability amplitudes results in the pure state | \psi \rangle = (| \psi_1 \rangle + | \psi_2 \rangle)/\sqrt{2}, with density matrix |\psi\rangle\langle\psi| = \frac12\begin{pmatrix} 1 & 1 \\ 1 & 1\end{pmatrix}. Unlike the probabilistic mixture, this superposition can display quantum interference. representation of a qubit, each point on the unit sphere stands for a pure state. All other density matrices correspond to points in the interior. Geometrically, the set of density operators is a convex set, and the pure states are the extremal points of that set. The simplest case is that of a two-dimensional Hilbert space, known as a qubit. An arbitrary mixed state for a qubit can be written as a linear combination of the Pauli matrices, which together with the identity matrix provide a basis for 2 \times 2 self-adjoint matrices: \rho = \frac{1}{2}\left(I + r_x \sigma_x + r_y \sigma_y + r_z \sigma_z\right), where the real numbers (r_x, r_y, r_z) are the coordinates of a point within the unit ball and \sigma_x = \begin{pmatrix} 0&1\\ 1&0 \end{pmatrix}, \quad \sigma_y = \begin{pmatrix} 0&-i\\ i&0 \end{pmatrix}, \quad \sigma_z = \begin{pmatrix} 1&0\\ 0&-1 \end{pmatrix} . Points with r_x^2 + r_y^2 + r_z^2 = 1 represent pure states, while mixed states are represented by points in the interior. This is known as the Bloch sphere picture of qubit state space. can be described as having right or left circular polarization, described by the orthogonal quantum states |\mathrm{R}\rangle and |\mathrm{L}\rangle or a superposition of the two: it can be in any state \alpha|\mathrm{R}\rangle+\beta|\mathrm{L}\rangle (with |\alpha|^2+|\beta|^2=1 ), corresponding to linear, circular, or elliptical polarization. Consider now a vertically polarized photon, described by the state |\mathrm{V}\rangle = (|\mathrm{R}\rangle+|\mathrm{L}\rangle)/\sqrt{2} . If we pass it through a circular polarizer that allows either only |\mathrm{R}\rangle polarized light, or only |\mathrm{L}\rangle polarized light, half of the photons are absorbed in both cases. This may make it seem like half of the photons are in state |\mathrm{R}\rangle and the other half in state |\mathrm{L}\rangle , but this is not correct: if we pass (|\mathrm{R}\rangle+|\mathrm{L}\rangle)/\sqrt{2} through a linear polarizer there is no absorption whatsoever, but if we pass either state |\mathrm{R}\rangle or |\mathrm{L}\rangle half of the photons are absorbed. Unpolarized light (such as the light from an incandescent light bulb) cannot be described as any state of the form \alpha|\mathrm{R}\rangle+\beta|\mathrm{L}\rangle (linear, circular, or elliptical polarization). Unlike polarized light, it passes through a polarizer with 50% intensity loss whatever the orientation of the polarizer; and it cannot be made polarized by passing it through any wave plate. However, unpolarized light can be described as a statistical ensemble, e. g. as each photon having either |\mathrm{R}\rangle polarization or |\mathrm{L}\rangle polarization with probability 1/2. The same behavior would occur if each photon had either vertical polarization | \mathrm{V}\rangle or horizontal polarization | \mathrm{H} \rangle with probability 1/2. These two ensembles are completely indistinguishable experimentally, and therefore they are considered the same mixed state. For this example of unpolarized light, the density operator equals \rho = \frac{1}{2} |\mathrm{R}\rangle \langle \mathrm{R}| + \frac{1}{2}|\mathrm{L}\rangle \langle \mathrm{L}| = \frac{1}{2} |\mathrm{H}\rangle \langle \mathrm{H}| + \frac{1}{2}|\mathrm{V}\rangle \langle \mathrm{V}| = \frac12\begin{pmatrix} 1 & 0 \\ 0 & 1\end{pmatrix}. There are also other ways to generate unpolarized light: one possibility is to introduce uncertainty in the preparation of the photon, for example, passing it through a birefringent crystal with a rough surface, so that slightly different parts of the light beam acquire different polarizations. Another possibility is using entangled states: a radioactive decay can emit two photons traveling in opposite directions, in the quantum state (|\mathrm{R},\mathrm{L}\rangle+|\mathrm{L},\mathrm{R}\rangle)/\sqrt{2} . The joint state of the two photons together is pure, but the density matrix for each photon individually, found by taking the partial trace of the joint density matrix, is completely mixed. A given density operator does not uniquely determine which ensemble of pure states gives rise to it; in general there are infinitely many different ensembles generating the same density matrix. Those cannot be distinguished by any measurement. The equivalent ensembles can be completely characterized: let \{p_j,|\psi_j\rangle\} be an ensemble. Then for any complex matrix U such that U^\dagger U = I (a partial isometry), the ensemble \{q_i,|\varphi_i\rangle\} defined by \sqrt{q_i} \left| \varphi_i \right\rangle = \sum_j U_{ij} \sqrt{p_j} \left| \psi_j \right\rangle will give rise to the same density operator, and all equivalent ensembles are of this form. A closely related fact is that a given density operator has infinitely many different purifications, which are pure states that generate the density operator when a partial trace is taken. Let \rho = \sum_j p_j |\psi_j \rangle \langle \psi_j| be the density operator generated by the ensemble \{p_j,|\psi_j\rangle\} , with states |\psi_j\rangle not necessarily orthogonal. Then for all partial isometries U we have that |\Psi\rangle = \sum_j \sqrt{p_j} |\psi_j \rangle U |a_j\rangle is a purification of \rho , where |a_j\rangle is an orthogonal basis, and furthermore all purifications of \rho are of this form. \rho = \sum_j p_j |\psi_j \rangle \langle \psi_j|. The expectation value of the measurement can be calculated by extending from the case of pure states: \langle A \rangle = \sum_j p_j \langle \psi_j|A|\psi_j \rangle = \sum_j p_j \operatorname{tr}\left(|\psi_j \rangle \langle \psi_j|A \right) = \operatorname{tr}\left(\sum_j p_j |\psi_j \rangle \langle \psi_j|A\right) = \operatorname{tr}(\rho A), where \operatorname{tr} denotes trace. Thus, the familiar expression \langle A\rangle=\langle\psi|A|\psi\rangle for pure states is replaced by \langle A \rangle = \operatorname{tr}( \rho A) for mixed states. Moreover, if A has spectral resolution A = \sum _i a_i P_i, where P_i is the projection operator into the eigenspace corresponding to eigenvalue a_i , the post-measurement density operator is given by \rho_i' = \frac{P_i \rho P_i}{\operatorname{tr}\left[\rho P_i\right]} when outcome i is obtained. In the case where the measurement result is not known the ensemble is instead described by \; \rho ' = \sum_i P_i \rho P_i. If one assumes that the probabilities of measurement outcomes are linear functions of the projectors P_i , then they must be given by the trace of the projector with a density operator. Gleason's theorem shows that in Hilbert spaces of dimension 3 or larger the assumption of linearity can be replaced with an assumption of non-contextuality. This restriction on the dimension can be removed by assuming non-contextuality for POVMs as well, but this has been criticized as physically unmotivated. The von Neumann entropy S of a mixture can be expressed in terms of the eigenvalues of \rho or in terms of the trace and logarithm of the density operator \rho . Since \rho is a positive semi-definite operator, it has a spectral decomposition such that \rho = \textstyle\sum_i \lambda_i |\varphi_i\rangle \langle\varphi_i| , where |\varphi_i\rangle are orthonormal vectors, \lambda_i \ge 0 , and \textstyle \sum \lambda_i = 1 . Then the entropy of a quantum system with density matrix \rho is S = -\sum_i \lambda_i \ln\lambda_i = -\operatorname{tr}(\rho \ln\rho). This definition implies that the von Neumann entropy of any pure state is zero. If \rho_i are states that have support on orthogonal subspaces, then the von Neumann entropy of a convex combination of these states, \rho = \sum_i p_i \rho_i, is given by the von Neumann entropies of the states \rho_i and the Shannon entropy of the probability distribution p_i : S(\rho) = H(p_i) + \sum_i p_i S(\rho_i). When the states \rho_i do not have orthogonal supports, the sum on the right-hand side is strictly greater than the von Neumann entropy of the convex combination \rho . Given a density operator \rho and a projective measurement as in the previous section, the state \rho' defined by the convex combination \rho' = \sum_i P_i \rho P_i, which can be interpreted as the state produced by performing the measurement but not recording which outcome occurred, has a von Neumann entropy larger than that of \rho , except if \rho = \rho' . It is however possible for the \rho' produced by a generalized measurement, or POVM, to have a lower von Neumann entropy than \rho . i \hbar \frac{d}{dt} \rho = [H, \rho]~, where the brackets denote a commutator. This equation only holds when the density operator is taken to be in the Schrödinger picture, even though this equation seems at first look to emulate the Heisenberg equation of motion in the Heisenberg picture, with a crucial sign difference: i \hbar \frac{d}{dt} A_\text{H} = -[H_\text{H}, A_\text{H}]~, where A_\text{H}(t) is some Heisenberg picture operator; but in this picture the density matrix is not time-dependent, and the relative sign ensures that the time derivative of the expected value \langle A \rangle comes out the same as in the Schrödinger picture. If the Hamiltonian is time-independent, the von Neumann equation can be easily solved to yield \rho(t) = e^{-i H t/\hbar} \rho(0) e^{i H t/\hbar}. For a more general Hamiltonian, if G(t) is the wavefunction propagator over some interval, then the time evolution of the density matrix over that same interval is given by \rho(t) = G(t) \rho(0) G(t)^\dagger. If one enters the interaction picture, choosing to focus on some component H_1 of the Hamiltonian H = H_0 + H_1 , the equation for the evolution of the interaction-picture density operator \rho_{\,\mathrm{I}}(t) possesses identical structure to the von Neumann equation, except the Hamiltonian must also be transformed into the new picture: {\displaystyle i \hbar {\frac {d }{d t}}\rho _{\text{I}}(t)=[H_{1,{\text{I}}}(t),\rho _{\text{I}}(t)],} where {\displaystyle H_{1,{\text{I}}}(t)=e ^{i H_{0}t/\hbar }H_{1}e ^{-i H_{0}t/\hbar } } . W(x,p) \,\ \stackrel{\mathrm{def}}{=}\ \, \frac{1}{\pi\hbar} \int_{-\infty}^\infty \psi^*(x + y) \psi(x - y) e^{2ipy/\hbar} \,dy. The equation for the time evolution of the Wigner function, known as Moyal equation, is then the Wigner-transform of the above von Neumann equation, \frac{\partial W(x, p, t)}{\partial t} = -\{\{W(x, p, t), H(x, p)\}\}, where H(x,p) is the Hamiltonian, and \{\{\cdot,\cdot\}\} is the Moyal bracket, the transform of the quantum commutator. The evolution equation for the Wigner function is then analogous to that of its classical limit, the Liouville equation of classical physics. In the limit of a vanishing Planck constant \hbar , W(x,p,t) reduces to the classical Liouville probability density function in phase space. Statistical mechanics uses density matrices, most prominently to express the idea that a system is prepared at a nonzero temperature. Constructing a density matrix using a canonical ensemble gives a result of the form \rho = \exp(-\beta H)/Z(\beta) , where \beta is the inverse temperature (k_{\rm B} T)^{-1} and H is the system's Hamiltonian. The normalization condition that the trace of \rho be equal to 1 defines the partition function to be Z(\beta) = \mathrm{tr} \exp(-\beta H) . If the number of particles involved in the system is itself not certain, then a grand canonical ensemble can be applied, where the states summed over to make the density matrix are drawn from a Fock space. Quantum decoherence theory typically involves non-isolated quantum systems developing entanglement with other systems, including measurement apparatuses. Density matrices make it much easier to describe the process and calculate its consequences. Quantum decoherence explains why a system interacting with an environment transitions from being a pure state, exhibiting superpositions, to a mixed state, an incoherent combination of classical alternatives. This transition is fundamentally reversible, as the combined state of system and environment is still pure, but for all practical purposes irreversible, as the environment is a very large and complex quantum system, and it is not feasible to reverse their interaction. Decoherence is thus very important for explaining the classical limit of quantum mechanics, but cannot explain wave function collapse, as all classical alternatives are still present in the mixed state, and wave function collapse selects only one of them. Similarly, in quantum computation, quantum information theory, open quantum systems, and other fields where state preparation is noisy and decoherence can occur, density matrices are frequently used. Noise is often modelled via a depolarizing channel or an amplitude damping channel. Quantum tomography is a process by which, given a set of data representing the results of quantum measurements, a density matrix consistent with those measurement results is computed. When analyzing a system with many electrons, such as an atom or molecule, an imperfect but useful first approximation is to treat the electrons as uncorrelated or each having an independent single-particle wavefunction. This is the usual starting point when building the Slater determinant in the Hartree–Fock method. If there are N electrons filling the N single-particle wavefunctions |\psi_i\rangle and if only single-particle observables are considered, then their expectation values for the N -electron system can be computed using the density matrix \sum_{i=1}^N |\psi_i\rangle \langle \psi_i| (the one-particle density matrix of the N -electron system).

References

No reference rows published for this article.

Cite this article

MLA

"Density matrix." encyclopegia.org, 2026, https://encyclopegia.org/wiki/density-matrix. Accessed 24 November 2026.

Chicago

"Density matrix." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/density-matrix.

APA

encyclopegia.org. (2026). Density matrix. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/density-matrix

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

magnetic flux density

stub · references available

keyword density

stub · references available

diode matrix

stub · references available

identity matrix

stub · references available

adjugate matrix

stub · references available

very low-density lipoprotein

stub · references available

Planck density

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1370662052 · 0.5 · snapshot enwiki-001370662052

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.