Quantum Entropy and von Neumann Entropy
Suppose two distant labs share a pair of entangled qubits. You want to ask a precise question. How much quantum information is actually locked up in that correlation? Classical Shannon Entropy cannot answer this. A maximally entangled pair looks locally like a perfectly random coin. Yet the pair as a whole is in a pure, perfectly known state. This paradox — maximal local uncertainty coexisting with zero global uncertainty — is exactly what von Neumann entropy is built to capture. It is the single most important scalar invariant in quantum information theory. Von Neumann entropy matters because it is the currency of quantum resource theories. It measures how mixed a quantum state is. It quantifies the entanglement of pure bipartite states. It bounds how much classical information can be extracted from a quantum ensemble. It sets the ultimate compression rate for quantum data. It also appears as the leading term in black-hole entropy calculations. It appears too in the security proofs of quantum key distribution. Every time an experimentalist reports "we generated a state with tangled entropy 0.98 ebits," they are using this exact quantity. The big picture is that density matrices generalize probability distributions. Von Neumann entropy generalizes Shannon entropy to this quantum setting. It replaces a probability vector with the eigenvalues of a density operator. This single substitution — plugging eigenvalues into the Shannon formula — inherits enormous structure from linear algebra. It inherits concavity, subadditivity, and a beautifully counterintuitive behavior under subsystem restriction. That behavior has no classical analogue at all. This article builds the definition from the density matrix formalism. It proves its key structural properties. It shows precisely how it certifies and quantifies entanglement via the reduced density matrix. It works through fully asymmetric numerical examples. This makes the subadditivity and Araki–Lieb inequalities concrete rather than abstract. It closes by pointing toward how entropy behaves under noisy evolution. That is the subject of Quantum Channels and Operations.
- Von Neumann entropy generalizes Shannon entropy to mixed quantum states, using the density matrix's eigenvalues.
- iff is pure; is maximal () iff is the maximally mixed state .
- For a pure bipartite state, , and this shared value is the standard measure of entanglement (entanglement entropy).
- Von Neumann entropy is concave in , subadditive (), and strongly subadditive — properties with no simple classical counterpart in the strict equality cases.
- Entropy of a subsystem can exceed the entropy of the whole system for entangled global pure states — the purely quantum phenomenon behind entanglement entropy.
- Schumacher's theorem shows is the optimal compression rate (in qubits per copy) for a quantum information source, making entropy operationally, not just formally, meaningful.
Von Neumann entropy measures quantum mixedness by the Shannon entropy of a density matrix's eigenvalues, and it becomes the standard measure of entanglement precisely because a globally pure state can have maximally uncertain, maximally entropic parts.
The idea
A quantum state described by a density matrix on a Hilbert space of dimension is diagonalizable, since is Hermitian and positive semidefinite with . Write its spectral decomposition as
where is an orthonormal eigenbasis and satisfy . The vector is a genuine classical probability distribution — it describes the probabilities of outcomes if were measured in its own eigenbasis. The von Neumann entropy of is defined as the Shannon entropy of this eigenvalue distribution:
The logarithm base fixes units: base 2 gives entropy in bits (or, in the quantum context, "ebits" when discussing entanglement), while base gives nats. By convention , matching the limit, so zero-probability eigenvalues contribute nothing. Two limiting cases anchor intuition. If is a pure state, one eigenvalue is and the rest are , giving : a pure state carries no entropy, because it represents complete knowledge of the system. If , the maximally mixed state, all eigenvalues equal , giving , the maximum possible value for a -dimensional system — total ignorance about which basis state the system occupies. The deepest use of von Neumann entropy is as an entanglement measure. Given a pure bipartite state on , define the reduced density matrix by tracing out subsystem . The quantity — called the entanglement entropy — is zero exactly when is a product state, and it is positive whenever and are entangled, growing to for maximally entangled states. This is possible only because a pure global state can produce a genuinely mixed local description — a fact with no classical analogue, since a classical joint distribution that is deterministic (zero entropy) forces every marginal to also be deterministic.
How it works
Computing von Neumann entropy is an eigenvalue problem, and computing entanglement entropy adds one extra step: the partial trace. The algorithm below takes a density matrix (or a pure bipartite state vector) and returns its entropy.
Step 1 — Obtain the density matrix. If the input is a pure state , form . If the input is bipartite and you want entanglement entropy, form the full density matrix on and compute the partial trace over :
Step 2 — Diagonalize. Since (or ) is Hermitian positive semidefinite with unit trace, compute its eigenvalues , .
Step 3 — Sum the classical Shannon entropy of the eigenvalue spectrum, skipping zero eigenvalues, using the appropriate log base. ``` FUNCTION VonNeumannEntropy(rho, base=2):
# rho is a Hermitian, PSD, trace-1 matrix (dxd) eigenvalues = EigenDecompose(rho) # returns real λ_i ≥ 0, Σλ_i = 1 entropy = 0 FOR each λ in eigenvalues: IF λ > 1e-12: # numerical guard for 0 log 0 = 0 entropy = entropy - λ * Log(λ, base) RETURN entropy
FUNCTION EntanglementEntropy(psi_AB, dim_A, dim_B):
# psi_AB: state vector of length dim_A dim_B, bipartition A|B rho_full = OuterProduct(psi_AB, Conjugate(psi_AB)) # (dA dB) x (dA dB) rho_A = PartialTrace(rho_full, trace_out = "B", dim_A = dim_A, dim_B = dim_B) # dA x dA RETURN VonNeumannEntropy(rho_A) ``` The `PartialTrace` routine reshapes indices into a block structure and contracts the index with itself: ``` FUNCTION PartialTrace(rho, trace_out, dim_A, dim_B): result = ZeroMatrix(dim_A, dim_A) FOR a1 in 0..dim_A-1: FOR a2 in 0..dim_A-1: s = 0 FOR b in 0..dim_B-1: row = a1dim_B + b col = a2dim_B + b s = s + rho[row][col] result[a1][a2] = s RETURN result ``` A useful check: because and (traced the other way) have identical nonzero eigenvalue spectra* for any pure global state , `EntanglementEntropy` gives the same answer regardless of which subsystem you trace out. This follows from the Schmidt decomposition, discussed next. The figure below shows the pipeline: a bipartite pure state's full density matrix is partially traced to a reduced density matrix, whose eigenvalue spectrum feeds the Shannon-entropy formula.
Complexity & correctness
Computational complexity. For a -dimensional density matrix, the dominant cost is diagonalization: standard dense eigenvalue algorithms (e.g., QR iteration after Householder tridiagonalization for a Hermitian matrix) run in time and space. Since is Hermitian, this uses the efficient real symmetric/Hermitian eigensolver rather than general complex eigenvalue routines, which would otherwise cost more due to non-normality concerns. Once eigenvalues are known, computing the entropy sum is , negligible next to diagonalization. For a bipartite pure state of total qubits split as ( qubits) and ( qubits), the reduced density matrix has dimension , so entanglement entropy costs — exponential in the smaller partition's qubit count, which is unavoidable since the state itself has amplitudes and has entries to even construct via the partial trace, an operation dominating for balanced partitions.
Correctness of the definition — why it is well-posed. is basis-independent by construction: it depends only on eigenvalues, which are invariant under the unitary change of basis that diagonalizes . It is real and non-negative because eigenvalues give termwise. It vanishes iff exactly one eigenvalue is (all others ), i.e., iff is a rank-1 projector — precisely the definition of a pure state. It is maximized at by concavity of and the constraint : Lagrange multipliers (or Jensen's inequality applied to the concave function ) show the uniform distribution maximizes the sum, giving .
Why entanglement entropy correctly measures entanglement. This rests on the Schmidt decomposition: any pure state can be written as
where , are orthonormal sets in , respectively, sum to 1, and is the Schmidt rank. Tracing out gives and tracing out gives — identical eigenvalue spectra . Hence always, for any bipartite pure state, which is why entanglement entropy is unambiguous (independent of "which side" is measured). Moreover exactly when the Schmidt rank , i.e., is a product state — no entanglement. And is maximized at exactly when all are equal over the maximal Schmidt rank, which is the definition of a maximally entangled state (e.g., Bell states for two qubits, giving bit).
Key structural properties, with the reasoning behind each:
- Concavity: . Mixing states never decreases entropy on average, because is concave and mixing density matrices can only average or increase uncertainty about which state you have — you have thrown away the label itself.
- Subadditivity: , with equality iff (no correlations, classical or quantum). This mirrors the classical fact that joint entropy is at most the sum of marginal entropies.
- The quantum surprise — negative conditional entropy: define . Classically this must be . Quantumly it can be negative: for a maximally entangled pure state , (globally pure) while (locally maximally mixed), giving . This is the sharpest formal signature that "the whole knows less uncertainty than its part," a phenomenon impossible for any classical joint distribution and a direct quantitative witness of entanglement.
- Strong subadditivity: for three subsystems, . This is the deepest known inequality for von Neumann entropy, proved via the operator-convexity of certain trace functionals (Lieb–Ruskai, 1973); it underlies the monotonicity of quantum mutual information and modern results in AdS/CFT entanglement entropy.
- Araki–Lieb inequality: , the quantum analogue (with a twist) of the triangle inequality, tight precisely because can be zero while .
- Invariance under local unitaries: is unchanged if we act with any unitary on the global pure state, since has the same eigenvalues. This confirms entanglement entropy depends only on the "shape" of correlations, not on local basis choices — consistent with entanglement being a resource invariant under local operations.
Operational meaning — why entropy is not just a formal quantity. Schumacher's noiseless quantum coding theorem states that a source emitting i.i.d. copies of a mixed state can be compressed, asymptotically, to qubits per copy, and no lower rate achieves high-fidelity reconstruction. This is the direct quantum generalization of Shannon's source coding theorem, and it certifies that von Neumann entropy is the true information content of a quantum source, not merely a convenient formula.
Worked example
Consider a two-qubit pure state that is deliberately not symmetric between the parties, so both the numbers and the reasoning are non-trivial:
This is already in Schmidt form with Schmidt coefficients , (partial entanglement, not maximal). We trace through the algorithm exactly.
Step 1: Full density matrix. In basis ,
This matrix has rank 1 (it is ), eigenvalues , so — correctly reflecting that the global state is pure.
Step 2: Partial trace over . Using the `PartialTrace` routine with :
Step 3: Diagonalize. is already diagonal: eigenvalues , .
Step 4: Entropy.
Step 5: Verify symmetry. Tracing out instead gives by an identical computation (the state is symmetric under swap here, so this check is automatic, but in general the Schmidt argument guarantees even when as matrices).
Interpretation table, comparing this state against reference points:
| State | (global) | (local) | Entanglement |
|---|---|---|---|
| Product | 0 | 0 | none |
| Worked example () | 0 | 0.881 bits | partial |
| Bell state | 0 | 1 bit (maximal for 2 qubits) | maximal |
| Classical mixture | 0.881 bits | 0.881 bits | none (separable) |
The last row is the crucial contrast: swapping a coherent superposition for a classical probabilistic mixture with the same weights changes from 0 to 0.881 bits while stays at 0.881 bits — because now the global state is itself mixed (no coherence, no entanglement), and additively as expected for uncorrelated randomness replicated on both sides via the classical correlation. This distinction — entangled superposition (global pure, local mixed) versus classical correlation (global mixed, marginals mixed) — is exactly what von Neumann entropy is designed to separate, and no purely classical statistic can make this distinction because classical probability theory has no analogue of the density matrix's off-diagonal coherences.
Common pitfalls & traps
| Pitfall | Why it happens | Fix |
|---|---|---|
| Computing and calling it "the entanglement" | Confusing global entropy with entanglement entropy | Entanglement entropy is (a marginal), not ; for pure global states always |
| Forgetting | Naively evaluating causes NaN errors | Explicitly skip or clamp zero eigenvalues before the log |
| Assuming implies | Confusing equal eigenvalue spectra with equal matrices | Schmidt decomposition only guarantees the spectra match, not the matrices, when |
| Using subadditivity as equality by default | Overgeneralizing | Equality holds only for product states; entangled or classically correlated states are strict |
| Applying von Neumann entropy formulas to mixed global states as if entanglement entropy still measures entanglement | Entanglement entropy via only certifies entanglement when the global state is pure | For mixed global states use entanglement measures like entanglement of formation, negativity, or relative entropy of entanglement |
| Numerical diagonalization noise producing tiny negative eigenvalues | Floating-point roundoff on a PSD matrix | Clip eigenvalues at zero before applying the log, and check trace normalization |
Pioneers & history
Origins · 1 minJohn von Neumann and how this was discovered
Von Neumann's 1932 book Mathematische Grundlagen der Quantenmechanik introduced the density operator formalism to make sense of statistical mixtures in quantum mechanics, years before Shannon's information theory existed. His entropy formula was originally motivated by statistical mechanics and measurement theory, not communication, yet it turned out to be exactly the right invariant for quantifying quantum information once the field matured decades later.
Where this matters
Von Neumann entropy is the quantitative backbone of entanglement verification in real laboratories: experiments certifying entangled photon pairs, trapped ions, or superconducting qubit pairs routinely reconstruct reduced density matrices via tomography and report entanglement entropy as the headline number. In quantum key distribution protocols building on Entanglement as a Physical Resource, security proofs bound an eavesdropper's information using entropic quantities directly descended from von Neumann entropy, most notably in the Devetak–Winter secret-key-rate formula. Quantum error-correcting codes and fault-tolerant architectures use entropy to characterize how noise, modeled through Quantum Channels and Operations, degrades encoded information, since a channel's action on entropy diagnoses whether it is entangling, decohering, or information-preserving. In condensed matter and high-energy theory, entanglement entropy scaling laws (area law versus volume law) classify quantum phases of matter and appear in holographic computations of black hole entropy via the Ryu–Takayanagi formula, making this single quantum-information quantity a genuine bridge between quantum computing, condensed matter physics, and quantum gravity.
Ask the tutor: How does von Neumann entropy change when a state passes through a noisy quantum channel, and why does this connect to the data-processing inequality?
Is von Neumann entropy the same thing as Shannon entropy?
They are closely related but not identical in general. Von Neumann entropy is the Shannon entropy applied specifically to the eigenvalues of a density matrix, which coincide with measurement outcome probabilities only when you measure in the matrix's own eigenbasis. If you measure a quantum state in a different basis, the Shannon entropy of the resulting outcome distribution is generally larger than the von Neumann entropy, because measurement in a non-eigenbasis adds extra classical uncertainty. When the density matrix is diagonal in a fixed classical basis — representing a purely classical probabilistic mixture with no quantum coherence — the two notions coincide exactly. So von Neumann entropy is best understood as the intrinsic, basis-independent information content, while Shannon entropy of measurement outcomes depends on which measurement you choose.
Why is entanglement entropy defined using the reduced density matrix instead of the full state?
The full bipartite state, if pure, always has entropy exactly zero, since a pure state is a single deterministic vector with no statistical mixture at all. Zero entropy for the whole system carries no information about how strongly the two parts are correlated. The reduced density matrix, obtained by tracing out one subsystem, captures exactly what an observer with access only to subsystem would see, and its mixedness is a direct quantitative fingerprint of how entangled is with . This is why entanglement entropy is always defined on a marginal, never on the joint pure state itself.
Can von Neumann entropy be negative?
No. Every eigenvalue of a valid density matrix lies in , and the function is non-negative on this interval, equal to zero only at and . Summing non-negative terms cannot produce a negative total, so always, with equality exactly for pure states. What can become negative is a derived quantity, conditional entropy , and that negativity is precisely the celebrated quantum signature of entanglement with no classical counterpart.
How does von Neumann entropy relate to quantum data compression?
Schumacher's noiseless coding theorem states that a source emitting long sequences of independent copies of a mixed quantum state can be compressed to a rate of qubits per copy, asymptotically, while preserving high-fidelity reconstruction. No compression scheme achieving fidelity close to one can do better than this rate, and von Neumann entropy is achievable by a typical-subspace construction closely analogous to Shannon's classical typical-sequence compression. This gives direct operational meaning as the true information content of a quantum information source, rather than being merely a convenient formal definition.
Does a high von Neumann entropy always mean a state is highly entangled?
Only when interpreted correctly as the entropy of a marginal of a pure global state. A density matrix with high entropy could simply be a highly mixed single-system state with no entanglement partner at all, such as a qubit in thermal equilibrium with a hot environment. Entanglement entropy specifically refers to where is obtained by tracing out part of a globally pure composite state; only in that specific setting does a large value certify strong entanglement. Confusing generic mixedness with entanglement is one of the most common conceptual errors in the subject.
What is the relationship between von Neumann entropy and quantum mutual information?
Quantum mutual information is defined as , directly built from three von Neumann entropies. Subadditivity guarantees always, so mutual information is a well-defined non-negative quantity measuring total correlations — both classical and quantum — between subsystems and . For a pure bipartite state, , so , exactly twice the entanglement entropy, reflecting that in the pure-state case all correlation is entanglement and mutual information simply double-counts it.
Why does strong subadditivity matter so much in quantum information theory?
Strong subadditivity, , is the deepest structural inequality known for von Neumann entropy and underlies the monotonicity of quantum relative entropy and quantum mutual information under discarding subsystems. It guarantees that quantum channels — including noisy real hardware operations — cannot increase mutual information between two systems by processing only one of them, a data-processing inequality essential to security proofs in quantum cryptography. It also underlies entanglement entropy area laws in condensed matter physics and consistency conditions for holographic entanglement entropy in quantum gravity, making it a genuine unifying tool across the field.