Skip to content

Reference, Problems, and Notebooks

Reference material is useful only when its role is clear. A formula sheet supports recall, a state catalog supports recognition, a diagnostic table supports method selection, a problem set supports deliberate practice, and a notebook supports reproducible verification. None replaces the canonical explanation of why a result is true.

This chapter routes readers among those tasks and supplies a common validation protocol. When a lookup uncovers a conceptual gap, follow the canonical links back to the derivation before applying the formula.

NeedCanonical pageWhat it provides
recall notation or an identityFormula Sheetcompact formulas with conventions and canonical links
recognize a standard state familyCommon Composite Statesproduct, Bell, multipartite, Fock, squeezed, determinant, and permanent templates
choose an entanglement testEntanglement Diagnostic Tablestate-class-specific diagnostics, conclusions, and limitations
practice tensor products and local operatorsTensor Product Exercisessolved basis, matrix, commutator, and coupled-system problems
practice reductions and local statisticsPartial Trace Exercisessolved product, Bell, multipartite, measurement, and purification problems
practice exchange symmetryIdentical Particle Exercisessolved symmetrization, determinant, exclusion, spin, and occupation problems
practice occupation-space operatorsFock Space Exercisessolved ladder, number, fermionic-sign, Hamiltonian, and commutator problems
design reproducible calculationsComputational Notebooksnotebook specifications, conventions, tests, and acceptance criteria
SituationStart hereEscalate when…
a convention or sign is uncertainformula sheetthe formula’s assumptions are unclear
a state resembles a familiar templatecommon statesthe partition or normalization differs
the goal is to prove entanglementdiagnostic tablethe state lies outside the listed sufficient conditions
the algebra feels fragilesolved exercisesthe problem introduces a new representation or domain issue
a matrix is larger than hand calculationnotebook specificationsconvergence, sparsity, or regulator dependence matters

The escalation rule protects the one-canonical-home policy. Reference entries point to derivations; they do not silently become second derivations.

The Formula Sheet collects identities for tensor products, partial traces, Schmidt decompositions, entropies, exchange projectors, Fock space, mode operators, and second-quantized Hamiltonians.

Every use still requires a convention check. For example, the partial trace can be written

Tr⁡BX=∑j(IA⊗⟨j∣)X(IA⊗∣j⟩),\operatorname{Tr}_B X = \sum_j (I_A\otimes\langle j\rvert) X (I_A\otimes\lvert j\rangle),

but the basis {∣j⟩}\{\lvert j\rangle\} must be orthonormal and complete in the traced subsystem. The result is basis independent; an implementation with the wrong basis ordering is not.

The Common Composite States page helps recognize structure before doing algebra. A state label is not enough: the partition, normalization, phases, and allowed occupations must match.

For example,

∣Φ+⟩=∣00⟩+∣11⟩2\lvert\Phi^+\rangle = \frac{\lvert00\rangle+\lvert11\rangle}{\sqrt2}

is maximally entangled across the two-qubit split, while

∣+⟩⊗∣+⟩=∣00⟩+∣01⟩+∣10⟩+∣11⟩2\lvert+\rangle\otimes\lvert+\rangle = \frac{ \lvert00\rangle+\lvert01\rangle +\lvert10\rangle+\lvert11\rangle }{2}

is a product state despite having four computational-basis terms. Counting terms is not an entanglement diagnostic.

The Entanglement Diagnostic Table separates state classes and claim strength. Typical first choices are:

  • Pure bipartite state: Schmidt rank.
  • Mixed two-qubit state: concurrence or PPT.
  • Low-dimensional mixed state: PPT criterion.
  • Experimental correlators: entanglement witness.
  • Gaussian state: covariance-matrix criterion.

These arrows mean “appropriate first tool,” not “universally necessary and sufficient.” A positive partial transpose is sufficient for separability only in specified low-dimensional bipartite settings and selected structured families.

The Tensor Product Exercises develop basis ordering, local operators, Kronecker products, commutators, and simple coupled Hamiltonians. The central bookkeeping identity is

(A⊗B)(C⊗D)=AC⊗BD,(A\otimes B)(C\otimes D) = AC\otimes BD,

when the operator products are defined. Consequently,

[A⊗I,I⊗B]=0.[A\otimes I,I\otimes B]=0.

A numerical answer can be correct in one tensor-product ordering and wrong in another, so every solution should state the basis order.

The Partial Trace Exercises cover product states, Bell states, multipartite reductions, local statistics, and purification. Core invariants are

Tr⁡ρA=1,ρA⪰0,\operatorname{Tr}\rho_A =1, \qquad \rho_A\succeq0,

