Skip to content

These exercises practice the partial trace as a computational rule and as a physical rule for local statistics. All state vectors below are normalized.

Helpful background. Partial trace explains the index contraction; local measurement statistics connects it to probabilities.

The main identity is

Tr⁡B(∣i⟩A⟨k∣A⊗∣j⟩B⟨l∣B)=δjl∣i⟩A⟨k∣A.\operatorname{Tr}_B \bigl( \lvert i\rangle_A\langle k\rvert_A \otimes \lvert j\rangle_B\langle l\rvert_B \bigr) = \delta_{jl} \lvert i\rangle_A\langle k\rvert_A.

Equivalently, the traced subsystem contributes an inner product between the ket and bra labels that remain on that subsystem.

  1. Let
∣Ψ⟩AB=∣ψ⟩A⊗∣ϕ⟩B.\lvert\Psi\rangle_{AB} = \lvert\psi\rangle_A\otimes\lvert\phi\rangle_B.

Compute ρA=Tr⁡B∣Ψ⟩⟨Ψ∣\rho_A=\operatorname{Tr}_B\lvert\Psi\rangle\langle\Psi\rvert.

Solution

The joint density operator is

ρAB=∣ψ⟩⟨ψ∣A⊗∣ϕ⟩⟨ϕ∣B.\rho_{AB} = \lvert\psi\rangle\langle\psi\rvert_A \otimes \lvert\phi\rangle\langle\phi\rvert_B.

Taking the trace over BB gives

ρA=∣ψ⟩⟨ψ∣ATr⁡(∣ϕ⟩⟨ϕ∣B).\rho_A = \lvert\psi\rangle\langle\psi\rvert_A \operatorname{Tr} \bigl( \lvert\phi\rangle\langle\phi\rvert_B \bigr).

Since ∣ϕ⟩\lvert\phi\rangle is normalized,

Tr⁡(∣ϕ⟩⟨ϕ∣)=1.\operatorname{Tr} \bigl( \lvert\phi\rangle\langle\phi\rvert \bigr) = 1.

Therefore

ρA=∣ψ⟩⟨ψ∣A.\rho_A = \lvert\psi\rangle\langle\psi\rvert_A.

A product pure state has pure reduced states.

  1. Compute the one-qubit reduced state of
∣Φ+⟩=12(∣00⟩+∣11⟩).\lvert\Phi^+\rangle = \frac{1}{\sqrt2} \bigl( \lvert00\rangle+\lvert11\rangle \bigr).
Solution

The density operator is

ρAB=12(∣00⟩⟨00∣+∣00⟩⟨11∣+∣11⟩⟨00∣+∣11⟩⟨11∣).\rho_{AB} = \frac12 \bigl( \lvert00\rangle\langle00\rvert +\lvert00\rangle\langle11\rvert +\lvert11\rangle\langle00\rvert +\lvert11\rangle\langle11\rvert \bigr).

Trace over BB. The two off-diagonal terms vanish because ⟨1∣0⟩=0\langle1\vert0\rangle=0 and ⟨0∣1⟩=0\langle0\vert1\rangle=0:

ρA=12(∣0⟩⟨0∣+∣1⟩⟨1∣)=12I.\rho_A = \frac12 \bigl( \lvert0\rangle\langle0\rvert +\lvert1\rangle\langle1\rvert \bigr) = \frac12 I.

The same calculation gives ρB=I/2\rho_B=I/2.

  1. The classically correlated state
ρAB=12∣00⟩⟨00∣+12∣11⟩⟨11∣\rho_{AB} = \frac12\lvert00\rangle\langle00\rvert +\frac12\lvert11\rangle\langle11\rvert

has the same one-qubit reduced states as ∣Φ+⟩\lvert\Phi^+\rangle. Verify this, and state one global difference between the two states.

Solution

Trace over BB term by term:

Tr⁡B(∣00⟩⟨00∣)=∣0⟩⟨0∣,\operatorname{Tr}_B \bigl( \lvert00\rangle\langle00\rvert \bigr) = \lvert0\rangle\langle0\rvert,

and

Tr⁡B(∣11⟩⟨11∣)=∣1⟩⟨1∣.\operatorname{Tr}_B \bigl( \lvert11\rangle\langle11\rvert \bigr) = \lvert1\rangle\langle1\rvert.

Therefore

ρA=12I,ρB=12I.\rho_A = \frac12 I, \qquad \rho_B = \frac12 I.

The global states are nevertheless different. The Bell state is a pure entangled state with coherence between ∣00⟩\lvert00\rangle and ∣11⟩\lvert11\rangle. The classically correlated state is mixed and has no such off-diagonal coherence.

  1. Let
∣GHZ3⟩=12(∣000⟩+∣111⟩).\lvert\mathrm{GHZ}_3\rangle = \frac{1}{\sqrt2} \bigl( \lvert000\rangle+\lvert111\rangle \bigr).

