Skip to content

Partial Trace Exercises

These exercises practice the partial trace as a computational rule and as a physical rule for local statistics. 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 the joint measurement of 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.

Therefore ⟨Z⊗Z⟩=1\langle Z\otimes Z\rangle=1. Local reduced states give local statistics, not all joint correlations.

  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∣.\begin{aligned} \lvert\Psi\rangle\langle\Psi\rvert &= p\lvert00\rangle\langle00\rvert +\sqrt{p(1-p)}\, \lvert00\rangle\langle11\rvert\\ &\quad +\sqrt{p(1-p)}\, \lvert11\rangle\langle00\rvert +(1-p)\lvert11\rangle\langle11\rvert. \end{aligned}

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).

Compute ρA\rho_A and identify which coefficient is invisible to measurements on AA alone.

Solution

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. In particular, the correlation coefficient tt is invisible to measurements on AA alone even though it affects joint statistics.

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