Density Operators for Quantum Information
Short Definition
Section titled “Short Definition”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
Density Operators is the canonical home for the general definition and postulates. This page owns the operational QI workflow: how arises from sources and subsystems, how channels and instruments transform it, how fidelity and trace distance compare it, how purification represents it, and how a calculation or experiment checks that a proposed matrix is physically meaningful.
Why QI Uses Density Operators by Default
Section titled “Why QI Uses Density Operators by Default”A state vector is sufficient for a closed system known to be pure. Most information-processing descriptions are not in that situation. A density operator is needed when:
- a source prepares several signals with declared probabilities;
- only one part of an entangled register is available;
- an environment, ancilla, measurement record, or classical label is discarded;
- a noisy channel maps pure inputs to mixed outputs;
- a protocol conditions on a measurement outcome;
- a tomography procedure estimates a state from finite data;
- a receiver must distinguish an ensemble of nonorthogonal signals;
- an algorithm’s output is evaluated only on a subsystem.
These cases have different physical origins, but they share the same local probability rule. The density operator is not a claim that every mixed state is “really” an unknown pure state. It is the complete state description for the observables assigned to the system under consideration.
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 vs Mixed States owns the conceptual distinction between rays, coherent superpositions, and mixtures.
One-qubit representation
Section titled “One-qubit representation”For one qubit,
and
Bloch Sphere for Quantum Information is the canonical QI home for the one-qubit operational geometry, tomography axes, gate rotations, and affine channel maps. The Bloch representation does not generalize to a simple ball for higher-dimensional states.
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 owns the basis-independent definition, index rules, and full calculations.
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 reference dimension need be no larger than . Purifications are not unique: two purifications of the same state are related by an isometry on the purifying system, with a unitary sufficient when the reference spaces have equal dimension.
Purification is not an assertion that an accessible hidden ancilla physically exists in every experiment. It is a representation theorem and a powerful proof device. QI uses it to:
- analyze channels through unitary dilations;
- define entanglement fidelity and complementary channels;
- compare states through Uhlmann’s theorem;
- model an adversary holding a purification in security proofs;
- convert mixed-state questions into pure bipartite-state questions;
- construct matrix-product and tensor-network representations.
Purification owns the theorem, minimal purifying dimension, isometric freedom, and relation to Schmidt decomposition.
A density operator can arise by forgetting a source label or tracing out a subsystem. Once is specified, the same object feeds measurement probabilities, channel evolution, conditional instrument branches, and state diagnostics. Retaining a classical record or reference system gives a different joint state from averaging or discarding it.
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. Channels describe intended gates with noise, communication links, discarded environments, reset, dephasing, loss models, and many protocol components. Quantum Channels and Noise owns the full Kraus, Choi, Stinespring, and complete-positivity machinery.
Quantum Channels for QI owns the finite-dimensional QI workflow for freezing conventions, converting representations, and composing maps; this page retains state, ensemble, marginal, purification, and subnormalized-branch bookkeeping.
Measurement branches are often subnormalized
Section titled “Measurement branches are often subnormalized”A quantum instrument with outcome maps an input to
The tilde marks a subnormalized positive operator:
Conditioned on an outcome with nonzero probability, the normalized state is
This bookkeeping matters in 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”This site uses 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. Fidelity is the canonical formula card.
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, symmetrize estimated density matrices, reject substantial negative eigenvalues rather than silently clipping them, and use stable positive square-root routines.
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. The later quantum-entropy page owns entropy and its operational 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 ,
The average is mixed because the two possible signals are distinct. 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.
Where Density Operators Enter QI
Section titled “Where Density Operators Enter QI”Algorithms and circuits
Section titled “Algorithms and circuits”Density operators describe noisy initial states, reset errors, mixed ancillas, mid-circuit measurement branches, reduced output registers, and randomized circuit ensembles. An ideal pure-state derivation may use vectors internally, but a hardware-level prediction generally needs channels and density operators.
Communication and cryptography
Section titled “Communication and cryptography”A sender chooses an ensemble ; a receiver sees the average state unless side information reveals . Distinguishability, accessible information, Holevo quantities, and security proofs are all density-operator statements. In adversarial analyses, a purifying reference often represents information held outside the honest subsystem.
Noise and error correction
Section titled “Noise and error correction”Noise acts as a channel on . Syndrome outcomes are instrument branches. Logical states are density operators supported on a code subspace, and uncorrectable faults can mix or leak them. Comparing the recovered state with the target requires a declared state or channel metric.
Tomography and benchmarking
Section titled “Tomography and benchmarking”Tomography estimates a positive trace-one matrix from frequencies. Benchmarking may compare estimated states, average outputs, or channels; these are not the same objects. State fidelity cannot by itself certify a gate on arbitrary inputs.
Simulation
Section titled “Simulation”Numerical open-system solvers propagate density matrices. Tensor-network and Monte Carlo methods may represent them directly, purify them, or sample trajectories whose average reproduces them. Each representation has different cost, bias, and convergence checks.
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 continuous-variable or other infinite-dimensional systems, a density operator must be trace class. A finite matrix obtained by basis truncation is an approximation. Report the cutoff and verify that trace, observables, and state metrics converge.
Common Mistakes
Section titled “Common Mistakes”- Treating the matrix entries as basis independent; the operator is basis independent, but its displayed matrix is not.
- Calling every density operator mixed; rank-one projectors are density operators too.
- Interpreting one ensemble decomposition as a unique underlying reality.
- Confusing a reduced mixed state with a mixed global state.
- Forgetting which subsystem is traced out or the order of tensor factors.
- Using a subnormalized branch as though it were a normalized conditional state.
- Normalizing every branch before recording its probability.
- Comparing squared and unsquared fidelity values.
- Using state fidelity to claim that a channel or gate is correct on every input.
- Replacing the trace norm by the Frobenius norm in trace distance.
- Assuming purity identifies the target state or physical noise process.
- Repairing negative eigenvalues without reporting the estimator or correction.
- Ignoring truncation error in infinite-dimensional simulations.
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. Why can the receiver not infer the source label perfectly from one signal?
Solution
Substitution gives
Squaring and tracing gives
The signal states are nonorthogonal:
No one-shot measurement can distinguish them perfectly. The average density operator describes the unlabeled signal, while the classical–quantum state with retained describes the source and signal jointly.
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 missing local purity is stored in correlations, not destroyed.
4. Construct a purification
Section titled “4. Construct a purification”Let
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. Keep track of a measurement branch
Section titled “6. Keep track of a measurement branch”Measure on the state using
Find the subnormalized and normalized states for outcome .
Solution
The input is
The outcome- branch is
Its trace gives the outcome probability:
After conditioning,
The factor belongs to the branch probability and disappears only after the conditional state is normalized.
Where to Go Next
Section titled “Where to Go Next”- Information-Theoretic Foundations separates source ensembles, states, processes, measurements, classical records, entropies, and resources and routes each next calculation to its canonical owner.
- Resource Theories turns normalized or subnormalized states, trace-distance error, and channel outputs into a declared free-transformation and conversion contract; this page retains the state and metric workflow.
- Density Operators gives the canonical definition and state postulates.
- Pure vs Mixed States distinguishes projectors, coherent superpositions, mixtures, and reduced states.
- Bloch Sphere for Quantum Information gives the complete one-qubit operational representation.
- State Tomography explains how repeated outcomes, informationally complete measurements, statistical estimators, and uncertainty regions infer a density operator.
- Entanglement Measures explains which state-dependent scalar or asymptotic rate answers a specified entanglement question.
- Circuit Model composes states, channels, instruments, classical records, and resource counts into an input-output computation.
- Partial Trace develops subsystem reduction and basis-independent calculations.
- Purification gives the theorem and isometric freedom of purifying systems.
- Quantum Channels and Noise develops completely positive maps and their representations.
- Quantum Instruments treats outcome probabilities and postmeasurement branches.
- Fidelity and Trace Distance are the compact state-comparison references.
- Quantum Information Roadmap places state descriptions before circuits, channels, entanglement, and error correction.
References
Section titled “References”- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955.
- U. Fano, “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.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, 2010, doi:10.1017/CBO9780511976667.
- J. Watrous, The Theory of Quantum Information, Cambridge University Press, 2018, doi:10.1017/9781316848142.
- M. M. Wilde, Quantum Information Theory, 2nd ed., Cambridge University Press, 2017, doi:10.1017/9781316809976.
- I. Bengtsson and K. Życzkowski, Geometry of Quantum States, 2nd ed., Cambridge University Press, 2017, doi:10.1017/9781139207010.
- K. Kraus, States, Effects, and Operations, Springer, 1983, doi:10.1007/3-540-12732-1.
- A. Uhlmann, “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.
- C. A. Fuchs 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.
- C. W. Helstrom, Quantum Detection and Estimation Theory, Academic Press, 1976.
- A. S. Holevo, Probabilistic and Statistical Aspects of Quantum Theory, 2nd ed., Edizioni della Normale, 2011, doi:10.1007/978-88-7642-378-9.
- M. G. A. Paris and J. Řeháček, eds., Quantum State Estimation, Springer, 2004, doi:10.1007/b98673.
- J. Preskill, Lecture Notes for Physics 219/Computer Science 219: Quantum Computation, California Institute of Technology, course materials.
Summary
Section titled “Summary”Density operators are the default state language for operational quantum information. They represent unlabeled source ensembles, reduced subsystems, noisy outputs, and conditional protocol branches while predicting all measurements through the trace rule. A valid normalized state is Hermitian, positive, and trace one. Rank and purity diagnose mixedness, but neither identifies a target or a noise mechanism.
Classical labels must be retained in classical–quantum states when their correlations matter. Partial trace describes discarded subsystems; purification embeds a mixed state into a larger pure state; channels map density operators to density operators; and instruments produce subnormalized branches whose traces are outcome probabilities. Trace distance, fidelity, purity, and entropy answer different operational questions. Numerical and experimental work must state basis order, normalization, positivity treatment, estimator, uncertainty, and truncation or convergence checks.