Lesson 14 · 60 min · core
Partial Trace & Reduced States
How do we describe one qubit of an entangled pair? Not by a state vector — by a reduced density operator obtained with the partial trace . This lesson defines on product operators and in components, proves that is the unique operator reproducing every local measurement statistic, computes entry by entry, derives the Schmidt decomposition from the singular value decomposition, and proves that a pure bipartite state is a product state exactly when its marginal is pure.
Prerequisites: Density Operators: Pure vs Mixed
Objectives and key results
Compute a reduced state in components with , using the platform's index map for two qubits.
Prove that is the unique operator satisfying for all , and explain why this makes the partial trace the only correct description of a subsystem.
Show that entangled pure states such as and have mixed marginals.
State and prove the Schmidt decomposition from the SVD of the coefficient matrix, and use it to prove: a pure is a product state iff is pure.
- definition · Partial trace
- theorem · Reduced state reproduces local statistics (uniquely)
- identity · Marginal of a Bell state
- theorem · Schmidt decomposition
- theorem · Product iff pure marginal
Defining the partial trace#
Alice holds qubit and Bob holds qubit of a joint state on . Alice can only act on her own system: any measurement she performs is described by operators of the form . We want an operator on alone that predicts all of her statistics. For a product state the answer is obviously ; for entangled states the answer is the partial trace, which "sums over" Bob's index while keeping Alice's. We work with orthonormal bases of ( elements) and of ( elements).
Definition
Partial trace over B
is the linear map from operators on to operators on defined on product operators by and extended linearly. Since the operators form a basis of all operators on the composite space, this determines completely. More generally . The reduced state (marginal) of is ; symmetrically .
Component form of the partial trace
- Step 1:Expand in the product basis of operators; by the mixed-product rule.
- Step 2:Apply the definition term by term (linearity) and orthonormality .
- Step 3:The Kronecker delta collapses the sum: keep Alice's row/column indices, set Bob's row index equal to his column index and add.
- Step 4:Equivalent operator form: , summed over .
- Step 5:Two qubits with qubit 0 as the most significant bit: the composite index of is . Tracing out instead sums over with as the kept index.
Result
Why the partial trace: the uniqueness theorem#
The reduced state is the unique operator reproducing local statistics
For every operator on , satisfies for every operator on . Conversely, if an operator on satisfies for all , then .
Proof (6 steps)
- Step 1:Trace in the product basis of the composite space.
- Step 2:Insert the resolution of the identity ; the Kronecker index formula gives .
- Step 3:Do the sum first and recognise the component form of ; the last expression is the trace of the matrix product . This proves existence.
- Step 4:For uniqueness, subtract the two identities (linearity of the trace).
- Step 5:Test against each element of the Hilbert–Schmidt basis , writing and using the trace identity .
- Step 6:All matrix entries of the difference vanish. Since is an orthonormal basis for , testing on it is equivalent to testing on all .
∎
The reduced state of a density operator is a density operator
If is Hermitian, positive semidefinite and of unit trace, so is . Moreover it suffices to test the uniqueness property on Hermitian (observables), since every with and Hermitian.
Proof (4 steps)
- Step 1:Hermiticity: conjugate the component formula and use for .
- Step 2:Positivity: trace identity, the uniqueness theorem with , and positivity of on each vector .
- Step 3:Unit trace: the uniqueness theorem with .
- Step 4:Linearity: agreement on all Hermitian implies agreement on all , so local observable statistics already pin down .
∎
Quick check
Alice measures on her qubit of . Which expression gives the probability of outcome ?
Entangled pure states have mixed marginals#
, entry by entry
- Step 1:Expand the outer product of : non-zero entries at rows/columns and , as in the matrix above.
- Step 2:Component formula with ; the composite indices are .
- Step 3:, : columns . The large coherence has different indices (, ) and is discarded by .
- Step 4:The remaining two entries ().
- Step 5:Assemble. The global state is pure () yet each half is maximally mixed: its Bloch vector is , the centre of the ball.
Result
Marginal of
- Step 1:A one-parameter family interpolating between the product state () and ().
- Step 2:Real amplitudes at indices and ; .
- Step 3:Component formula, exactly as for : the coherence sits at with and drops out.
- Step 4:Purity via and . It equals only for (product states) and reaches at .
- Step 5:and .
Result
Circuit · 2 qubits
on qubit 0 gives ; CNOT copies the basis label onto qubit 1, producing , the member of the family. Its reduced state on qubit 0 is . Without the CNOT, qubit 0 would stay pure with coherence .
- |00⟩0.75
- |01⟩0
- |10⟩0
- |11⟩0.25
Quick check
What is the purity of qubit 0 after the circuit , CNOT applied to ?
Schmidt decomposition: product iff pure marginal#
Schmidt decomposition
Every unit vector can be written with , , orthonormal and orthonormal , where (the Schmidt rank) is the rank of the coefficient matrix . Moreover and .
Proof (7 steps)
- Step 1:Expand in the product basis and arrange the amplitudes as a matrix (for two qubits: reshape row-major into ).
- Step 2:Singular value decomposition: () and () unitary, diagonal with the non-negative singular values; only the non-zero ones contribute.
- Step 3:Substitute and regroup using bilinearity of ; define and .
- Step 4:Orthonormality follows from the unitarity of and (their columns are orthonormal).
- Step 5:Normalisation; the inner product of product vectors factorises. Set .
- Step 6:Component formula of the partial trace for , whose entries are .
- Step 7:Insert the SVD; . The columns of are the eigenvectors , with eigenvalues . The same computation with gives .
∎
A pure bipartite state is a product state iff its marginal is pure
For a unit vector the following are equivalent: (i) for some unit vectors; (ii) the Schmidt rank is ; (iii) is pure, . In particular and always have the same non-zero eigenvalues , so is pure iff is.
Proof (5 steps)
- Step 1:Definition of on a product operator, , and normalisation of . A rank-one projector is pure.
- Step 2:The eigenvalues of are the (Schmidt theorem), so its purity is .
- Step 3:Purity theorem of the previous lesson: purity forces exactly one non-zero eigenvalue. Since every Schmidt coefficient is strictly positive, there is only one of them.
- Step 4:The Schmidt sum has a single term and : a product of unit vectors.
- Step 5:Both marginals were diagonalised with the same weights in the Schmidt theorem, which gives the final statement.
∎
Examples. For , has singular values : Schmidt rank , marginals — maximally entangled. For , is already in SVD form with , — matching the reduced state computed above. For two qubits, rank iff , which recovers the product-state criterion of the tensor-products lesson. The number , or better the von Neumann entropy of the (next lesson), therefore measures how entangled a pure state is.
Check it numerically. The cell below implements with a reshape and an index contraction, reproduces for , the marginal with purity for , and its Schmidt coefficients as singular values.
import numpy as np
def ptrace_B(rho):
r = rho.reshape(2, 2, 2, 2)
return np.einsum('abcb->ac', r)
phi = np.array([1, 0, 0, 1]) / np.sqrt(2)
rho = np.outer(phi, phi.conj())
print(np.round(ptrace_B(rho).real, 4))
t = np.pi / 3
psi = np.array([np.cos(t / 2), 0, 0, np.sin(t / 2)])
rho_a = ptrace_B(np.outer(psi, psi.conj()))
print(np.round(rho_a.real, 4), round(float(np.trace(rho_a @ rho_a).real), 4))
print(np.round(np.linalg.svd(psi.reshape(2, 2), compute_uv=False), 4))Expected output
[[0.5 0. ] [0. 0.5]] [[0.75 0. ] [0. 0.25]] 0.625 [0.866 0.5 ]
Quick check
Which two-qubit state has a pure reduced state on qubit 0?
References
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), §2.4.3 (the reduced density operator) and §2.5 (the Schmidt decomposition and purifications).
- J. Preskill, Lecture Notes for Physics 219: Quantum Computation, Chapter 2 (bipartite systems, Schmidt decomposition).theory.caltech.edu
- J. Watrous, The Theory of Quantum Information, Cambridge University Press (2018), Chapter 1 (mathematical preliminaries: the partial trace, the singular value and Schmidt decompositions).cs.uwaterloo.ca
Hands-on labs
Purify a mixed qubit
1 step · auto-gradedOpen labPrepare a two-qubit pure state whose reduced state on qubit 0 is the mixed state . Mixedness of a marginal cannot come from a single-qubit gate: it must come from entanglement with qubit 1.