Computer Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Quantum information and its processing

Introduction to how quantum states carry, transform and limit information: qubits, ensembles, density operators, entropy, Holevo and Schumacher theorems, and basic processing tools.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Quantum information and its processing explain how information is stored and moved when physical systems follow quantum rules. Engineers use these ideas when designing quantum communication links, quantum memory, quantum error correction, or algorithms that run on near-term quantum hardware.

Key ideas

Start with definitions and build up.

  • Qubit: a two-level quantum system with states described by a unit vector in a 2-dimensional complex Hilbert space H₂. Representations: state vector |ψ> = α|0> + β|1>, with complex α, β and |α|² + |β|² = 1. Define basis states |0> and |1> as orthonormal.

  • Pure state: a quantum state known exactly and represented by a normalized state vector |ψ>. Equivalent density operator: ρ = |ψ><ψ|.

  • Mixed state: a probabilistic ensemble {p_i, |ψ_i>} of pure states where we know only the probabilities. Represented by the density operator (density matrix) ρ = Σ_i p_i |ψ_i><ψ_i|. Density operators are positive semidefinite, Hermitian, and have trace 1.

  • Projective (von Neumann) measurement: measurement described by a set of orthogonal projectors {P_k} with Σ_k P_k = I. Outcome k occurs with probability p_k = Tr(P_k ρ) and post-measurement state (when outcome k obtained) is P_k ρ P_k / p_k. More generally, a POVM is specified by measurement operators {M_k} (or effects E_k = M_k† M_k) with Σ_k E_k = I; p_k = Tr(E_k ρ) and, under Lüders rule, the post-measurement state is M_k ρ M_k† / p_k.

  • Unitary evolution (quantum gate): closed-system evolution represented by a unitary operator U (U†U = UU† = I). State transforms as |ψ> → U|ψ> or for density operators ρ → U ρ U†. No-cloning theorem: there is no unitary (nor any CPTP map) that can copy an arbitrary unknown quantum state; exact cloning is only possible for sets of mutually orthogonal states.

  • Partial trace: given a joint system AB with density ρ_AB, the reduced state of subsystem A is ρ_A = Tr_B(ρ_AB). This models ignoring (tracing out) subsystem B.

    Derivation commonly asked: compute ρ_A for a Bell state |Φ+> = (|00> + |11>)/√2. Steps: write ρ_AB = |Φ+><Φ+|, expand in basis |00>, |01>, |10>, |11>, perform trace over B by summing diagonal blocks for B basis states. Result ρ_A = I/2 (maximally mixed).

  • Entanglement: a pure joint state |ψ_AB> is entangled if it cannot be written as a tensor product |φ_A> ⊗ |χ_B>. For an entangled pure state, reduced states are mixed.

  • Von Neumann entropy: S(ρ) = -Tr(ρ log ρ). This generalises classical Shannon entropy to quantum states. It measures uncertainty or information content of a quantum state. Units: bits if log base 2, nats if natural log.

  • Quantum mutual information between systems A and B: I(A:B) = S(ρ_A) + S(ρ_B) - S(ρ_AB). Measures total correlations (classical + quantum).

  • Holevo bound (Holevo's theorem): For an ensemble {p_i, ρ_i} used to encode classical variable X on quantum states ρ_i (average state ρ = Σ_i p_i ρ_i), the accessible classical mutual information between X and the outcome of any measurement M satisfies I(X:Y) ≤ χ, where the Holevo quantity χ = S(ρ) - Σ_i p_i S(ρ_i). This limits how much classical information can be extracted from quantum states.

    State assumptions: sender prepares states conditioned on a classical variable; the receiver may perform any POVM, including collective measurements across many copies (no pre-shared entanglement is assumed). For n i.i.d. uses, any joint measurement satisfies I(X^n:Y) ≤ n χ, so the per-copy accessible information is ≤ χ; with suitable block coding and collective measurements one can asymptotically approach χ (HSW theorem).

  • Schumacher quantum noiseless coding (quantum source coding): A source emits many independent copies of pure-state ensemble {p_i, |ψ_i>}, average density ρ. For large n, the n-copy space has a typical subspace of dimension ~2^{n S(ρ)} (S in bits). Schumacher's theorem: asymptotically the states can be compressed into n S(ρ) qubits (per n signals) with high fidelity, and not reliably compressed below S(ρ) qubits per signal. This is the quantum analogue of Shannon compression.

    Key assumption: independent and identically distributed (i.i.d.) source; allowed small fidelity error that vanishes as n → ∞.

  • Fidelity: measure of closeness between states. For pure |ψ> and ρ, fidelity F = <ψ|ρ|ψ>. For two general states ρ and σ, Uhlmann fidelity F(ρ,σ) = (Tr sqrt{sqrt{ρ} σ sqrt{ρ}})^2 (some texts use square root), used to quantify compression and error correction performance.

  • Trace distance: D(ρ,σ) = (1/2) Tr |ρ - σ|. Operational meaning: maximal distinguishability under measurements.

  • Quantum channel: completely positive, trace-preserving (CPTP) linear map E acting on density operators. Representations: Kraus operators E(ρ)=Σ_k A_k ρ A_k† with Σ_k A_k† A_k = I, or Stinespring dilation as unitary on larger space plus trace out.

Drawings to include in answers (describe exactly):

  • To show partial trace: draw two boxes labelled A and B; inside a circle place the joint state |Φ+>. Draw arrows from joint density matrix to summation over basis states of B for the trace operation, label resulting ρ_A = I/2.
  • For Schumacher: draw many (n) identical sources emitting |ψ_i>; draw encoder mapping n-qubit space to typical subspace of dimension ~2^{nS}; label compressed output as ~nS qubits, show decoder reconstructing with high fidelity.

Formulas

|ψ> = α|0> + β|1> — α, β complex amplitudes, unitless, when state is pure qubit.

ρ = Σ_i p_i |ψ_i><ψ_i| — ρ is density operator, p_i dimensionless probabilities (Σ_i p_i = 1), applies for ensembles.

p_k = Tr(P_k ρ) — probability of measurement outcome k, dimensionless, for projective measurements.

ρ_A = Tr_B(ρ_AB) — reduced state of subsystem A, dimensionless, applies when discarding subsystem B.

S(ρ) = -Tr(ρ log ρ) — von Neumann entropy, units bits if log base 2; applies for any density operator ρ.

χ = S(ρ) - Σ_i p_i S(ρ_i) — Holevo quantity, bits when logs base 2; gives upper bound on classical mutual information accessible.

E(ρ) = Σ_k A_k ρ A_k† with Σ_k A_k† A_k = I — Kraus representation of a quantum channel; A_k are linear operators on the system Hilbert space.

F(|ψ>, ρ) = <ψ|ρ|ψ> — fidelity for pure/mixed states, dimensionless, 0 ≤ F ≤ 1.

D(ρ, σ) = (1/2) Tr |ρ - σ| — trace distance, dimensionless, 0 ≤ D ≤ 1.

Worked examples

Example 1 — Reduced state of a Bell pair (model-answer style):

Question: Compute the reduced density matrix ρ_A for |Φ+> = (|00> + |11>)/√2 and its entropy.

Answer (step-by-step):

  1. Write ρ_AB = |Φ+><Φ+| = (1/2)(|00> + |11>)(<00| + <11|).
  2. Expand: ρ_AB = (1/2)(|00><00| + |00><11| + |11><00| + |11><11|).
  3. Partial trace over B: choose B-basis {|0>,|1>} and compute ρ_A = Σ_{b=0,1} (I_A ⊗ <b|) ρ_AB (I_A ⊗ |b>).
  4. Terms: Tr_B(|00><00|) = |0><0|, Tr_B(|11><11|) = |1><1|; cross terms Tr_B(|00><11|) = 0 because <0|1> = 0, similarly the other cross term vanishes.
  5. So ρ_A = (1/2)(|0><0| + |1><1|) = I_A/2.
  6. Von Neumann entropy: eigenvalues of ρ_A are {1/2, 1/2}, so S(ρ_A) = -2*(1/2) log_2(1/2) = 1 bit.

Final: ρ_A = I/2 and S(ρ_A) = 1 bit. This shows that for an entangled pure pair, subsystem is mixed.

Example 2 — Schumacher compression (model-answer outline):

Question: Explain Schumacher quantum noiseless coding and state what compression rate is achievable for ensemble with average density ρ.

Answer (model):

  1. For n independent emissions, the joint density is ρ^{⊗n}. Typical subspace theorem: for any ε>0, for large n there exists a subspace T_n of H^{⊗n} with dimension ≈ 2^{n(S(ρ)+δ)} such that Tr(Π_T ρ^{⊗n}) ≥ 1 - ε, where Π_T is projector onto T_n and δ → 0 as n → ∞.
  2. Encoder: project into T_n and send only the subspace (log dimension ≈ n S(ρ) qubits). Decoder: embed back into original space and reconstruct. Fidelity ≥ 1 - ε.
  3. Converse: compressing to fewer than n S(ρ) qubits reliably is impossible in the asymptotic limit.
  4. Therefore achievable rate = S(ρ) qubits per signal.

Conclude: Schumacher theorem gives the quantum source coding rate S(ρ).

Common mistakes

  • Forgetting the trace-preserving condition on Kraus operators (Σ A_k† A_k = I).
  • Confusing von Neumann entropy units (bits vs nats) and forgetting to state log base.
  • Incorrectly performing partial trace: summing off-diagonal blocks as if they survived when basis states are orthogonal.

For your exam

Question types you will see: definitions (qubit, density operator, CPTP map), short notes (Holevo bound, Schumacher theorem), derivations (compute partial trace, show reduced state of Bell pair), proofs/outlines (derive form of Kraus representation, sketch proof of Schumacher theorem), numericals (compute S(ρ) for a given 2×2 density matrix), diagrams (draw encoding/decoding for compression). Full-marks answers must: state definitions precisely, show all algebra steps, state assumptions (e.g., i.i.d. source), include final numerical values with units (bits), and if asked for an outline give key lemmas (typical subspace) and conclusions.

Quick check

  1. Define density operator and list its three properties.
  2. For ensemble {1/2, |0>, 1/2, |1>}, write ρ and compute S(ρ) (base 2).
  3. State the Holevo bound in one line.

Answers: 1) ρ = Σ_i p_i |ψ_i><ψ_i|; (i) Hermitian ρ† = ρ, (ii) positive semidefinite ρ ≥ 0, (iii) unit trace Tr ρ = 1. 2) ρ = I/2, S(ρ) = 1 bit. 3) I(X:Y) ≤ χ = S(ρ) - Σ_i p_i S(ρ_i).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?