Bell Inequalities & CHSH
Bell Inequalities & the CHSH Test
Bell's theorem (1964) proves that no theory of local hidden variables can reproduce all predictions of quantum mechanics. The CHSH inequality (Clauser–Horne–Shimony–Holt) provides a practical experimental test.
Setup
Alice and Bob each receive one qubit of a shared Bell pair. They independently choose measurement angles from sets and respectively. Each measurement outcome is .
The correlation function for angles and is:
where are the measurement results.
The CHSH Inequality
Any local hidden variable (LHV) theory must satisfy:
This is the classical bound. If , the correlations cannot come from any LHV theory.
Quantum Prediction
For a maximally entangled Bell pair, the quantum correlation function is:
The Tsirelson bound gives the maximum quantum value:
This is achieved with the optimal angle settings:
Verifying the Optimal CHSH Value
At these angles:
Physical Significance
Experiments (Aspect 1982, and many since) consistently measure , ruling out local hidden variables. Quantum entanglement is not just a computational trick — it is a fundamental feature of nature that cannot be explained classically.
Your Task
Implement:
bell_correlation(a, b)— returnchsh_value(a, b, a_prime, b_prime)— return