← Quantum Foundations Labs

Bell Test & CHSH Inequality

Entanglement correlations and nonlocality

Prepare a Bell state and choose measurement angles for Alice and Bob. Run trials to compute correlation functions E(a,b) and the CHSH value S. At the optimal angles, the quantum prediction S = 2√2 violates the classical bound |S| ≤ 2, demonstrating that no local hidden-variable theory can reproduce quantum correlations.

Entangled State

Alice's Settings

Bob's Settings

CHSH Value: S = E(a,b) + E(a,b) + E(a,b) - E(a,b)

-2+20-22+22classical region
theoretical S = -2.828

Theoretical Correlations

E(a,b) = -0.7071
E(a,b) = -0.7071
E(a,b) = -0.7071
E(a,b) = 0.7071

Correlation Function E(0°, b) vs Bob's Angle b

0°50°100°150°200°250°300°350°Bob's measurement angle-1.0-0.50.00.51.0E(a,b)
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)
Sclassical2Squantum22|S_{\text{classical}}| \leq 2 \qquad |S_{\text{quantum}}| \leq 2\sqrt{2}
Bell Test & CHSH Inequality — Quantum Foundations Labs · hbar.university