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.

Formula Sheet 1 — Foundations: States, Gates, Measurement, Density Operators (L01–L06)

States & Bloch Sphere (L01–L02)

Qubit: ∣ψ⟩=α∣0⟩+β∣1⟩|\psi\rangle=\alpha|0\rangle+\beta|1\rangle, ∣α∣2+∣β∣2=1|\alpha|^2+|\beta|^2=1.
Bloch: ∣ψ⟩=cos⁡θ2∣0⟩+eiϕsin⁡θ2∣1⟩|\psi\rangle=\cos\frac\theta2|0\rangle+e^{i\phi}\sin\frac\theta2|1\rangle.
Bloch vector: r⃗=(sin⁡θcos⁡ϕ,sin⁡θsin⁡ϕ,cos⁡θ)\vec r=(\sin\theta\cos\phi,\sin\theta\sin\phi,\cos\theta).
ρ=12(I+r⃗⋅σ⃗)\rho=\tfrac12(I+\vec r\cdot\vec\sigma); pure ⇔∣r⃗∣=1\Leftrightarrow |\vec r|=1.
Global phase unobservable; relative phase is everything.
nn qubits: 2n2^n amplitudes; no-cloning: no U∣ψ⟩∣0⟩=∣ψ⟩∣ψ⟩U|\psi\rangle|0\rangle=|\psi\rangle|\psi\rangle for all ψ\psi.

Common Gates (L04)

X=(0110)X=\begin{pmatrix}0&1\\1&0\end{pmatrix}, Y=(0−ii0)Y=\begin{pmatrix}0&-i\\i&0\end{pmatrix}, Z=(100−1)Z=\begin{pmatrix}1&0\\0&-1\end{pmatrix}
H=12(111−1)H=\tfrac1{\sqrt2}\begin{pmatrix}1&1\\1&-1\end{pmatrix}, S=diag(1,i)S=\text{diag}(1,i), T=diag(1,eiπ/4)T=\text{diag}(1,e^{i\pi/4}).
Rotations: Rn(θ)=e−iθ n^⋅σ⃗/2=cos⁡θ2I−isin⁡θ2 n^⋅σ⃗R_n(\theta)=e^{-i\theta\, \hat n\cdot\vec\sigma/2}=\cos\frac\theta2 I - i\sin\frac\theta2\,\hat n\cdot\vec\sigma.
CNOT∣a,b⟩=∣a,a⊕b⟩|a,b\rangle=|a, a\oplus b\rangle; CZ=diag(1,1,1,−1)=\text{diag}(1,1,1,-1).
Identities: HXH=ZHXH=Z, HZH=XHZH=X, XZ=−ZXXZ=-ZX, H2=IH^2=I.
Universality: {H,T,CNOT}\{H,T,\text{CNOT}\} or any entangling gate + all 1-qubit unitaries.
Euler: any U=eiαRz(β)Ry(γ)Rz(δ)U=e^{i\alpha}R_z(\beta)R_y(\gamma)R_z(\delta).

Measurement (L01, L03)

Projective: p(m)=⟨ψ∣Pm∣ψ⟩p(m)=\langle \psi| P_m|\psi\rangle; post-state Pm∣ψ⟩/p(m)P_m|\psi\rangle/\sqrt{p(m)}.
POVM: effects Em≥0E_m\ge0, ∑mEm=I\sum_m E_m=I, p(m)=Tr⁡(Emρ)p(m)=\operatorname{Tr}(E_m\rho); Em=Km†KmE_m=K_m^\dagger K_m.
Basis change trick: to measure Pauli PP, rotate (X: HX{:}\,H; Y: S†HY{:}\,S^\dagger H) then measure ZZ.
Expectation: ⟨P⟩=p(+1)−p(−1)\langle P\rangle = p(+1)-p(-1).

Entanglement (L03)

