Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

QCQI - Chapter 2: Qubits, States & the Bloch Sphere

Learning Objectives

  • Parametrize pure states (θ,ϕ)(\theta,\phi) and read off Bloch components.

  • Connect SU(2)\mathrm{SU}(2) unitaries and SO(3)\mathrm{SO}(3) rotations.

  • Measure along X,Y,ZX,Y,Z via basis change and estimate expectations.

  • Perform single-qubit tomography and interpret ρ=12(I+r⃗⋅σ⃗)\rho=\frac{1}{2}(I+\vec r\cdot\vec\sigma).

State Parametrization

∣ψ(θ,ϕ)⟩=cos⁡θ2∣0⟩+eiϕsin⁡θ2∣1⟩|\psi(\theta,\phi)\rangle=\cos\frac{\theta}{2}|0\rangle+e^{i\phi}\sin\frac{\theta}{2}|1\rangle, r⃗=(sin⁡θcos⁡ϕ,sin⁡θsin⁡ϕ,cos⁡θ)\vec r=(\sin\theta\cos\phi,\sin\theta\sin\phi,\cos\theta).

Eureka! Two angles ⇒\Rightarrow two degrees of freedom (global phase drops out).

Unitaries as Rotations

U=Rz(α)Ry(β)Rz(γ)U=R_z(\alpha)R_y(\beta)R_z(\gamma); adjoint action rotates r⃗\vec r.

Eureka! SU(2)→SO(3)\mathrm{SU}(2)\to \mathrm{SO}(3): double-cover relation.

Measuring X,Y,ZX,Y,Z

Use HH (for XX) and S†HS^\dagger H (for YY) before ZZ-readout.

Estimate ⟨σk⟩=(N0−N1)/(N0+N1)\langle \sigma_k\rangle=(N_0-N_1)/(N_0+N_1).

Tomography

Collect ⟨X⟩,⟨Y⟩,⟨Z⟩\langle X\rangle,\langle Y\rangle,\langle Z\rangle.

Set ρ=12(I+r⃗⋅σ⃗)\rho=\frac{1}{2}(I+\vec r\cdot\vec\sigma); check purity Tr(ρ2)\mathrm{Tr}(\rho^2).

Eureka! Noise shrinks ∥r⃗∥\|\vec r\|: Bloch-ball radius encodes mixedness.

Schematics

Hands-on Notebook

Companion notebook (multi-backend): L02_QCQI_Ch02_Qubits_States_and_Bloch_Sphere

Set backend in the first cell to cirq, pennylane, braket, pyquil, or qiskit.

Mini-Lab

  • Plot (⟨X⟩,⟨Y⟩,⟨Z⟩)(\langle X\rangle,\langle Y\rangle,\langle Z\rangle) across θ\theta for fixed ϕ\phi.

  • Add noise; watch the Bloch vector shrink.

  • Compare tomography across two backends.