Density Operators for Quantum Information
A density operator describes the information available about a quantum system, whether it is pure, drawn from a preparation ensemble, or part of an entangled register. In a protocol, the essential question is which systems and classical records remain available. This page connects that choice to state evolution, measurement branches, and quantitative comparisons between finite-dimensional states.
Helpful background. Density operators introduces positivity and normalization; tensor products and partial trace explains subsystem descriptions. The Bloch sphere supplies useful one-qubit examples.
Density operators and measurement probabilities
Section titled “Density operators and measurement probabilities”A density operator is the state object used when a quantum-information task involves preparation uncertainty, discarded subsystems, entanglement, noise, measurement branches, or communication ensembles. On a finite-dimensional Hilbert space , it satisfies
It predicts every measurement probability through
and every observable expectation through
The same trace rule applies to several physically different situations. A mixture of prepared signals and the reduced state of an entangled pair can have identical density operators. Their local measurement statistics agree even though their correlations with other systems need not.
Three Layers of Meaning
Section titled “Three Layers of Meaning”The operator
Section titled “The operator”At the mathematical layer, is a positive trace-one operator. Positivity means
for every . Equivalently in finite dimension, all eigenvalues are nonnegative. The trace-one condition normalizes total probability.
The preparation
Section titled “The preparation”A laboratory preparation procedure may be described by an ensemble
If the label is not retained, the emitted system is described by the average state
Different ensembles can have the same average. No measurement on the emitted system alone can determine which ensemble decomposition was used when the density operators agree.
The information available to an observer
Section titled “The information available to an observer”If the classical label is retained in a register , the joint classical–quantum state is
Discarding gives
The states and do not contain the same information. The first preserves which signal was selected; the second describes a receiver who has only the quantum system. This distinction underlies coding, state discrimination, cryptography, and the Holevo information.
Spectra, Rank, and Purity
Section titled “Spectra, Rank, and Purity”Every finite-dimensional density operator has a spectral decomposition
where . This decomposition is orthogonal and is fixed by up to basis choices inside degenerate eigenspaces. It should not be confused with a general preparation ensemble, whose states may be nonorthogonal and whose decomposition is highly nonunique.
A state is pure exactly when
or equivalently
The purity
obeys
in dimension . The lower bound is attained by .
Purity is a useful diagnostic, but it is not a distance to a target state and it does not identify the noise mechanism. Two states can have equal purity and be far apart. Purities from different Hilbert-space dimensions also have different lower bounds. Pure versus mixed states explains why coherent superpositions and mixtures differ.
For one qubit, connects purity to the Bloch-vector radius. Higher-dimensional state spaces do not form an ordinary Bloch ball.
Density Operators from Composite Systems
Section titled “Density Operators from Composite Systems”Reduced states
Section titled “Reduced states”For a bipartite state , the state available to an observer with access only to is
It is characterized by the requirement
for every local effect or observable . Thus contains exactly the statistics of measurements on alone.
If
then
even though is pure. Local mixedness can arise from entanglement, not from classical uncertainty about a hidden local pure state. Partial trace develops the index rules for calculating these reductions.
Discarding is a channel
Section titled “Discarding is a channel”The map
is a quantum channel. Operationally, “ignore the ancilla,” “do not read the environment,” and “keep only the output register” are partial-trace instructions. They can turn a pure global state into a mixed local state while preserving all local probabilities.
This is why an algorithmic derivation must state which registers are retained. A final state vector for the full circuit is not yet the answer when the task asks for one output register.
Purification
Section titled “Purification”Every density operator can be realized as the reduced state of a pure state on a larger system. From the spectral decomposition,
one purification is
Tracing out the reference gives
The smallest possible reference dimension is , and the construction above attains it. Purifications are not unique: their occupied reference subspaces are related by an isometry. This extends to an isometry between the full reference spaces in the smaller-to-larger direction, or to a unitary when their dimensions agree.
Purification is a representation theorem; it does not assert that a particular accessible ancilla was present in the preparation. It is useful for modeling an adversary’s possible side information and for comparing states through Uhlmann’s theorem below. Purification gives the construction and its relation to Schmidt decomposition.
Transformations in Protocols
Section titled “Transformations in Protocols”Closed-system evolution
Section titled “Closed-system evolution”A unitary transformation acts by conjugation:
It preserves the spectrum, rank, purity, and von Neumann entropy. A unitary cannot turn a mixed state into a pure state on the same isolated system.
Quantum channels
Section titled “Quantum channels”A quantum channel is a completely positive trace-preserving linear map. In a Kraus representation,
The output is again a density operator. The same framework describes noisy gates, communication, reset, and discarding a subsystem. Quantum channels and noise develops the representation theorems; quantum channels for information processing explains their use in protocols.
Measurement branches are often subnormalized
Section titled “Measurement branches are often subnormalized”An instrument consists of completely positive, trace-nonincreasing maps whose sum is trace preserving. Outcome corresponds to
The tilde marks a subnormalized positive operator:
Conditioned on an outcome with nonzero probability, the normalized state is
The probability and the conditional state describe different aspects of postselection, heralded entanglement, syndrome extraction, and quantum trajectories. Normalizing each branch too early erases its probability; failing to normalize before using as a state gives incorrect conditional expectations.
For one Kraus operator per branch,
The sum over outcomes,
is the nonselective output state.
Comparing Quantum States
Section titled “Comparing Quantum States”No single scalar answers every comparison question. The task determines the appropriate quantity.
Trace distance
Section titled “Trace distance”The trace distance is
It is a metric, ranges from to , and controls optimal one-shot state discrimination. For equal priors,
It is contractive under channels:
Physical processing cannot make two states more distinguishable when the same channel is applied to both and no side information is added. Trace Distance is the formula card with assumptions and convention checks.
Several calculation shortcuts expose its meaning. For commuting states with eigenvalue distributions and ,
For two pure states,
and for qubit Bloch vectors and ,
The variational characterization
shows that trace distance is the largest difference in the probability of one measurement event. It also implies, for a bounded observable ,
For prior probabilities and , the optimal binary discrimination probability is
The equal-prior formula above is its specialization.
Fidelity
Section titled “Fidelity”We use squared Uhlmann fidelity:
It ranges from to and equals exactly when . If is pure,
Fidelity is not a metric, and some references use the unsquared square-root quantity under the same name. The convention must accompany a reported value. The fidelity formula card collects the conventions.
Useful special cases in the squared convention are
for commuting states, and
for qubits. Fidelity is multiplicative on tensor products and monotone under a common channel:
Uhlmann’s theorem gives the purification form
where the maximization is over purifications in a common larger space. Numerically, first check the size of any Hermiticity violation. Symmetrizing roundoff-level errors can be appropriate; a substantial discrepancy requires diagnosing the input or estimator. Reject substantial negative eigenvalues rather than silently clipping them, and compute matrix square roots by positive spectral calculus.
For the squared convention, the Fuchs–van de Graaf inequalities are
They translate bounds between two different notions of closeness; they do not make fidelity and trace distance interchangeable.
Purity, entropy, and target overlap answer different questions
Section titled “Purity, entropy, and target overlap answer different questions”Purity asks how concentrated the spectrum is. Fidelity asks closeness to a specified target. Trace distance asks distinguishability. Von Neumann entropy,
quantifies spectral uncertainty and has several information-theoretic roles. A high-purity state can have zero fidelity with the desired pure target. A low trace distance to one target says nothing about closeness to another. Quantum entropy develops its information-theoretic uses.
A Source Ensemble Example
Section titled “A Source Ensemble Example”Suppose a source emits with probability and with probability , while withholding the label. The receiver’s state is
Its Bloch vector is
and its purity is
At ,
For , the average is mixed because the two possible signals are distinct; the endpoints remain pure. It still has coherence in the computational basis because one ensemble member is . A mixed state need not be diagonal in the basis chosen for display.
If the source keeps the label , the correct state is instead
This joint state permits correlations between the label and a later measurement outcome. Averaging to intentionally discards those correlations.
A state metric tests a particular input-output pair. It does not by itself test a gate on every input: a reset channel can prepare perfectly while destroying an unknown qubit. Similarly, conditioning on a rare measurement result can make surviving states more distinguishable even though an unconditional channel cannot; the final exercise shows how the success probability restores the comparison.
Numerical and Experimental Validity Checks
Section titled “Numerical and Experimental Validity Checks”For a finite matrix proposed as a density operator, check:
- Dimensions and basis order: identify every tensor factor and index convention.
- Hermiticity: verify within a stated tolerance.
- Trace: verify for a normalized state.
- Positivity: inspect the smallest eigenvalue or use a positive parameterization.
- Purity and rank: report them when they matter, without treating numerical rank as tolerance independent.
- Marginals: check reduced states and known conserved quantities.
- Probabilities: test that representative effects give values in .
- Convergence: vary time steps, truncations, sample counts, or tensor-network tolerances.
Small negative eigenvalues can come from floating-point roundoff, statistical linear inversion, or a genuinely nonphysical model. Silently clipping them to zero and renormalizing changes the state and can bias metrics. A repair procedure should be justified, documented, and propagated into uncertainty.
For infinite-dimensional systems, density operators are positive trace-class operators with trace one. Expectations of unbounded observables require additional finite-moment conditions. A finite basis cutoff is an approximation: small omitted probability alone does not bound the error in an unbounded observable. The carrier and mode examples illustrate this distinction.
Exercises
Section titled “Exercises”1. Test a candidate density matrix
Section titled “1. Test a candidate density matrix”Consider
It is Hermitian and has trace one. Is it a valid density operator?
Solution
Positivity remains to be checked. The determinant is
A positive semidefinite matrix cannot have negative determinant. Equivalently, this matrix has Bloch vector
with
Its eigenvalues are
so . The matrix is not a physical density operator despite being Hermitian and trace one.
2. Analyze a nonorthogonal source ensemble
Section titled “2. Analyze a nonorthogonal source ensemble”Set in the source example. Verify the average density matrix and purity. Find the receiver’s best probability of guessing the source label from one signal, assuming equal priors and a compulsory guess on every run.
Solution
Substitution gives
Squaring and tracing gives
The signal states are nonorthogonal:
Their trace distance is , so the Holevo–Helstrom formula gives
An optimal measurement projects onto the positive and negative eigenspaces of the difference of the two signal density operators. Perfect identification on every run is impossible without additional information. An unambiguous-discrimination protocol can instead make error-free conclusive identifications, but must allow and report inconclusive outcomes.
3. Reduce a Bell state
Section titled “3. Reduce a Bell state”For
compute and its purity.
Solution
Expanding the projector gives two diagonal terms and two cross terms. The cross terms vanish under the trace over because . Thus
Its purity is
The global state is pure while each one-qubit marginal is maximally mixed. The mixed marginal reflects entanglement with the other qubit. Purity itself is not an additive conserved quantity to be divided between subsystems and correlations.
4. Construct a purification
Section titled “4. Construct a purification”Let
For , construct a purification on two qubits and verify it by tracing out the reference.
Solution
One purification is
The projector contains two diagonal and two cross terms. Tracing over removes the cross terms:
Applying any unitary to produces another purification of the same .
5. Compare commuting states
Section titled “5. Compare commuting states”Let
Compute their trace distance and squared fidelity, then check the Fuchs–van de Graaf bounds.
Solution
Because the states commute, the trace distance reduces to the classical total-variation distance:
The squared fidelity is
The bounds give
which is true numerically:
6. Postselection and distinguishability
Section titled “6. Postselection and distinguishability”Consider qutrit states
where . Use the two projective instrument branches with Kraus operators and . Calculate the initial trace distance, the probability of the branch, and its conditional output states. Does their increased distance violate contractivity?
Solution
The difference is , so . The successful subnormalized outputs are and . Each has trace ; after normalization the states are orthogonal and have distance one.
There is no contradiction. Conditioning includes division by a success probability, so the normalized successful branch is not a trace-preserving linear channel on arbitrary inputs. The other branch has probability and gives the same state for both preparations. If both outcomes and their flags are retained, the total trace distance is still . A rare perfect result is different from an unconditional perfect result.
Continue to quantum entropy for information measures, state tomography for inference from data, and quantum instruments for general measurement updates.
References
Section titled “References”- Fano, U. “Description of states in quantum mechanics by density matrix and operator techniques.” Reviews of Modern Physics 29, 74–93 (1957). doi:10.1103/RevModPhys.29.74.
- Fuchs, C. A., and J. van de Graaf. “Cryptographic distinguishability measures for quantum-mechanical states.” IEEE Transactions on Information Theory 45, 1216–1227 (1999). doi:10.1109/18.761271; author manuscript.
- Helstrom, C. W. Quantum Detection and Estimation Theory. Academic Press, 1976.
- Kraus, K. States, Effects, and Operations. Springer, 1983. doi:10.1007/3-540-12732-1.
- Nielsen, M. A., and I. L. Chuang. Quantum Computation and Quantum Information, 10th anniversary edition. Cambridge University Press, 2010. doi:10.1017/CBO9780511976667.
- Uhlmann, A. “The transition probability in the state space of a *-algebra.” Reports on Mathematical Physics 9, 273–279 (1976). doi:10.1016/0034-4877(76)90060-4.
- Watrous, J. The Theory of Quantum Information. Cambridge University Press, 2018. Chapters 2–3. Author’s manuscript and errata.