and, for every operator OAO_A,

Tr⁡(ρAOA)=Tr⁡[ρAB(OA⊗IB)].\operatorname{Tr} (\rho_AO_A) = \operatorname{Tr} \left[ \rho_{AB}(O_A\otimes I_B) \right].

The second equality is the defining operational test of a correct reduction.

The Identical Particle Exercises move among exchange projectors, coordinate wavefunctions, Slater determinants, spin-spatial symmetry, and occupation notation.

For two particles,

Π±=12(I±P12),\Pi_\pm = \frac12(I\pm P_{12}),

with

Π±2=Π±,Π+Π−=0.\Pi_\pm^2=\Pi_\pm, \qquad \Pi_+\Pi_-=0.

The exercise set keeps two questions separate: whether a state obeys the correct exchange symmetry, and whether it is operationally entangled across a specified mode or region partition.

The Fock Space Exercises cover bosonic square-root factors, fermionic ordering signs, number operators, and one- and two-body Hamiltonians.

The minimal algebraic checks are

[ar,as†]=δrs,[a_r,a_s^\dagger] = \delta_{rs},

for bosons and

{cr,cs†}=δrs\{c_r,c_s^\dagger\} = \delta_{rs}

for fermions. A number-conserving bilinear obeys

[N^,dr†ds]=0.[\hat N,d_r^\dagger d_s]=0.

Correct local signs do not guarantee a correct many-mode calculation: the global fermionic mode order must remain fixed.

The Computational Notebooks page specifies a reproducible suite for basis ordering, partial traces, Schmidt decomposition, Bell correlations, small-chain entropy, fermionic signs, and second-quantized Hamiltonians.

A trustworthy notebook records:

  1. software and library versions;
  2. basis ordering and subsystem dimensions;
  3. physical conventions and units;
  4. deterministic inputs or random seeds;
  5. analytic benchmark cases;
  6. invariant and tolerance checks;
  7. convergence or cutoff studies when applicable;
  8. the distinction between exact identities and floating-point evidence.

Code output is evidence only after these checks pass.

For a candidate density matrix, verify

ρ=ρ†,Tr⁡ρ=1,λmin⁡(ρ)≥−τ,\rho=\rho^\dagger, \qquad \operatorname{Tr}\rho=1, \qquad \lambda_{\min}(\rho)\ge-\tau,

where τ\tau is a documented numerical tolerance. Also check

∥ρ−ρ†∥≤τ\lVert\rho-\rho^\dagger\rVert \le\tau

in a stated matrix norm. Renormalizing a badly formed matrix can hide an upstream error; report the pre-correction residuals.

For a pure-state vector ψ\psi represented numerically,

∣∥ψ∥22−1∣≤τ.\lvert \lVert\psi\rVert_2^2-1 \rvert \le\tau.

If the vector is reshaped into subsystem dimensions, verify that the product of those dimensions equals its total length and that the reshape follows the declared basis order.

If ρA=Tr⁡BρAB\rho_A=\operatorname{Tr}_B\rho_{AB}, test

Tr⁡ρA=Tr⁡ρAB,\operatorname{Tr}\rho_A = \operatorname{Tr}\rho_{AB},

Hermiticity and positivity, and several local-observable identities:

EA=Tr⁡(ρAOA),EAB=Tr⁡[ρAB(OA⊗IB)],ΔO=∣EA−EAB∣≤τ.\begin{aligned} E_A &= \operatorname{Tr}(\rho_AO_A), \\ E_{AB} &= \operatorname{Tr} \left[ \rho_{AB}(O_A\otimes I_B) \right], \\ \Delta_O &= \lvert E_A-E_{AB}\rvert \le\tau. \end{aligned}

Use more than one OAO_A. Identity, diagonal, and off-diagonal test operators catch different indexing mistakes.

Write a bipartite pure state in product bases as a coefficient matrix CC. Its singular-value decomposition is

C=UΣV†.C = U\Sigma V^\dagger.

The Schmidt coefficients are the singular values sks_k. Check

∑ksk2=1,\sum_k s_k^2=1,

and compare

ρA=CC†,ρB=C†C.\begin{aligned} \rho_A &=CC^\dagger, \\ \rho_B &=C^\dagger C. \end{aligned}

Their nonzero eigenvalues should agree with sk2s_k^2 to tolerance. Near-degenerate singular vectors are not individually stable, although the degenerate subspace and singular values can be stable. Tests should compare invariant subspaces or spectra rather than arbitrary phases and basis choices.

