In
quantum mechanics
Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, q ...
, a density matrix (or density operator) is a matrix that describes the
quantum state
In quantum physics, a quantum state is a mathematical entity that provides a probability distribution for the outcomes of each possible measurement on a system. Knowledge of the quantum state together with the rules for the system's evolution in ...
of a physical system. It allows for the calculation of the probabilities of the outcomes of any
measurement performed upon this system, using the
Born rule. It is a generalization of the more usual state vectors or wavefunctions: while those can only represent
pure states, density matrices can also represent ''mixed states''. Mixed states arise in quantum mechanics in two different situations: first when the preparation of the system is not fully known, and thus one must deal with a
statistical ensemble
In physics, specifically statistical mechanics, an ensemble (also statistical ensemble) is an idealization consisting of a large number of virtual copies (sometimes infinitely many) of a system, considered all at once, each of which represents ...
of possible preparations, and second when one wants to describe a physical system which is
entangled with another, without describing their combined state.
Density matrices are thus crucial tools in areas of quantum mechanics that deal with mixed states, such as
quantum statistical mechanics,
open quantum systems,
quantum decoherence, and
quantum information
Quantum information is the information of the state of a quantum system. It is the basic entity of study in quantum information theory, and can be manipulated using quantum information processing techniques. Quantum information refers to both t ...
.
Definition and motivation
The density matrix is a representation of a
linear operator called the density operator. The density matrix is obtained from the density operator by choice of
basis in the underlying space. In practice, the terms ''density matrix'' and ''density operator'' are often used interchangeably.
In operator language, a density operator for a system is a
positive semi-definite,
Hermitian operator of
trace one acting on the
Hilbert space
In mathematics, Hilbert spaces (named after David Hilbert) allow generalizing the methods of linear algebra and calculus from (finite-dimensional) Euclidean vector spaces to spaces that may be infinite-dimensional. Hilbert spaces arise natu ...
of the system.
This definition can be motivated by considering a situation where a pure state
is prepared with probability
, known as an ''ensemble''. The probability of obtaining
projective measurement
In mathematics, particularly in functional analysis, a projection-valued measure (PVM) is a function defined on certain subsets of a fixed set and whose values are self-adjoint projections on a fixed Hilbert space. Projection-valued measures a ...
result
when using
projector
A projector or image projector is an optical device that projects an image (or moving images) onto a surface, commonly a projection screen. Most projectors create an image by shining a light through a small transparent lens, but some newer type ...
s
is given by
:
which makes the density operator, defined as
:
a convenient representation for the state of this ensemble. It is easy to check that this operator is positive semi-definite, Hermitian, and has trace one. Conversely, it follows from the
spectral theorem
In mathematics, particularly linear algebra and functional analysis, a spectral theorem is a result about when a linear operator or matrix can be diagonalized (that is, represented as a diagonal matrix in some basis). This is extremely useful b ...
that every operator with these properties can be written as
for some states
and coefficients
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
be a pure entangled state in the composite Hilbert space
. The probability of obtaining measurement result
when measuring projectors
on the Hilbert space
alone is given by
:
where
denotes the
partial trace
In linear algebra and functional analysis, the partial trace is a generalization of the trace. Whereas the trace is a scalar valued function on operators, the partial trace is an operator-valued function. The partial trace has applications in ...
over the Hilbert space
. This makes the operator
:
a convenient tool to calculate the probabilities of these local measurements. It is known as the
reduced density matrix of
on subsystem 1. It is easy to check that this operator has all the properties of a density operator. Conversely, the
Schrödinger–HJW theorem implies that all density operators can be written as
for some state
.
Pure and mixed states
A pure quantum state is a state that can not be written as a probabilistic mixture, or
convex combination
In convex geometry and vector algebra, a convex combination is a linear combination of points (which can be vectors, scalars, or more generally points in an affine space) where all coefficients are non-negative and sum to 1. In other ...
, of other quantum states.
There are several equivalent characterizations of pure states in the language of density operators.
A density operator represents a pure state if and only if:
* it can be written as an
outer product
In linear algebra, the outer product of two coordinate vectors is a matrix. If the two vectors have dimensions ''n'' and ''m'', then their outer product is an ''n'' × ''m'' matrix. More generally, given two tensors (multidimensional arrays of n ...
of a state vector
with itself, that is,
* it is a
projection, in particular of
rank one.
* it is
idempotent
Idempotence (, ) is the property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application. The concept of idempotence arises in a number of pl ...
, that is
* it has
purity one, that is,
It is important to emphasize the difference between a probabilistic mixture of quantum states and their
superposition. If a physical system is prepared to be either in state
or
, with equal probability, it can be described by the mixed state
:
where
and
are assumed orthogonal and of dimension 2, for simplicity. On the other hand, a quantum superposition of these two states with equal
probability amplitude
In quantum mechanics, a probability amplitude is a complex number used for describing the behaviour of systems. The modulus squared of this quantity represents a probability density.
Probability amplitudes provide a relationship between the qu ...
s results in the pure state
with density matrix
:
Unlike the probabilistic mixture, this superposition can display
quantum interference.

Geometrically, the set of density operators is a
convex set
In geometry, a subset of a Euclidean space, or more generally an affine space over the reals, is convex if, given any two points in the subset, the subset contains the whole line segment that joins them. Equivalently, a convex set or a convex ...
, 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 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
self-adjoint matrices:
:
where the real numbers
are the coordinates of a point within the
unit ball
Unit may refer to:
Arts and entertainment
* UNIT, a fictional military organization in the science fiction television series ''Doctor Who''
* Unit of action, a discrete piece of action (or beat) in a theatrical presentation
Music
* ''Unit'' (al ...
and
:
Points with
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.
Example: light polarization

An example of pure and mixed states is
light polarization. An individual
photon
A photon () is an elementary particle that is a quantum of the electromagnetic field, including electromagnetic radiation such as light and radio waves, and the force carrier for the electromagnetic force. Photons are Massless particle, massless ...
can be described as having right or left
circular polarization, described by the orthogonal quantum states
and
or a
superposition of the two: it can be in any state
(with
), corresponding to
linear
Linearity is the property of a mathematical relationship ('' function'') that can be graphically represented as a straight line. Linearity is closely related to '' proportionality''. Examples in physics include rectilinear motion, the linear ...
,
circular, or
elliptical polarization. Consider now a vertically polarized photon, described by the state
. If we pass it through a
circular polarizer
A polarizer or polariser is an optical filter that lets light waves of a specific polarization pass through while blocking light waves of other polarizations. It can filter a beam of light of undefined or mixed polarization into a beam of well ...
which allows either only
polarized light, or only
polarized light, half of the photons are absorbed in both cases. This may make it ''seem'' like half of the photons are in state
and the other half in state
, but this is not correct: if we pass
through a
linear polarizer there's no absorption whatsoever, but if we pass either state
or
half of the photons are absorbed.
Unpolarized light (such as the light from an
incandescent light bulb
An incandescent light bulb, incandescent lamp or incandescent light globe is an electric light with a wire filament heated until it glows. The filament is enclosed in a glass bulb with a vacuum or inert gas to protect the filament from oxida ...
) cannot be described as ''any'' state of the form
(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
polarization or
polarization with probability 1/2. The same behavior would occur if each photon had either vertical polarization
or horizontal polarization
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
:
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
Birefringence is the optical property of a material having a refractive index that depends on the polarization and propagation direction of light. These optically anisotropic materials are said to be birefringent (or birefractive). The birefring ...
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
. 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.
Equivalent ensembles and purifications
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
be an ensemble. Then for any complex matrix
such that
(a
partial isometry In functional analysis a partial isometry is a linear map between Hilbert spaces such that it is an isometry on the orthogonal complement of its kernel.
The orthogonal complement of its kernel is called the initial subspace and its range is cal ...
), the ensemble
defined by
:
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
:
be the density operator generated by the ensemble
, with states
not necessarily orthogonal. Then for all partial isometries
we have that
:
is a purification of
, where
is an orthogonal basis, and furthermore all purifications of
are of this form.
Measurement
Let
be an
observable
In physics, an observable is a physical quantity that can be measured. Examples include position and momentum. In systems governed by classical mechanics, it is a real-valued "function" on the set of all possible system states. In quantum phys ...
of the system, and suppose the ensemble is in a mixed state such that each of the pure states
occurs with probability
. Then the corresponding density operator equals
:
The
expectation value of the
measurement can be calculated by extending from the case of pure states:
:
where
denotes
trace. Thus, the familiar expression
for pure states is replaced by
:
for mixed states.
Moreover, if
has spectral resolution
:
where
is the
projection operator into the
eigenspace corresponding to eigenvalue
, the post-measurement density operator is given by
:
when outcome ''i'' is obtained. In the case where the measurement result is not known the ensemble is instead described by
:
If one assumes that the probabilities of measurement outcomes are linear functions of the projectors
, then they must be given by the trace of the projector with a density operator.
Gleason's theorem
In mathematical physics, Gleason's theorem shows that the rule one uses to calculate probabilities in quantum physics, the Born rule, can be derived from the usual mathematical representation of measurements in quantum physics together with the ...
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.
Entropy
The
von Neumann entropy of a mixture can be expressed in terms of the eigenvalues of
or in terms of the
trace and
logarithm
In mathematics, the logarithm is the inverse function to exponentiation. That means the logarithm of a number to the base is the exponent to which must be raised, to produce . For example, since , the ''logarithm base'' 10 of ...
of the density operator
. Since
is a positive semi-definite operator, it has a
spectral decomposition such that
, where
are orthonormal vectors,
, and
. Then the entropy of a quantum system with density matrix
is
:
This definition implies that the von Neumann entropy of any pure state is zero.
If
are states that have support on orthogonal subspaces, then the von Neumann entropy of a convex combination of these states,
:
is given by the von Neumann entropies of the states
and the
Shannon entropy
Shannon may refer to:
People
* Shannon (given name)
* Shannon (surname)
* Shannon (American singer), stage name of singer Shannon Brenda Greene (born 1958)
* Shannon (South Korean singer), British-South Korean singer and actress Shannon Arrum Will ...
of the probability distribution
:
:
When the states
do not have orthogonal supports, the sum on the right-hand side is strictly greater than the von Neumann entropy of the convex combination
.
Given a density operator
and a projective measurement as in the previous section, the state
defined by the convex combination
:
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
, except if
. It is however possible for the
produced by a ''generalized'' measurement, or
POVM, to have a lower von Neumann entropy than
.
[.]
The von Neumann equation for time evolution
Just as the
Schrödinger equation
The Schrödinger equation is a linear partial differential equation that governs the wave function of a quantum-mechanical system. It is a key result in quantum mechanics, and its discovery was a significant landmark in the development of th ...
describes how pure states evolve in time, the von Neumann equation (also known as the Liouville–von Neumann equation) describes how a density operator evolves in time. The von Neumann equation dictates that
:
where the brackets denote a
commutator
In mathematics, the commutator gives an indication of the extent to which a certain binary operation fails to be commutative. There are different definitions used in group theory and ring theory.
Group theory
The commutator of two elements, ...
.
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
In physics, the Heisenberg picture (also called the Heisenberg representation) is a formulation (largely due to Werner Heisenberg in 1925) of quantum mechanics in which the operators ( observables and others) incorporate a dependency on time, ...
, with a crucial sign difference:
:
where
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
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
:
For a more general Hamiltonian, if is the wavefunction propagator over some interval, then the time evolution of the density matrix over that same interval is given by
:
]
Wigner functions and classical analogies
The density matrix operator may also be realized in phase space
In dynamical system theory, a phase space is a space in which all possible states of a system are represented, with each possible state corresponding to one unique point in the phase space. For mechanical systems, the phase space usual ...
. Under the Wigner map, the density matrix transforms into the equivalent Wigner function,
:
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,
:
where is the Hamiltonian, and is the Moyal bracket
In physics, the Moyal bracket is the suitably normalized antisymmetrization of the phase-space star product.
The Moyal bracket was developed in about 1940 by José Enrique Moyal, but Moyal only succeeded in publishing his work in 1949 after a l ...
, the transform of the quantum commutator
In mathematics, the commutator gives an indication of the extent to which a certain binary operation fails to be commutative. There are different definitions used in group theory and ring theory.
Group theory
The commutator of two elements, ...
.
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 vanishing Planck's constant , reduces to the classical Liouville probability density function in phase space
In dynamical system theory, a phase space is a space in which all possible states of a system are represented, with each possible state corresponding to one unique point in the phase space. For mechanical systems, the phase space usual ...
.
Example applications
Density matrices are a basic tool of quantum mechanics, and appear at least occasionally in almost any type of quantum-mechanical calculation. Some specific examples where density matrices are especially helpful and common are as follows:
* 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 , where is the inverse temperature and is the system's Hamiltonian. The normalization condition that the trace of be equal to 1 defines the partition function to be . 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
The Fock space is an algebraic construction used in quantum mechanics to construct the quantum states space of a variable or unknown number of identical particles from a single particle Hilbert space . It is named after V. A. Fock who first i ...
.
* 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 computing is a type of computation whose operations can harness the phenomena of quantum mechanics, such as superposition, interference, and entanglement. Devices that perform quantum computations are known as quantum computers. Thoug ...
, quantum information theory
Quantum information is the information of the state of a quantum system. It is the basic entity of study in quantum information theory, and can be manipulated using quantum information processing techniques. Quantum information refers to both ...
, 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
Every atom is composed of a nucleus and one or more electrons bound to the nucleus. The nucleus is made of one or more protons and a number of neutrons. Only the most common variety of hydrogen has no neutrons.
Every solid, liquid, gas ...
or molecule
A molecule is a group of two or more atoms held together by attractive forces known as chemical bonds; depending on context, the term may or may not include ions which satisfy this criterion. In quantum physics, organic chemistry, and bio ...
, an imperfect but useful first approximation is to treat the electrons as uncorrelated
In probability theory and statistics, two real-valued random variables, X, Y, are said to be uncorrelated if their covariance, \operatorname ,Y= \operatorname Y- \operatorname \operatorname /math>, is zero. If two variables are uncorrelated, there ...
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 electrons filling the single-particle wavefunctions , then the collection of electrons together can be characterized by a density matrix .
C*-algebraic formulation of states
It is now generally accepted that the description of quantum mechanics in which all self-adjoint operators represent observables is untenable. For this reason, observables are identified with elements of an abstract C*-algebra
In mathematics, specifically in functional analysis, a C∗-algebra (pronounced "C-star") is a Banach algebra together with an involution satisfying the properties of the adjoint. A particular case is that of a complex algebra ''A'' of continu ...
''A'' (that is one without a distinguished representation as an algebra of operators) and states are positive linear functional
In mathematics, a linear form (also known as a linear functional, a one-form, or a covector) is a linear map from a vector space to its field of scalars (often, the real numbers or the complex numbers).
If is a vector space over a field , th ...
s on ''A''. However, by using the GNS construction
GNS may refer to:
Places
* Binaka Airport, in Gunung Sitoli, Nias Island, Indonesia
* Gainesville station (Georgia), an Amtrak station in Georgia, United States
Companies and organizations
* Gesellschaft für Nuklear-Service, a German nuclear-w ...
, we can recover Hilbert spaces which realize ''A'' as a subalgebra of operators.
Geometrically, a pure state on a C*-algebra ''A'' is a state which is an extreme point of the set of all states on ''A''. By properties of the GNS construction these states correspond to irreducible representations of ''A''.
The states of the C*-algebra of compact operator
In functional analysis, a branch of mathematics, a compact operator is a linear operator T: X \to Y, where X,Y are normed vector spaces, with the property that T maps bounded subsets of X to relatively compact subsets of Y (subsets with compact ...
s ''K''(''H'') correspond exactly to the density operators, and therefore the pure states of ''K''(''H'') are exactly the pure states in the sense of quantum mechanics.
The C*-algebraic formulation can be seen to include both classical and quantum systems. When the system is classical, the algebra of observables become an abelian C*-algebra. In that case the states become probability measures.
History
The formalism of density operators and matrices was introduced in 1927 by John von Neumann
John von Neumann (; hu, Neumann János Lajos, ; December 28, 1903 – February 8, 1957) was a Hungarian-American mathematician, physicist, computer scientist, engineer and polymath. He was regarded as having perhaps the widest cove ...
and independently, but less systematically, by Lev Landau
Lev Davidovich Landau (russian: Лев Дави́дович Ланда́у; 22 January 1908 – 1 April 1968) was a Soviet-Azerbaijani physicist of Jewish descent who made fundamental contributions to many areas of theoretical physics.
His a ...
and later in 1946 by Felix Bloch. Von Neumann introduced the density matrix in order to develop both quantum statistical mechanics and a theory of quantum measurements. The name density matrix itself relates to its classical correspondence to a phase-space probability measure
In mathematics, a probability measure is a real-valued function defined on a set of events in a probability space that satisfies measure properties such as ''countable additivity''. The difference between a probability measure and the more g ...
(probability distribution of position and momentum) in classical statistical mechanics, which was introduced by Wigner in 1932.
In contrast, the motivation that inspired Landau was the impossibility of describing a subsystem of a composite quantum system by a state vector.
See also
* Atomic electron transition
* Density functional theory
Density-functional theory (DFT) is a computational quantum mechanical modelling method used in physics, chemistry and materials science to investigate the electronic structure (or nuclear structure) (principally the ground state) of many-bo ...
* Green–Kubo relations
* Green's function (many-body theory)
* Lindblad equation
* Wigner quasi-probability distribution
Notes and references
{{Quantum mechanics topics
Functional analysis
Quantum information science
Statistical mechanics
Lev Landau