Von Neumann Entropy
The von Neumann entropy generalizes Shannon entropy to quantum systems:
where are eigenvalues of . Key properties:
- with equality iff is pure
- for a -dimensional system
- is invariant under unitary transformations:
For a bipartite pure state , the entanglement entropy is .
Worked values keep the abstraction honest. A pure qubit has eigenvalues and ; the maximally mixed qubit has eigenvalues and bit, which is exactly the entropy you can measure in a lab by tomography. A biased state with eigenvalues carries bits. A Bell pair reduced to one side gives and , so one ebit of entanglement is one bit of entropy â that identity is what makes entanglement entropy a usable currency for distillation rates. A four-qubit GHZ state gives every single qubit maximal entropy 1 while every pair still holds only 1 bit of correlation, which shows entropy and correlation are different quantities.
Quantum Relative Entropy
The quantum relative entropy measures distinguishability between states:
Properties:
- (Gibbs inequality)
- iff
- Monotonicity under quantum channels:
The relative entropy is central to quantum hypothesis testing and quantum Stein's lemma.
Holevo Bound
The Holevo bound limits the classical information extractable from a quantum state:
where is the Holevo information. Even though a -dimensional quantum system can carry qubits, at most classical bits can be extracted by measurement.
This bound is achievable in the asymptotic limit using many copies of the state.
The number is small enough to be worth stating twice. A -dimensional system spans qubits and can carry bits of classical information at most â so a qutrit holds bits despite being built from more than one qubit's worth of levels, an eight-level system holds exactly 3 bits, and no encoding, however clever, lifts that ceiling. The gap between what is stored and what is readable shows up whenever the states are non-orthogonal: send or and no measurement distinguishes them perfectly, so a noisy channel of such states yields strictly less than 1 bit per use even though the Hilbert space dimension says 1.
Two related numbers clarify what is going on. Superdense coding raises the per-qubit figure to 2 bits by smuggling in a pre-shared ebit â the Holevo bound applies to the total system including the entanglement, so nothing is violated. And the bound applies to the accessible information of an ensemble, which is why quantum key distribution works: Alice and Bob accept a lower yield per use in exchange for an eavesdropper whose information is also capped, detectable as disturbance in the error rate.
Quantum Channel Capacity
The quantum capacity of a channel is:
where is the coherent information:
A remarkable result: the quantum capacity can be superadditive.
One channel has a closed form that gives an intuition pump for everything else: the quantum erasure channel, which either passes the qubit through or announces that it was lost. Its capacity is exactly qubits per use for erasure probability â zero at , half a qubit per use at , and a full qubit only at . The factor of 2 rather than 1 is the price of correcting an erasure with an unknown location, and it is a good calibration point: a channel that looks lossless a quarter of the time is already at half rate.
For general channels the capacity is far less tidy. Computing it requires maximising the coherent information over all input states, a non-convex search with no efficient general solution, and the coherent information itself is only additive for restricted classes such as covariant or entanglement-breaking channels. The practical consequence is that capacity claims for realistic noise models come with either a constructive lower bound from an explicit code, or an upper bound from converse theorems, rarely with an exact number.
Resource Theory of Entanglement
In the resource theory of entanglement:
- Free states: separable states
- Free operations: Local Operations and Classical Communication (LOCC)
Entanglement measures quantify the resource:
- Entanglement of formation:
- Squashed entanglement:
- Negativity:
The monogamy of entanglement constrains how entanglement can be distributed. The Coffman-Kundu-Wootters inequality for three qubits says the tangle between and the pair is at least the sum of the tangles between and and between and , so a qubit maximally entangled with has exactly none left to share with . That is not a limitation of protocols but a property of quantum states: two ebits cannot be written over three qubits, which is why secret sharing works â a dealer can give two parties shares whose combined state is pure while neither holds any information alone.
The operational rules follow from the constraint on operations. LOCC cannot create entanglement from separable states, so entanglement is a resource with a cost: converting ebits into one maximally entangled state of qubits costs at best, and the reverse direction â distilling ebits from noisy entangled states â yields at most the entanglement of formation of the source. Those two rates, entanglement cost and distillation rate, meet asymptotically for pure states and for some ensembles, and stay provably apart for others.
Quantum Data Compression
Schumacher compression is the quantum analogue of Shannon compression. For a source producing states :
The source can be compressed to qubits per symbol, and this is optimal.
The quantum Shannon theorem states that for a source with entropy rate , there exist encoders and decoders that achieve arbitrarily low error rate using qubits per source symbol.
Python: Entropy Calculations
import numpy as np
def von_neumann_entropy(rho):
# Compute von Neumann entropy of density matrix.
eigenvalues = np.linalg.eigvalsh(rho)
eigenvalues = eigenvalues[eigenvalues > 1e-12]
return -np.sum(eigenvalues * np.log2(eigenvalues))
def quantum_relative_entropy(rho, sigma):
# Compute D(rho || sigma).
evals_rho, evecs_rho = np.linalg.eigh(rho)
evals_rho = evals_rho[evals_rho > 1e-12]
evecs_rho = evecs_rho[:, :len(evals_rho)]
sigma_eig = evecs_rho.conj().T @ sigma @ evecs_rho
sigma_diag = np.diag(sigma_eig).real
sigma_diag = sigma_diag[sigma_diag > 1e-12]
D = np.sum(evals_rho * (np.log2(evals_rho) - np.log2(sigma_diag[:len(evals_rho)])))
return D
bell = np.array([1,0,0,1], dtype=complex) / np.sqrt(2)
rho_bell = np.outer(bell, bell.conj())
print(f"Bell state entropy: {von_neumann_entropy(rho_bell):.4f}")
rho_A = np.array([[0.5, 0], [0, 0.5]], dtype=complex)
print(f"Reduced state entropy: {von_neumann_entropy(rho_A):.4f}")
This computes von Neumann entropy and quantum relative entropy for key quantum states.
Python: Partial Traces and the Numbers Behind the Bounds
Entropy claims become checkable once a partial trace is available, so this script measures the inequalities directly on two standard states and prints the capacity benchmarks used above:
import numpy as np
def entropy(rho):
ev = np.linalg.eigvalsh(rho)
ev = ev[ev > 1e-12]
return float(-np.sum(ev * np.log2(ev)))
def partial_trace(psi, n, keep):
keep = sorted(keep)
rest = [i for i in range(n) if i not in keep]
tensor = psi.reshape([2] * n)
tensor = np.transpose(tensor, keep + rest)
matrix = tensor.reshape(2 ** len(keep), 2 ** len(rest))
return matrix @ matrix.conj().T
def ghz(n):
psi = np.zeros(2 ** n, dtype=complex)
psi[0] = psi[-1] = 1 / np.sqrt(2)
return psi
def w_state(n):
psi = np.zeros(2 ** n, dtype=complex)
for i in range(n):
psi[1 << i] = 1 / np.sqrt(n)
return psi
n = 4
for name, psi in (("GHZ", ghz(n)), ("W", w_state(n))):
s1 = entropy(partial_trace(psi, n, [0]))
s2 = entropy(partial_trace(psi, n, [0, 1]))
print(f"{name}: S(1 qubit)={s1:.3f} S(2 qubits)={s2:.3f} "
f"subadditivity {s2:.3f} <= {2 * s1:.3f}")
for p in (0.0, 0.1, 0.25, 0.5):
print(f"erasure p={p:4.2f}: capacity={max(0.0, 1 - 2 * p):.3f} qubits/use")
for d in (2, 3, 4, 8):
print(f"d={d}: Holevo ceiling {np.log2(d):.3f} bits per use")
The GHZ state gives every single qubit the full 1 bit of entropy while a pair still carries only 1 bit, so subadditivity holds with slack â the two marginals do not add up to anything double-countable. The W state splits differently: one qubit carries 0.811 bits and two qubits carry 1 bit, so the inequality is tight in a way it is not for GHZ, which is the signature of a state whose entanglement is distributed rather than concentrated in a single correlation. Both outputs line up with the capacity and Holevo rows printed underneath, where the erasure channel hits exactly half capacity at and the Holevo ceiling rises one bit at a time as dimension doubles.
Entropy Inequalities
Key inequalities for von Neumann entropy:
- Subadditivity:
- Araki-Lieb:
- Strong subadditivity:
- Monotonicity: for any channel , since processing or discarding a system can only destroy entropy
Common Mistakes
Reading a single-qubit entropy of 1 bit as evidence that the qubit holds one bit of classical information
Fix: Maximal mixedness means maximal uncertainty; the readable classical content is capped by the Holevo bound, not by the entropy
Adding subsystem entropies to total the entanglement of a state
Fix: Subadditivity makes the sum an upper bound only, and for GHZ and W states the marginals undercount the shared correlation in different ways
Assuming a quantum channel's capacity is a fixed known number
Fix: Except for cases such as the erasure channel, capacity is an unoptimised search over inputs, so quote an explicit code's lower bound or a converse's upper bound
Trying to share one maximally entangled qubit with two parties
Fix: The Coffman-Kundu-Wootters inequality forbids it; splitting the pair means neither side has entanglement left over
Key Takeaways
- Von Neumann entropy generalises Shannon entropy: a pure state gives 0, a maximally mixed qubit gives 1 bit, and a Bell pair contributes exactly 1 ebit on each side
- A d-dimensional system reads out at most log base two of d bits per use, which is the Holevo ceiling that quantum key distribution deliberately trades yield against
- The quantum erasure channel has capacity 1 minus 2p qubits per use, so half of all qubits lost already drops the rate to zero
- Monogamy and LOCC together make entanglement a quantifiable resource with a cost to create and a distillation rate to recover