For every constructed observable or Hamiltonian, check Hermiticity:

∥H−H†∥≤τ.\lVert H-H^\dagger\rVert\le\tau.

For a claimed conserved quantity QQ, evaluate

∥[H,Q]∥max⁡(1,∥H∥∥Q∥)≤τ.\frac{ \lVert[H,Q]\rVert }{ \max(1,\lVert H\rVert\lVert Q\rVert) } \le\tau.

For fermionic matrices, test the canonical anticommutation relations over every mode pair, not only one diagonal example. For a second-quantized Hamiltonian, compare a small sector against an independently constructed first-quantized matrix whenever possible.

Before reporting entanglement, state:

  • the subsystem or mode partition;
  • whether the state is pure or mixed;
  • the diagnostic and its assumptions;
  • whether the result is necessary, sufficient, or both;
  • numerical tolerance or statistical confidence;
  • any postselection, symmetry restriction, or cutoff.

For a pure bipartite state, Schmidt rank greater than one is decisive. For a mixed state, one failed witness does not prove separability. For identical particles, exchange antisymmetry alone does not identify operational subsystems. For Gaussian states, covariance criteria require Gaussianity and a fixed quadrature convention.

The reference layer should remain compact and link outward:

Reference itemCanonical explanation
tensor-product identitiesTensor Product Foundations
product and entangled state definitionsProduct, Separable, and Entangled States
reduced density matricesReduced States and Partial Trace
Schmidt and mixed-state diagnosticsBipartite Entanglement
exchange symmetry and determinantsIdentical Particles and Exchange Symmetry
occupation sectorsFock Space and Occupation Number
creation, annihilation, and Hamiltonian liftsCreation, Annihilation, and Second Quantization
Gaussian and EPR conventionsContinuous Variables and Modes
field-specific interpretationEntanglement Across Fields

When a reference entry begins to require motivation, proof, or substantial caveats, improve the canonical article and link to it rather than growing a duplicate derivation.

First pass: read the relevant chapter home → solve two exercises without notes → check the supplied solutions → record the first incorrect assumption, not only the final algebraic error.

Exam review: use the Formula Sheet → classify examples with Common Composite States → choose tests with the Entanglement Diagnostic Table → solve a mixed set under time constraints.

Research onboarding: reproduce one analytic benchmark → implement the corresponding notebook checks → vary basis ordering and subsystem dimensions → document tolerances → follow the result back to its canonical theorem or derivation.

Many-body preparation: Identical Particle Exercises → Fock Space Exercises → Computational Notebooks.

  • Using a formula sheet as a substitute for assumptions. Every identity has a domain and convention.
  • Recognizing a state by the number of basis terms. Factorization and Schmidt structure matter, not term count.
  • Choosing a diagnostic before stating the state class. Pure, mixed, Gaussian, and identical-particle settings differ.
  • Checking only trace one. A density matrix must also be Hermitian and positive.
  • Silently clipping negative eigenvalues. Report residuals and determine whether they are numerical or conceptual.
  • Trusting a partial trace without local-observable checks. Index-order mistakes often preserve trace.
  • Comparing singular vectors in a degenerate subspace entry by entry. Compare spectra or invariant subspaces.
  • Testing one fermionic sign and assuming the convention is global. Check all mode pairs and ordering rules.
  • Reporting a notebook plot without acceptance criteria. A plausible curve is not a validation test.
  • Calling a failed witness proof of separability. Most witnesses are sufficient detectors, not complete classifiers.
  • Copying a derivation into reference material. Link to the canonical home and keep the lookup surface concise.
  • P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed., Oxford University Press, 1958.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
  • A. Peres, Quantum Theory: Concepts and Methods, Kluwer, 1995.
  • R. Horodecki et al., “Quantum entanglement,” Reviews of Modern Physics 81, 865–942, 2009.
  • G. H. Golub and C. F. Van Loan, Matrix Computations, 4th ed., Johns Hopkins University Press, 2013.
  • L. N. Trefethen and D. Bau III, Numerical Linear Algebra, SIAM, 1997.
  • A. L. Fetter and J. D. Walecka, Quantum Theory of Many-Particle Systems, Dover, 2003.
  • O. Gühne and G. Tóth, “Entanglement detection,” Physics Reports 474, 1–75, 2009.

Choose an appropriate first entanglement diagnostic for each case: a pure two-qutrit state, an arbitrary mixed two-qubit state, a measured state with only selected correlators, and a two-mode Gaussian state with known covariance matrix. State one limitation for each choice.