Trace out qubit CC and compute ρAB\rho_{AB}.

Solution

The density operator contains four terms:

ρABC=12(∣000⟩⟨000∣+∣000⟩⟨111∣+∣111⟩⟨000∣+∣111⟩⟨111∣).\rho_{ABC} = \frac12 \bigl( \lvert000\rangle\langle000\rvert +\lvert000\rangle\langle111\rvert +\lvert111\rangle\langle000\rvert +\lvert111\rangle\langle111\rvert \bigr).

Tracing over CC kills the cross terms because the CC labels are orthogonal:

⟨1∣0⟩=0,⟨0∣1⟩=0.\langle1\vert0\rangle=0, \qquad \langle0\vert1\rangle=0.

The remaining terms are

ρAB=12∣00⟩⟨00∣+12∣11⟩⟨11∣.\rho_{AB} = \frac12 \lvert00\rangle\langle00\rvert +\frac12 \lvert11\rangle\langle11\rvert.

Thus the two-qubit reduction is a separable classical mixture, not a Bell state.

  1. Let
∣W3⟩=13(∣100⟩+∣010⟩+∣001⟩).\lvert W_3\rangle = \frac{1}{\sqrt3} \bigl( \lvert100\rangle+\lvert010\rangle+\lvert001\rangle \bigr).

Trace out qubit CC and compute ρAB\rho_{AB}.

Solution

Group the state by the value of qubit CC:

∣W3⟩=13(∣10⟩AB+∣01⟩AB)∣0⟩C+13∣00⟩AB∣1⟩C.\lvert W_3\rangle = \frac{1}{\sqrt3} \bigl( \lvert10\rangle_{AB} +\lvert01\rangle_{AB} \bigr) \lvert0\rangle_C +\frac{1}{\sqrt3} \lvert00\rangle_{AB}\lvert1\rangle_C.

The two CC states are orthogonal, so the trace over CC removes cross terms between the C=0C=0 and C=1C=1 branches. The C=0C=0 branch has norm squared 2/32/3 and normalized ABAB state

∣Ψ+⟩=12(∣01⟩+∣10⟩).\lvert\Psi^+\rangle = \frac{1}{\sqrt2} \bigl( \lvert01\rangle+\lvert10\rangle \bigr).

Therefore

ρAB=23∣Ψ+⟩⟨Ψ+∣+13∣00⟩⟨00∣.\rho_{AB} = \frac23 \lvert\Psi^+\rangle\langle\Psi^+\rvert +\frac13 \lvert00\rangle\langle00\rvert.

This reduction remains partly coherent in the one-excitation subspace.

  1. For ∣Φ+⟩\lvert\Phi^+\rangle, use the reduced state to compute the probabilities for measuring ZZ on subsystem AA. Then compare with measuring the parity observable Z⊗ZZ\otimes Z.
Solution

From Exercise 2,

ρA=12I.\rho_A=\frac12 I.

The projectors for measuring ZZ are

P0=∣0⟩⟨0∣,P1=∣1⟩⟨1∣.P_0=\lvert0\rangle\langle0\rvert, \qquad P_1=\lvert1\rangle\langle1\rvert.

Thus

p(0)=Tr⁡(ρAP0)=12,p(1)=Tr⁡(ρAP1)=12.p(0) = \operatorname{Tr}(\rho_A P_0) = \frac12, \qquad p(1) = \operatorname{Tr}(\rho_A P_1) = \frac12.

The local outcome is random. But the joint observable has perfect correlation:

(Z⊗Z)∣Φ+⟩=∣Φ+⟩.(Z\otimes Z)\lvert\Phi^+\rangle = \lvert\Phi^+\rangle.

Parity is +1+1 with certainty, so ⟨Z⊗Z⟩=1\langle Z\otimes Z\rangle=1. Measuring each qubit’s ZZ separately gives the finer outcomes 0000 and 1111, each with probability 1/21/2. An ideal Lüders parity measurement preserves this Bell state, whereas separately measuring both qubits and forgetting their outcomes gives the mixture in Exercise 3. The observable’s expectation alone does not specify a measurement’s disturbance; see local and global observables.

  1. Construct a purification of
ρA=p∣0⟩⟨0∣+(1−p)∣1⟩⟨1∣,0≤p≤1,\rho_A = p\lvert0\rangle\langle0\rvert +(1-p)\lvert1\rangle\langle1\rvert, \qquad 0\le p\le1,

and verify that tracing out the reference system gives ρA\rho_A.

Solution

Introduce a reference qubit RR and define

