Density Operators
A density operator is a positive, trace-one operator representing a quantum state. It includes state vectors as a special case but also describes statistical preparation uncertainty, subsystems entangled with other degrees of freedom, thermal equilibrium states, and states evolving under noise.
Required background. State Vectors supplies the pure-state language, and Expectation Values supplies the trace-rule target. Familiarity with traces, eigenvalues, and positive semidefinite matrices is assumed.
In a finite-dimensional Hilbert space, the defining conditions are
Positivity entails Hermiticity, although in calculations it is often useful to check all three matrix conditions explicitly:
The operator is the state. A density matrix is its matrix in a chosen basis.
Why state vectors are not enough
Section titled “Why state vectors are not enough”A normalized vector completely describes a pure state of a closed system. Three common situations require a more general state language.
Randomized preparations
Section titled “Randomized preparations”Suppose a source prepares with probability . If the classical label is unavailable, predictions are governed by
Unless all preparations represent the same ray, no single state vector reproduces every measurement probability.
Subsystems of entangled states
Section titled “Subsystems of entangled states”A composite system may be in a pure state while one subsystem is not. For the Bell state
the state of the first qubit is
There is no vector in whose projector equals .
Thermal and open systems
Section titled “Thermal and open systems”Equilibrium statistical mechanics uses density operators such as
Open-system dynamics likewise maps density operators to density operators. The state-vector formalism remains valid for a sufficiently large closed system, but density operators are the natural variables for the subsystem actually modeled.
Definition and equivalent tests
Section titled “Definition and equivalent tests”For any vector , positivity means
In finite dimensions, the spectral theorem gives
where the eigenvectors may be chosen orthonormal. The density-operator conditions are equivalent to
Consequently,
The trace-one condition fixes total probability. Positivity ensures that every measurement effect has a nonnegative probability. Hermiticity ensures real expectation values for observables.
Infinite-dimensional qualification
Section titled “Infinite-dimensional qualification”On an infinite-dimensional Hilbert space, a density operator is a positive trace-class operator with unit trace. Trace class is essential: a positive bounded operator need not have a finite trace. The spectral decomposition may contain countably many nonzero eigenvalues accumulating at zero. Continuous-spectrum subtleties belong to the operator-theory treatment; the finite-dimensional rules below remain the basic model.
Matrix representation
Section titled “Matrix representation”In an orthonormal basis ,
The diagonal entry
is the probability of obtaining basis outcome . Off-diagonal entries encode coherence relative to that basis. They are not probabilities and they change under a basis transformation.
Positivity constrains the coherences. Every principal minor obeys
Thus a state cannot have arbitrarily large off-diagonal entries while its populations remain fixed.
If the basis vectors transform through a unitary matrix , then the matrix representing the same operator changes passively as
This is different from physically applying a unitary to the state, which produces a new operator .
A qubit validity test
Section titled “A qubit validity test”Every trace-one Hermitian qubit matrix can be written as
It is positive if and only if
Checking only the diagonal entries is insufficient. For example,
is Hermitian and has trace one, but its eigenvalues are
The negative eigenvalue makes unphysical.
Pure states as density operators
Section titled “Pure states as density operators”A normalized vector defines the rank-one projector
It satisfies
The global phase cancels:
Thus the density-operator representation automatically respects the fact that pure states are rays.
In a basis where
the matrix entries are
The projector has one eigenvalue equal to one and all remaining eigenvalues equal to zero.
Mixed states
Section titled “Mixed states”A density operator is mixed when it is not rank one. Equivalently, its spectral decomposition contains at least two nonzero eigenvalues:
This spectral decomposition is an orthogonal ensemble representation, but it is not generally the only ensemble representation. A given may also admit
with nonorthogonal . No measurement performed on the system alone can distinguish two preparation procedures that yield the same density operator.
This nonuniqueness is why an ensemble is extra preparation data rather than an intrinsic decomposition of the state. Pure versus mixed is instead decided by basis-independent properties of : rank one, idempotency, and unit purity are equivalent tests for a pure state.
Maximally mixed state
Section titled “Maximally mixed state”On a -dimensional Hilbert space,
is the maximally mixed state. It assigns equal probability to every vector in any orthonormal measurement basis. It is basis-independent:
for every unitary .
“Maximally mixed” is always relative to a specified Hilbert space or support. The operator is maximally mixed on an -dimensional subspace with projector , but it is not maximally mixed on a larger ambient space.
Convex structure of state space
Section titled “Convex structure of state space”If and are density operators and , then
is also a density operator. Positivity and trace one are preserved. The set of states is therefore convex.
Its extreme points are exactly the rank-one projectors. A mixed state can be expressed as a nontrivial convex combination of other states, while a pure state cannot. This geometric statement is independent of which particular ensemble decomposition is used.
For a -dimensional system, a Hermitian matrix has real parameters. The trace constraint removes one, so density operators form a convex body of real dimension
inside the affine space of trace-one Hermitian operators. Positivity carves out the physical region. For , that region is the Bloch ball summarized in the chapter’s Bloch-ball representation.
Expectation values
Section titled “Expectation values”For an observable , the expectation value in state is
For a pure-state projector,
For an ensemble,
linearity gives
The trace rule is basis-independent. In a basis that diagonalizes , it is the probability-weighted average of the diagonal matrix elements of ; in any other basis, cyclicity of the trace gives the same answer.
Measurement probabilities
Section titled “Measurement probabilities”For a projective measurement with projectors ,
For a general POVM with effects ,
the probability rule is
These numbers are valid probabilities:
Positivity of and ensures nonnegativity, while completeness of the POVM and ensure normalization.
For a rank-one projector
the rule reduces to
Thus density operators extend the Born rule rather than replace it.
Two qubit-state comparisons
Section titled “Two qubit-state comparisons”Consider the coherent pure state
Its density matrix in the computational basis is
By contrast, an equal incoherent mixture of and is
Both states give and with equal probability in a computational basis measurement. They differ in the basis:
whereas
The off-diagonal entries in encode the relative-phase coherence that the second measurement reveals.
Reduced states
Section titled “Reduced states”For a joint state , the state of subsystem is
It is itself positive and trace one. Its defining operational property is
for every observable . A pure joint state may have a mixed reduced state, as the Bell example showed. Such mixedness reflects entanglement, not merely an unknown classical preparation label.
The Partial Trace article develops the basis-independent definition, product-basis contraction, and computational checks for this construction.
Unitary evolution
Section titled “Unitary evolution”If a closed system evolves by a unitary operator , then
This map preserves positivity, trace, rank, and eigenvalues. In particular, unitary evolution cannot turn a pure state into a mixed state or vice versa.
For a time-independent Hamiltonian, the density operator obeys the von Neumann equation
This is the density-operator counterpart of the Schrödinger equation. Nonunitary reduced dynamics can change the spectrum because correlations with an environment are being discarded. At the operator-theoretic level, Strongly Continuous Unitary Groups and Stone’s Theorem supply the precise generator statement.
Practical validity checks
Section titled “Practical validity checks”For a proposed finite-dimensional density matrix:
- Check that it is square and acts on the intended Hilbert space.
- Check Hermiticity: .
- Check normalization: .
- Check positivity by eigenvalues, Cholesky factorization, or principal minors in low dimension.
- Treat tiny negative numerical eigenvalues relative to a justified tolerance; do not silently accept a substantial negative value.
- Confirm probabilities with representative projectors or POVM effects.
- Keep active physical evolution separate from passive basis changes.
- For a subsystem state, verify that the stated partial trace is over the correct factor.
Common mistakes
Section titled “Common mistakes”- Calling any Hermitian trace-one matrix a density operator without checking positivity.
- Checking only that the diagonal entries are nonnegative.
- Treating off-diagonal matrix entries as probabilities.
- Confusing the operator with its basis-dependent matrix.
- Assuming a mixed density operator uniquely identifies a preparation ensemble.
- Interpreting every mixed state as ignorance about a pre-existing local pure state.
- Confusing a coherent superposition with an incoherent mixture having the same basis populations.
- Using without ensuring that and act on the same Hilbert space.
- Forgetting to normalize a conditional, subnormalized post-measurement operator before calling it a state.
- Assuming unitary evolution can change the eigenvalues of .
Where deeper treatment lives
Section titled “Where deeper treatment lives”The chapter overview turns the definitions and checks on this page into a reading route. Continue to Entangled States for separability, Partial Trace for subsystem states, and Quantum Operations for physical transformations. The No-Broadcasting Theorem shows how noncommutativity becomes an operational obstruction.
References
Section titled “References”- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press (1955), Ch. IV.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), Secs. 2.4 and 8.2.
- J. Watrous, The Theory of Quantum Information, Cambridge University Press (2018), Ch. 2.
- J. Preskill, Lecture Notes for Physics 229: Quantum Information and Computation, Chapter 2, Sec. 2.3.
- A. S. Holevo, Probabilistic and Statistical Aspects of Quantum Theory, 2nd ed., Edizioni della Normale (2011), Ch. 1.
- L. E. Ballentine, Quantum Mechanics: A Modern Development, 2nd ed., World Scientific (2014), Ch. 3.
Exercises
Section titled “Exercises”- Let be normalized. Verify that
is positive, has trace one, and is idempotent.
Solution
For any ,
In a basis containing , the projector has diagonal entries , so its trace is one. Finally,
- Determine when
is a valid density matrix.
Solution
Hermiticity and trace one are already built in. Positivity requires the diagonal entries and determinant to be nonnegative:
Therefore the necessary and sufficient condition is
- Compare the equal mixture of with the pure state . Compute the probability of the outcome in an -basis measurement.
Solution
The two density matrices are
For ,
whereas
Equal computational-basis populations do not make a mixture equivalent to a coherent superposition.
- Show that the maximally mixed qubit has both ensemble decompositions
and
Solution
Completeness of either orthonormal basis gives
and
Dividing both identities by two gives the claimed decompositions. They are different preparation ensembles but the same density operator.
- For
compute , , and .
Solution
Because is diagonal, its trace with either off-diagonal Pauli matrix vanishes:
For ,
- Prove that unitary evolution preserves the density-operator conditions for .
Solution
For any ,
where . Cyclicity of the trace gives
Hermiticity is also preserved:
- Compute the reduced density operator of either qubit in .
Solution
The joint projector is
Tracing over the second qubit removes the cross terms and gives
The same calculation holds for .
- Explain why
cannot represent a state by finding a vector assigned a negative expectation value.
Solution
The vector
is an eigenvector of with eigenvalue . Therefore
This violates positivity. If were used as a measurement outcome, the trace rule would assign the impossible probability