Bell states: ∣Φ±⟩=∣00⟩±∣11⟩2|\Phi^\pm\rangle=\tfrac{|00\rangle\pm|11\rangle}{\sqrt2}, ∣Ψ±⟩=∣01⟩±∣10⟩2|\Psi^\pm\rangle=\tfrac{|01\rangle\pm|10\rangle}{\sqrt2}.
Prepare ∣Φ+⟩|\Phi^+\rangle: HH on q0, CNOT(0→\to1).
Schmidt: ∣ψ⟩AB=∑iλi∣iA⟩∣iB⟩|\psi\rangle_{AB}=\sum_i\lambda_i|i_A\rangle|i_B\rangle, λi≥0\lambda_i\ge0.
Entangled ⇔\Leftrightarrow Schmidt rank >1>1 ⇔\Leftrightarrow ρA\rho_A mixed.
CHSH: classical ∣S∣≤2|S|\le2; quantum max 222\sqrt2 (Tsirelson).
Teleportation: 1 ebit + 2 classical bits →\to 1 qubit.
Superdense coding: 1 ebit + 1 qubit →\to 2 classical bits.

Density Operators (L06)

ρ=∑ipi∣ψi⟩⟨ψi∣\rho=\sum_i p_i|\psi_i\rangle\langle \psi_i|; ρ≥0\rho\ge0, Tr⁡ρ=1\operatorname{Tr}\rho=1.
Purity Tr⁡ρ2≤1\operatorname{Tr}\rho^2\le1 (=1 iff pure). Partial trace: ρA=Tr⁡BρAB\rho_A=\operatorname{Tr}_{B}\rho_{AB}.
Evolution: ρ↦UρU†\rho\mapsto U\rho U^\dagger; open: E(ρ)=∑iKiρKi†\mathcal E(\rho)=\sum_i K_i\rho K_i^\dagger, ∑iKi†Ki=I\sum_iK_i^\dagger K_i=I (CPTP).
Fidelity: F(ρ,σ)=(Tr⁡ρ σρ)2F(\rho,\sigma)=\left(\operatorname{Tr}\sqrt{\sqrt\rho\,\sigma\sqrt\rho}\right)^2; pure vs ρ\rho: F=⟨ψ∣ρ∣ψ⟩F=\langle \psi|\rho|\psi\rangle.

Standard Noise Channels (L06–L07)

Bit flip: K0=1−p IK_0=\sqrt{1-p}\,I, K1=p XK_1=\sqrt p\,X (phase flip: ZZ).
Depolarizing: E(ρ)=(1−p)ρ+p3(XρX+YρY+ZρZ)\mathcal E(\rho)=(1-p)\rho+\tfrac p3(X\rho X+Y\rho Y+Z\rho Z).
Amplitude damping: K0=(1001−γ)K_0=\begin{pmatrix}1&0\\0&\sqrt{1-\gamma}\end{pmatrix}, K1=(0γ00)K_1=\begin{pmatrix}0&\sqrt\gamma\\0&0\end{pmatrix}; γ=1−e−t/T1\gamma=1-e^{-t/T_1}.
Phase damping: λ=1−e−t/Tϕ\lambda = 1-e^{-t/T_\phi}; 1T2=12T1+1Tϕ\frac{1}{T_2}=\frac{1}{2T_1}+\frac{1}{T_\phi}, so T2≤2T1T_2\le 2T_1.

Handy Linear Algebra

Spectral: Hermitian A=∑aa PaA=\sum_a a\,P_a; f(A)=∑af(a)Paf(A)=\sum_a f(a)P_a.
eiθAe^{i\theta A} for A2=IA^2=I: cos⁡θ I+isin⁡θ A\cos\theta\, I + i\sin\theta\, A.
Tensor: (A⊗B)(C⊗D)=AC⊗BD(A\otimes B)(C\otimes D)=AC\otimes BD; Tr⁡(A⊗B)=Tr⁡A Tr⁡B\operatorname{Tr}(A\otimes B)=\operatorname{Tr} A\,\operatorname{Tr} B.
Commutator: [A,B]=AB−BA[A,B]=AB-BA; Paulis: [σa,σb]=2iεabcσc[\sigma_a,\sigma_b]=2i\varepsilon_{abc}\sigma_c.

Usage note. Everything on this sheet is fair game on quizzes without derivation; exams allow this sheet. Cross-references (L##) point to the lecture where each result is derived. Textbook: Nielsen & Chuang, Chs. 1–2, 8.