∣Ψ⟩AR=p ∣0⟩A∣0⟩R+1−p ∣1⟩A∣1⟩R.\lvert\Psi\rangle_{AR} = \sqrt p\,\lvert0\rangle_A\lvert0\rangle_R +\sqrt{1-p}\, \lvert1\rangle_A\lvert1\rangle_R.

The projector is

∣Ψ⟩⟨Ψ∣=p∣00⟩⟨00∣+p(1−p) ∣00⟩⟨11∣+p(1−p) ∣11⟩⟨00∣+(1−p)∣11⟩⟨11∣.\lvert\Psi\rangle\langle\Psi\rvert = p\lvert00\rangle\langle00\rvert +\sqrt{p(1-p)}\, \lvert00\rangle\langle11\rvert +\sqrt{p(1-p)}\, \lvert11\rangle\langle00\rvert +(1-p)\lvert11\rangle\langle11\rvert.

Tracing over RR removes the cross terms because the reference states are orthogonal. The result is

Tr⁡R(∣Ψ⟩⟨Ψ∣)=p∣0⟩⟨0∣+(1−p)∣1⟩⟨1∣=ρA.\operatorname{Tr}_R \bigl( \lvert\Psi\rangle\langle\Psi\rvert \bigr) = p\lvert0\rangle\langle0\rvert +(1-p)\lvert1\rangle\langle1\rvert = \rho_A.
  1. Let
ρAB=14(I⊗I+r Z⊗I+s I⊗Z+t Z⊗Z).\rho_{AB} = \frac14 \bigl( I\otimes I +r\,Z\otimes I +s\,I\otimes Z +t\,Z\otimes Z \bigr).

For real r,s,tr,s,t, find the conditions for this matrix to be positive. Compute ρA\rho_A and identify which coefficients are invisible to measurements on AA alone.

Solution

The matrix is diagonal. Its four eigenvalues are

λab=1+rza+szb+tzazb4,z0=1,z1=−1.\lambda_{ab}=\frac{1+r z_a+s z_b+t z_a z_b}{4}, \qquad z_0=1,\quad z_1=-1.

All four must be nonnegative; the trace is already one. These inequalities restrict r,s,tr,s,t jointly, not just one parameter at a time. For example, r=s=1,t=0r=s=1,t=0 gives a negative eigenvalue and is not a state. Next use

Tr⁡(I)=2,Tr⁡(Z)=0.\operatorname{Tr}(I)=2, \qquad \operatorname{Tr}(Z)=0.

Then

ρA=Tr⁡BρAB=14(2I+2rZ+sI Tr⁡Z+tZ Tr⁡Z)=12(I+rZ).\begin{aligned} \rho_A &= \operatorname{Tr}_B\rho_{AB}\\ &= \frac14 \bigl( 2I +2rZ +sI\,\operatorname{Tr}Z +tZ\,\operatorname{Tr}Z \bigr)\\ &= \frac12 \bigl( I+rZ \bigr). \end{aligned}

The coefficients ss and tt do not appear in ρA\rho_A. Similarly, ρB=(I+sZ)/2\rho_B=(I+sZ)/2. The joint state is a product exactly when t=rst=rs; other allowed values of tt describe classical correlations in this diagonal family.

  1. In the ordered qubit–qutrit basis, reduce the complex state
∣ψ⟩=∣00⟩+i∣11⟩+∣12⟩3.|\psi\rangle=\frac{|00\rangle+i|11\rangle+|12\rangle}{\sqrt3}.

Compute both local purities and the expectation of Y12=−i∣1⟩⟨2∣+i∣2⟩⟨1∣Y_{12}=-i|1\rangle\langle2|+i|2\rangle\langle1| on BB.

Solution

The coefficient array is C=(1000i1)/3C=\begin{pmatrix}1&0&0\\0&i&1\end{pmatrix}/\sqrt3. Direct contraction gives

ρA=13(1002),ρB=13(10001i0−i1).\rho_A=\frac13\begin{pmatrix}1&0\\0&2\end{pmatrix}, \qquad \rho_B=\frac13\begin{pmatrix}1&0&0\\0&1&i\\0&-i&1\end{pmatrix}.

Both have nonzero eigenvalues 1/3,2/31/3,2/3, hence purity 5/95/9. The local expectation is

Tr⁡(ρBY12)=−23.\operatorname{Tr}(\rho_B Y_{12})=-\frac23.

In this coefficient convention ρB=CTC∗\rho_B=C^{\mathsf T}C^*, not C†CC^\dagger C. The latter would reverse the imaginary entries and the sign of this measured expectation, while leaving the eigenvalues and purity unchanged. This is why a complex example tests more than normalization alone.

  • L. E. Ballentine, Quantum Mechanics: A Modern Development, 2nd ed., World Scientific, 2014.
  • H.-P. Breuer and F. Petruccione, The Theory of Open Quantum Systems, Oxford University Press, 2002.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, 2010.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.