Solution
  • For the pure two-qutrit state, compute Schmidt rank or the reduced-state spectrum. This requires a pure-state assumption and a specified bipartition.
  • For the mixed two-qubit state, PPT is necessary and sufficient for separability; concurrence is also available for two qubits. Neither statement extends unchanged to arbitrary dimensions.
  • For selected experimental correlators, use a witness whose expectation can be reconstructed from those measurements. Failure to violate it does not prove separability.
  • For the two-mode Gaussian state, use the covariance-matrix partial-transpose criterion in a fixed quadrature convention. The covariance matrix is not complete without Gaussianity.

Exercise 2: Validate a candidate density matrix

Section titled “Exercise 2: Validate a candidate density matrix”

A numerical routine returns

ρε=(0.60.2+iε0.2−iε0.4).\rho_\varepsilon = \begin{pmatrix} 0.6&0.2+i\varepsilon\\ 0.2-i\varepsilon&0.4 \end{pmatrix}.

Show that it is Hermitian and trace one, and find the condition on ε\varepsilon for positivity.

Solution

The off-diagonal entries are conjugates, so the matrix is Hermitian, and its trace is one. A 2×22\times2 Hermitian matrix with positive diagonal entries is positive semidefinite exactly when its determinant is nonnegative:

det⁡ρε=(0.6)(0.4)−∣0.2+iε∣2=0.20−ε2.\begin{aligned} \det\rho_\varepsilon &= (0.6)(0.4) - \lvert0.2+i\varepsilon\rvert^2 \\ &= 0.20-\varepsilon^2. \end{aligned}

Therefore positivity requires

∣ε∣≤0.20.\lvert\varepsilon\rvert \le \sqrt{0.20}.

Trace and Hermiticity alone would not have caught a larger unphysical value.

A normalized bipartite coefficient matrix has singular values s1=3/2s_1=\sqrt{3}/2 and s2=1/2s_2=1/2. Compute the reduced-state spectrum, purity, and entanglement entropy.

Solution

The normalization check is

s12+s22=34+14=1.s_1^2+s_2^2 = \frac34+\frac14 =1.

The nonzero reduced-state eigenvalues are 3/43/4 and 1/41/4. Hence

Tr⁡(ρA2)=916+116=58,\operatorname{Tr}(\rho_A^2) = \frac{9}{16}+\frac{1}{16} = \frac58,

and

S(A)=−34ln⁡34−14ln⁡14.S(A) = -\frac34\ln\frac34 -\frac14\ln\frac14.

Because both Schmidt coefficients are nonzero, the pure state is entangled.

Give three independent checks for a routine that traces out the second qubit of a two-qubit density matrix. Explain what kind of error each can catch.

Solution
  1. Check Tr⁡ρA=Tr⁡ρAB\operatorname{Tr}\rho_A=\operatorname{Tr}\rho_{AB}. This catches missing or duplicated diagonal blocks.
  2. Check Hermiticity and positivity of ρA\rho_A. This catches asymmetric indexing and many invalid contractions.
  3. Compare local expectations for at least II, σz\sigma_z, and an off-diagonal operator such as σx\sigma_x:
Tr⁡(ρAσj)=Tr⁡[ρAB(σj⊗I)].\operatorname{Tr}(\rho_A\sigma_j) = \operatorname{Tr} \left[ \rho_{AB}(\sigma_j\otimes I) \right].

Diagonal tests catch population ordering; σx\sigma_x also probes retained coherences. A Bell state and a generic random positive state make useful benchmark cases.

Exercise 5: Acceptance tests for a fermionic Hamiltonian

Section titled “Exercise 5: Acceptance tests for a fermionic Hamiltonian”

List a minimal set of acceptance tests for a small-basis implementation of a number-conserving fermionic Hamiltonian.

Solution

A useful minimum is:

  1. Verify every canonical anticommutator to tolerance.
  2. Check H=H†H=H^\dagger.
  3. Construct N^=∑rcr†cr\hat N=\sum_r c_r^\dagger c_r and check [H,N^]=0[H,\hat N]=0.
  4. Confirm that the matrix is block diagonal by particle-number sector after the basis is sorted accordingly.
  5. Compare the vacuum, one-particle, and one small interacting sector against analytic or independently constructed matrices.
  6. Repeat after a unitary one-particle basis change and compare spectra.
  7. Record the global fermionic mode order and verify representative sign-sensitive matrix elements.

Together these tests probe the algebra, Hermiticity, conservation law, sector bookkeeping, basis covariance, and ordering signs. Passing only an eigenvalue spot check would leave several independent failure modes undetected.