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θ20+eiϕsinθ21|\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=(0ii0)Y=\begin{pmatrix}0&-i\\i&0\end{pmatrix}, Z=(1001)Z=\begin{pmatrix}1&0\\0&-1\end{pmatrix}
H=12(1111)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(θ)=eiθn^σ/2=cosθ2Iisinθ2n^σ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.
CNOTa,b=a,ab|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 Em0E_m\ge0, mEm=I\sum_m E_m=I, p(m)=Tr(Emρ)p(m)=\operatorname{Tr}(E_m\rho); Em=KmKmE_m=K_m^\dagger K_m.
Basis change trick: to measure Pauli PP, rotate (X:HX{:}\,H; Y:SHY{:}\,S^\dagger H) then measure ZZ.
Expectation: P=p(+1)p(1)\langle P\rangle = p(+1)-p(-1).

Entanglement (L03)

Bell states: Φ±=00±112|\Phi^\pm\rangle=\tfrac{|00\rangle\pm|11\rangle}{\sqrt2}, Ψ±=01±102|\Psi^\pm\rangle=\tfrac{|01\rangle\pm|10\rangle}{\sqrt2}.
Prepare Φ+|\Phi^+\rangle: HH on q0, CNOT(0\to1).
Schmidt: ψAB=iλiiAiB|\psi\rangle_{AB}=\sum_i\lambda_i|i_A\rangle|i_B\rangle, λi0\lambda_i\ge0.
Entangled \Leftrightarrow Schmidt rank >1>1 \Leftrightarrow ρA\rho_A mixed.
CHSH: classical S2|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ρ21\operatorname{Tr}\rho^2\le1 (=1 iff pure). Partial trace: ρA=TrBρ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, iKiKi=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=1pIK_0=\sqrt{1-p}\,I, K1=pXK_1=\sqrt p\,X (phase flip: ZZ).
Depolarizing: E(ρ)=(1p)ρ+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}; γ=1et/T1\gamma=1-e^{-t/T_1}.
Phase damping: λ=1et/Tϕ\lambda = 1-e^{-t/T_\phi}; 1T2=12T1+1Tϕ\frac{1}{T_2}=\frac{1}{2T_1}+\frac{1}{T_\phi}, so T22T1T_2\le 2T_1.

Handy Linear Algebra

Spectral: Hermitian A=aaPaA=\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: (AB)(CD)=ACBD(A\otimes B)(C\otimes D)=AC\otimes BD; Tr(AB)=TrATrB\operatorname{Tr}(A\otimes B)=\operatorname{Tr} A\,\operatorname{Tr} B.
Commutator: [A,B]=ABBA[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.