06 / Real-world computing · LESSON 14 / 27 · 18 MIN
Density matrices, noise and fidelity.
Separate ideal state vectors from noisy hardware behavior.
ρ = Σⱼ pⱼ |ψⱼ⟩⟨ψⱼ| Tr(ρ) = 1
Represent uncertainty
A density matrix describes both pure states and classical mixtures. A pure state has Tr(ρ²)=1. The maximally mixed one-qubit state I/2 has purity 1/2. A coherent |+⟩ is not the same as a 50/50 mixture of |0⟩ and |1⟩.
Different errors, different channels
Dephasing suppresses off-diagonal coherence. Amplitude damping tends to relax |1⟩ toward |0⟩. Readout error corrupts reported bits. This lab’s circuit timeline is ideal state-vector physics; it does not simulate these hardware channels.
Evaluate without overclaiming
For a pure target |ψ⟩, fidelity is ⟨ψ|ρ|ψ⟩. Ideal agreement does not certify a physical device. Real experiments need shot statistics, calibration, noise models and uncertainty reporting.
CHECK YOUR UNDERSTANDING
Lesson quiz
Answer all 2 questions correctly. Unlimited retries.
0/2 answered
Checking your account…
