Quantum Entanglement — Bell Inequality Violation

Simulate the CHSH Bell test. Entangled pairs produce correlations that violate the classical bound |S|≤2. Quantum mechanics allows |S|≤2√2≈2.828.

Bell Setup

|Φ⁺⟩ = (|00⟩ + |11⟩)/√2
S = E(a,b) − E(a,b') + E(a',b) + E(a',b')
Classical: |S| ≤ 2 Quantum: |S| ≤ 2√2

Results

Run an experiment to see results...

Correlation Landscape

S vs Angle (Bob fixed)

Red line = quantum limit 2√2, dashed = classical limit ±2