Quantum Entanglement Simulator: Bell's Inequality & CHSH Test

simulator advanced ~15 min
Loading simulation...
S = 2.414 — Bell's inequality violated

With default angles (a=0, b=45, a'=45, b'=22.5), the CHSH parameter S = 2.414, exceeding the classical limit of 2. This demonstrates that quantum mechanical correlations between entangled particles cannot be explained by any local hidden variable theory.

Formula

CHSH inequality: |S| = |E(a,b) - E(a,b') + E(a',b) + E(a',b')| <= 2 (classical)
Quantum correlation (singlet): E(a,b) = -cos(a - b)
Tsirelson's bound: |S|_max = 2 sqrt(2) ~ 2.828 (quantum maximum)
Optimal CHSH angles: a=0, b=pi/8, a'=pi/4, b'=3pi/8

Quantum Entanglement

Entanglement is perhaps the most striking feature of quantum mechanics. When two particles are prepared in an entangled state, their measurement outcomes are correlated in ways that no classical theory can reproduce. Einstein famously objected to this as 'spooky action at a distance,' arguing that quantum mechanics must be incomplete and that hidden variables must exist to explain the correlations locally.

Bell's Theorem

In 1964, John Bell proved that any theory based on local hidden variables must satisfy certain constraints — now called Bell's inequalities — on the correlations between measurements at two distant locations. Quantum mechanics predicts correlations that violate these inequalities. This transforms a philosophical debate into an experimentally testable prediction.

The CHSH Test

The CHSH version of Bell's inequality is the most commonly tested in experiments. Alice and Bob each choose between two detector settings (a, a' and b, b'). For each setting pair, they measure the correlation E between their outcomes. The CHSH parameter S = E(a,b) - E(a,b') + E(a',b) + E(a',b') is bounded by |S| <= 2 for any local hidden variable theory. For entangled singlet states, quantum mechanics predicts E(a,b) = -cos(a-b), which can yield |S| up to 2 sqrt(2) ~ 2.83.

Experimental Confirmation

Starting with Alain Aspect's landmark 1982 experiments, Bell's inequality has been violated in increasingly stringent tests. The 2015 'loophole-free' experiments closed the detection and locality loopholes simultaneously, leaving essentially no room for local hidden variable explanations. In 2022, Aspect, Clauser, and Zeilinger received the Nobel Prize in Physics for their experimental work establishing the violation of Bell's inequalities.

Using the Simulator

Set the four detector angles and observe how the CHSH parameter S changes. The default angles give a clear violation. The S-value meter shows whether you're in the classical (green) or quantum (red) regime. The optimal angles for maximum violation are a=0, a'=45, b=22.5, b'=67.5. Entangled pairs are emitted from the central source toward Alice and Bob's detectors, and measurement results accumulate over time.

FAQ

What is quantum entanglement?

Quantum entanglement is a correlation between particles that is stronger than any classical correlation. When two particles are entangled, measuring one instantaneously determines the state of the other, regardless of distance. Einstein called this 'spooky action at a distance.' Crucially, entanglement cannot be used for faster-than-light communication — the individual measurement outcomes are random.

What is Bell's inequality?

Bell's inequality (1964) provides a mathematical bound on the correlations achievable by any local hidden variable theory — the type of theory Einstein, Podolsky, and Rosen (EPR) proposed to explain quantum correlations without 'spooky action at a distance.' The CHSH version states |S| <= 2 for any local realistic theory. Quantum mechanics predicts violations up to |S| = 2*sqrt(2) ~ 2.83.

What is the CHSH inequality?

The CHSH (Clauser-Horne-Shimony-Holt) inequality is an experimentally testable form of Bell's inequality. It involves four correlation measurements using two settings each for Alice (a, a') and Bob (b, b'): S = E(a,b) - E(a,b') + E(a',b) + E(a',b'). Classical theories require |S| <= 2; quantum mechanics allows up to 2*sqrt(2).

Has Bell's inequality been tested experimentally?

Yes, decisively. Alain Aspect's 1982 experiments first convincingly violated Bell's inequality. The 2015 'loophole-free' experiments by Hensen et al., Giustina et al., and Shalm et al. closed all major experimental loopholes simultaneously. Aspect, Clauser, and Zeilinger received the 2022 Nobel Prize in Physics for this work.

Sources

Embed

<iframe src="https://homo-deus.com/lab/quantum-mechanics/quantum-entanglement/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub