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 3 Detailed Summary: Multiple Qubits, Entanglement & Measurement

Learning Objectives

  • Build multi-qubit states using tensor products and identify product vs. entangled states.

  • Compute reduced states via partial trace and reason about local vs. global properties.

  • Prepare the Bell basis, evaluate correlations, and test the CHSH inequality.

  • Understand projective measurements on multi-qubit systems and readout correlations.

Tensor Products & Composite Systems

For systems AA and BB, the joint space is HAB=HAHB\mathcal{H}_{AB}=\mathcal{H}_A\otimes\mathcal{H}_B. A general pure two-qubit state is ψ=a00+b01+c10+d11,a2+b2+c2+d2=1. |\psi\rangle = a|00\rangle+b|01\rangle+c|10\rangle+d|11\rangle, \quad |a|^2+|b|^2+|c|^2+|d|^2=1.

Product vs. entangled. ψ|\psi\rangle is a product state iff the 2×22\times2 matrix M=(abcd)M=\begin{pmatrix}a&b\\ c&d\end{pmatrix} has rank 1 (i.e., adbc=0ad-bc=0).

Eureka! Entanglement is basis-independent: if adbc0ad-bc\neq 0 (pure two-qubit case), no single-qubit basis change can factor the state.

Reduced States & Partial Trace

For ρAB=ψ ⁣ψ\rho_{AB}=|\psi\rangle\!\langle \psi| (or mixed), the reduced states are ρA=TrB[ρAB],ρB=TrA[ρAB]. \rho_A=\operatorname{Tr}_B[\rho_{AB}],\qquad \rho_B=\operatorname{Tr}_A[\rho_{AB}]. For the Bell state Φ+=(00+11)/2|\Phi^+\rangle=(|00\rangle+|11\rangle)/\sqrt2, one finds ρA=ρB=I/2\rho_A=\rho_B=I/2.

Eureka! “Locally maximally mixed, globally pure” is a hallmark of bipartite entanglement.

Bell Basis & Correlations

The Bell states are Φ±=12(00±11),Ψ±=12(01±10). |\Phi^\pm\rangle=\tfrac{1}{\sqrt2}(|00\rangle\pm|11\rangle),\quad |\Psi^\pm\rangle=\tfrac{1}{\sqrt2}(|01\rangle\pm|10\rangle). They exhibit perfect (anti-)correlations along matching axes.

CHSH Inequality (Sketch)

Choose two measurement settings per party: A0,A1A_0,A_1 for Alice and B0,B1B_0,B_1 for Bob with outcomes ±1\pm1. Define correlators E(Ai,Bj)=AiBjE(A_i,B_j)=\langle A_i\otimes B_j\rangle. The CHSH quantity is S=E(A0,B0)+E(A0,B1)+E(A1,B0)E(A1,B1). S=E(A_0,B_0)+E(A_0,B_1)+E(A_1,B_0)-E(A_1,B_1). Local hidden variable (LHV) theories obey S2|S|\le 2. Quantum mechanics attains S22|S|\le 2\sqrt2 (Tsirelson).

Eureka! Bell violations are operational signatures of nonclassicality; entanglement enables S>2|S|>2 with suitable settings.

Projective Measurements on Two Qubits

A computational-basis measurement applies Pab=ab ⁣abP_{ab}=|ab\rangle\!\langle ab| on ABAB. Joint probabilities are p(ab)=ψPabψp(ab)=\langle \psi|P_{ab}|\psi\rangle; classical correlations emerge from the joint distribution.

Worked Examples

Bell preparation. Apply HH on qubit AA and CNOTAB_{A\to B} to 00|00\rangle to get Φ+|\Phi^+\rangle.

Concurrence (pure two-qubit). C=2adbcC=2|ad-bc|. C=1C=1 for Bell states; C=0C=0 for product states.

Entanglement entropy (pure). S(ρA)=S(ρB)S(\rho_A)=S(\rho_B); for Bell states S=1S=1 (bits).

Pseudo-code Aids

Pseudocode — Partial trace of a 2-qubit state (trace out BB)

Input: 4×44\times 4 density matrix ρAB\rho_{AB} (basis 00,01,10,11|00\rangle,|01\rangle,|10\rangle,|11\rangle) Output: 2×22\times 2 reduced state ρA\rho_A Partition ρAB\rho_{AB} into four 2×22\times2 blocks (R00R01R10R11)\begin{pmatrix}R_{00}&R_{01}\\ R_{10}&R_{11}\end{pmatrix} Return ρA=R00+R11\rho_A = R_{00}+R_{11}

Pseudocode — CHSH correlator from sampled outcomes

Input: settings Ai,Bj{±1}A_i,B_j\in\{\pm1\} implemented by basis-rotations; shots SS For each shot: sample outcomes a,b{±1}a,b\in\{\pm1\}; accumulate abab Return E(Ai,Bj)=1Ss=1SasbsE(A_i,B_j)=\frac{1}{S}\sum_{s=1}^S a_sb_s

Pseudocode — Bell-state preparation (H+CNOT)

Input: start in 00|00\rangle Apply HH on qubit AA; apply CNOT with control AA and target BB Output: Φ+|\Phi^+\rangle

Schematics

Bell Preparation

CHSH Layout (conceptual)

Hands-on Notebook (Multi-Backend)

Run: L03_QCQI_Ch03_Multiple_Qubits_Entanglement_and_Measurement

In the first cell set backend to one of: cirq, pennylane, braket, pyquil, or qiskit.

Mini-Lab Ideas

  1. Prepare each Bell state and measure ρA\rho_A to verify maximal mixedness.

  2. Estimate CHSH SS for several angle pairs; approach 222\sqrt2 for optimal settings.

  3. Add depolarizing noise and observe degradation of SS and entanglement entropy.