Skip to main content

Quantum information · institution-dependent · Interactive lesson

Bell inequalities, CHSH and nonlocality

The singlet's correlations are a number you can compute, a bound you can prove, and an experiment you can run. Do all three here: derive |S| ≤ 2 from nothing but a local hidden-variable model, take the operator expectation that gives −cos(a − b), find the analyser angles that push it to 2√2, then say what the violation kills and what it leaves standing.

UPV-20.05 · Lesson 5 of 9 in this unit. Position is not a completion score.
Starting model: Bell inequalities, CHSH and nonlocalityCorrelation E of a singlet Werner state against analyser difference θ = a − b. Solid: E = −V cos θ with V = 1.00; dashed: Bell's local model E = −1 + θ/90°, which gives |S| = 2 at every spacing shown. Dots mark the CHSH pairs at δ = 45° (filled, three pairs) and 3δ = 135° (open, one pair). Right: |S| = 2.83 as a bar against the local bound 2 and Tsirelson's 2√2.+1−10°180°solid: E = −V cos θ, V = 1.00 · dashed: local model −1 + θ/90°filled: θ = δ = 45° (3 pairs) · open: θ = 3δ = 135° (1 pair)local |S| ≤ 2Tsirelson 2√2
Start with a picture. Change the model in the lab below.

Quantum information · institution-dependent. Your university determines the required depth of these quantum topics, including the use of operators, differential equations and computation. Institution-dependent does not automatically mean optional.

1

Build the model

One number, two bounds: 2 for any local model, 2√2 for the singlet.

The key idea

A Bell inequality is a bound on a combination of two-particle correlations that every local hidden-variable model must obey; CHSH is |E(a, b) − E(a, b′) + E(a′, b) + E(a′, b′)| ≤ 2, and quantum mechanics predicts values up to 2√2.

Example. For a spin singlet with Alice at 0° or 90° and Bob at 45° or 135°, E = −cos(a − b) gives −0.707 for three pairs and +0.707 for (0°, 135°), so S = −3(0.707) − 0.707 = −2.83: above 2 in magnitude, and 0.83 more than any local model can reach.

The complete physical model and assumptions

Bell asked whether the singlet's correlations could come from a model in which each particle leaves the source carrying an answer to every setting it might meet. Write that model down: a variable λ with density ρ(λ), outcomes A(a, λ) = ±1 and B(b, λ) = ±1 that each depend on their own analyser only, and a correlation E(a, b) = ∫ρ A B dλ. Nothing in that sentence is quantum, and the CHSH bound follows from it in three lines: for every λ the combination A(B − B′) + A′(B + B′) is ±2, so its average S = E(a, b) − E(a, b′) + E(a′, b) + E(a′, b′) cannot exceed 2. Quantum mechanics replaces the integral with a trace. For |ψ⁻⟩ the operator (a⋅σ) ⊗ (b⋅σ) has expectation −a⋅b = −cos(a − b), and the cosine bows away from the local model's straight line: at 45° it gives −0.707 where the best local model fitting the endpoints manages −0.5, and four such pairs stack to |S| = 2√2. The bound returns on the quantum side as Tsirelson's: S² = 4I + [A, A′] ⊗ [B, B′] caps ‖S‖ at 2√2 because a commutator of ±1 operators has norm at most 2. What a violation costs is the conjunction it tested. Local causality, pre-existing values and free setting choice cannot all hold; experiment does not say which, and Bohmian mechanics keeps the values by giving up locality. What it does not buy is a signal: Bob's reduced state is I/2 whichever setting Alice chooses, and the correlation lives only in the record the two compare over a classical channel.

1Write the local model down before you attack it

Bell's target is not vague 'classical physics' but a precise class of theories. A hidden variable λ, of any kind, is set at the source with density ρ(λ) ≥ 0 and ∫ρ dλ = 1. Alice's outcome is a function A(a, λ) = ±1 of her own setting and λ; Bob's is B(b, λ) = ±1 of his setting and λ. Three assumptions are buried there: locality (A does not see b), realism (a value exists for the setting not chosen, since A(a′, λ) is defined on the same λ), and measurement independence (ρ does not depend on a or b). The correlation is E(a, b) = ∫ρ A B dλ, and the stochastic version P(A, B|a, b, λ) = P(A|a, λ)P(B|b, λ) changes nothing below. Bell's own example shows the class is not empty: take λ a unit vector uniform on the sphere, A = sign(a⋅λ), B = −sign(b⋅λ). The signs of a⋅λ and b⋅λ disagree on two antipodal lunes of total solid-angle fraction θ/π, so EL(θ) = −(1 − 2θ/π) = −1 + 2θ/π. It reproduces perfect anticorrelation at θ = 0 and +1 at 180°, and it is the dashed line in the figure.

2The CHSH bound is three lines of arithmetic

Fix λ and write A = A(a, λ), A′ = A(a′, λ), B = B(b, λ), B′ = B(b′, λ), four numbers each ±1. Then A(B − B′) + A′(B + B′) has one bracket equal to 0 and the other to ±2, so it equals ±2 for every λ. Integrate against ρ: S = E(a, b) − E(a, b′) + E(a′, b) + E(a′, b′) = ∫ρ [A(B − B′) + A′(B + B′)] dλ, whose magnitude cannot exceed ∫ρ × 2 = 2. That is the whole proof; nothing in it is quantum, and nothing in it is about spin. Notice what was used. The same λ supplied both A and A′, although any one particle meets only one setting — that is realism doing work, not locality. And the four terms are measured on four different sub-ensembles of pairs; the bound assumes those sub-ensembles sample the same ρ, which is measurement independence. Bell's sawtooth saturates the bound: with evenly spaced analysers, 3EL(δ) − EL(3δ) = 3(−1 + 2δ/π) − (−1 + 6δ/π) = −2 for every δ up to 60°. A local model can reach 2; the theorem says none can pass it.

3Compute the quantum side as an operator expectation

Name the state, the operators and the basis. State: |ψ⁻⟩ = (|01⟩ − |10⟩)/√2 in the σz ⊗ σz product basis. Observables: Aₐ = a⋅σ ⊗ I and Bb = I ⊗ b⋅σ, each with eigenvalues ±1, and their product (a⋅σ) ⊗ (b⋅σ). The singlet is rotationally invariant with ⟨σᵢ ⊗ σⱼ⟩ = −δᵢⱼ, so E(a, b) = Σ aᵢ bⱼ (−δᵢⱼ) = −a⋅b = −cos(a − b). Its joint probabilities follow from the Born rule: P(±,±) = (1 − cos θ)/4 and P(±,∓) = (1 + cos θ)/4. In NumPy this is six lines: build sx and sz, ψ = np.array([0, 1, −1, 0])/np.√(2), na = np.sin(a)*sx + np.cos(a)*sz, and E = ψ @ np.kron(na, nb) @ psi. At the canonical settings a = 0°, a′ = 90°, b = 45°, b′ = 135°, three pairs differ by 45° and give −0.7071; (a, b′) differs by 135° and gives +0.7071. So S = −0.7071 − 0.7071 − 0.7071 − 0.7071 = −2.8284 = −2√2. The sign is the singlet's: |Φ⁺⟩ = (|00⟩ + |11⟩)/√2 has E = +cos(a − b) in the x–z plane and gives +2√2 at the same angles.

4Why 2√2 and not 4: Tsirelson's bound from a commutator

S is also an operator, S = A ⊗ (B − B′) + A′ ⊗ (B + B′), and ⟨S⟩ is bounded by its norm. Square it using A² = A′² = B² = B′² = I: the diagonal terms give 4I and the cross terms give [A, A′] ⊗ [B, B′], so S² = 4I + [A, A′] ⊗ [B, B′]. Each commutator of two ±1 operators has norm at most 2, so ‖S²‖ ≤ 8 and |⟨S⟩| ≤ 2√2. Two things are now visible. If A and A′ commute — one shared hidden variable is exactly that — the commutator term vanishes and the bound drops to 2, which is the local bound recovered from the quantum side. And the algebraic maximum 4 would need all four correlations at ±1 with the CHSH signs, hence ‖S²‖ = 16 and ‖[A, A′]‖ ‖[B, B′]‖ = 12, while each factor is at most 2; no pair of operators with square I manages it. At the canonical angles [σz, σₓ] = 2iσy and [B, B′] = 2iσy, so S² = 4I − 4 σy ⊗ σy, whose eigenvalues are 8 (on |ψ⁻⟩ and |Φ⁺⟩) and 0. The singlet is an exact eigenvector of S with eigenvalue −2√2, which is why it saturates the bound rather than merely approaching it.

5Angles, conventions and the recorded numbers

With Alice at 0° and 2δ and Bob at δ and 3δ, three pairs differ by δ and one by 3δ, so S(δ) = −3 cos δ + cos 3δ. Its extremum is at sin δ = sin 3δ, so δ = 45°, where |S| = 3(0.7071) + 0.7071 = 2√2; at δ = 0 the value is exactly 2, and at 60° it is 2.5. Photon experiments quote 22.5°, and the reason is the operator, not the physics: linear polarisation at angle a is the projector onto cos a|H⟩ + sin a|V⟩, an object with period 180°, so E = −cos 2(a − b) and every angle halves. Set a spin-½ experiment at 22.5° and you get 3 cos 22.5° − cos 67.5° = 2.772 − 0.383 = 2.39: a violation, but not the maximum. The recorded values sit below 2√2 for physical reasons. Aspect, Grangier and Roger (1982) measured S = 2.697 ± 0.015 with cascade photons; Weihs et al. (1998) found 2.73 ± 0.02 with settings switched after the photons left the source; Hensen et al. (2015), closing the locality and detection loopholes together with electron spins 1.3 km apart, reported 2.42 ± 0.20 from 245 trials. The first two sit dozens of standard deviations above 2, Hensen's only 0.42/0.20 = 2.1, and none is above 2√2.

6What the violation excludes, and the message it does not send

The experiment refutes a conjunction: local causality, pre-existing values for unmeasured settings, and setting choices independent of λ. It does not name the culprit. Bohmian mechanics keeps definite values and drops locality; Everett keeps locality and drops single outcomes; superdeterminism keeps both by denying free choice, at the price of explaining every random-number generator ever used to pick a setting. Nor does a violation carry a signal. Alice's measurement acts on ρ = |ψ⁻⟩⟨ψ⁻| as Σₖ (Pₖ ⊗ I) ρ (Pₖ ⊗ I), and tracing out her qubit gives TrA ρ = I/2 whatever axis her Pₖ belong to: Bob's marginals are ½ and ½ for both of her settings, and for no measurement at all. The correlation exists only in the joint record, which needs a classical channel to compare, so the violation respects relativity exactly as the no-signalling theorem says it must. What the violation does buy is a certificate. If Alice and Bob measure |S| > 2 on the pairs they share, no third party holds a local copy of their outcomes, and that is the resource E91 turns into a key in the quantum-cryptography topic later in this unit.

2

Key equations

Read the units, assumptions and limits before substituting.

CHSH combination

S = E(a, b) − E(a, b′) + E(a′, b) + E(a′, b′)

Four correlation experiments on four sub-ensembles of pairs, folded into one number whose bound separates the two theories.

E(a, b) = ⟨Aₐ Bb⟩, the mean product of two ±1 outcomes, dimensionless in [−1, 1]; a, a′, b, b′ are analyser directions

Local bound

E(a, b) = ∫ ρ(λ) A(a, λ) B(b, λ) dλ ⇒ |S| ≤ 2

A(B − B′) + A′(B + B′) = ±2 for every λ, so the average cannot pass 2. Locality, pre-existing values and settings chosen independently of λ are the only inputs.

ρ(λ) ≥ 0 with ∫ρ dλ = 1; A, B = ±1, each a function of its own setting and λ only

Singlet correlation

E(a, b) = ⟨ψ⁻|(a⋅σ) ⊗ (b⋅σ)|ψ⁻⟩ = −a⋅b = −cos(a − b)

The whole quantum side is one dot product. The cosine bows below the straight line through (0°, −1) and (180°, +1) under 90° and above it beyond, and that bow is the violation.

|ψ⁻⟩ = (|01⟩ − |10⟩)/√2; a, b unit vectors and a − b the angle between them; photon polarisation uses −cos 2(a − b)

Tsirelson bound

S² = 4I + [A, A′] ⊗ [B, B′] ⇒ ‖S‖ ≤ 2√2

Quantum mechanics beats 2 only because A and A′ need not commute, and cannot beat 2√2 because a commutator of ±1 operators has norm at most 2.

for S = A ⊗ (B − B′) + A′ ⊗ (B + B′) with A² = A′² = B² = B′² = I; the other CHSH sign convention flips + to −

Evenly spaced analysers

a = 0, b = δ, a′ = 2δ, b′ = 3δ: S = −3 cos δ + cos 3δ → |S| = 2√2 at δ = 45°

Turns CHSH into one function of one angle: dS/dδ = 0 at sin δ = sin 3δ, so δ = 45°. The bar in the figure below tracks |S(δ)| as you sweep δ.

spin-½ convention; the same set-up at δ = 22.5° gives only 2.39, and 22.5° is the optimum for the photon −cos 2(a − b) rule

Werner state and visibility

ρW = V|ψ⁻⟩⟨ψ⁻| + (1 − V) I/4 ⇒ E = −V cos(a − b), |S|ₘₐₓ = 2√2 V

Separates entangled from Bell-violating: between V = 1/3 and 0.707 the state is entangled yet passes every CHSH test, so entanglement is necessary, not sufficient.

V ∈ [0, 1] is the dimensionless visibility; CHSH violated only for V > 1/√2 = 0.707; entangled for V > 1/3
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

45 °
0 to 60 °; steps of 1.
1.00
0 to 1; steps of 0.05.

Try this. Keep V = 1 and sweep δ: the bar leaves the local line as soon as the analysers separate, touches 2√2 at δ = 45°, where the cosine bows below the local line at δ and above it at 3δ, and falls back to 2.5 at 60°. Then lower V at 45°: the bar drops through 2 at V = 0.71, the 1/√2 visibility floor.

Live results

E(δ) = −V cos δ
-0.707
E(3δ) = −V cos 3δ
0.707
S = 3E(δ) − E(3δ)
-2.828
V NEEDED FOR |S| > 2
0.707

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics V modelCorrelation E of a singlet Werner state against analyser difference θ = a − b. Solid: E = −V cos θ with V = 1.00; dashed: Bell's local model E = −1 + θ/90°, which gives |S| = 2 at every spacing shown. Dots mark the CHSH pairs at δ = 45° (filled, three pairs) and 3δ = 135° (open, one pair). Right: |S| = 2.83 as a bar against the local bound 2 and Tsirelson's 2√2.+1−10°180°solid: E = −V cos θ, V = 1.00 · dashed: local model −1 + θ/90°filled: θ = δ = 45° (3 pairs) · open: θ = 3δ = 135° (1 pair)local |S| ≤ 2Tsirelson 2√2
Correlation E of a singlet Werner state against analyser difference θ = a − b. Solid: E = −V cos θ with V = 1.00; dashed: Bell's local model E = −1 + θ/90°, which gives |S| = 2 at every spacing shown. Dots mark the CHSH pairs at δ = 45° (filled, three pairs) and 3δ = 135° (open, one pair). Right: |S| = 2.83 as a bar against the local bound 2 and Tsirelson's 2√2.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Analyser spacing δ: 45 °; Visibility V (Werner weight): 1.00

Baseline 45; choose 0 to 60, in steps of 1.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

The tempting reading is that perfect anticorrelation at equal settings is the nonlocal part — Alice reads +1, so Bob's particle 'instantly becomes' −1. It is not the evidence. Bell's sawtooth model, E = −1 + 2θ/π, gives exactly −1 at θ = 0 with a local hidden variable fixed at the source, like a pair of gloves in two boxes. The evidence sits at intermediate angles: at 45° the singlet gives −0.707 where any local model fitting the endpoints manages only −0.5, and at 135° it gives +0.707 against +0.5. The cosine bows past the line, and four such pairs push |S| to 2.83. Gloves cannot do that, and no local set of pre-drawn answers can either. The second error follows from the first: if Alice's reading 'changed' Bob's particle, she could signal. She cannot — his statistics are ½, ½ for every setting she picks — because what she changes is the joint description, not his reduced state.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

Two spin-½ particles are in the singlet |ψ⁻⟩ = (|01⟩ − |10⟩)/√2. Find the four joint probabilities and the correlation E when the analysers differ by 60°, then evaluate S for a = 0°, a′ = 90°, b = 45°, b′ = 135° and compare it with the local bound.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

MediumExample 2

A NumPy simulation of the singlet records 2000 pairs at each of the four CHSH settings. Counts (N₊₊, N₊₋, N₋₊, N₋₋) are: (a, b) = (148, 852, 850, 150); (a, b′) = (855, 145, 149, 851); (a′, b) = (143, 857, 853, 147); (a′, b′) = (152, 848, 846, 154). Estimate each E with its standard error, then S with its uncertainty, and judge the run against both bounds.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

HardExample 3

For A = σz, A′ = σₓ, B = (σz + σₓ)/√2 and B′ = (σₓ − σz)/√2, build the CHSH operator S = A ⊗ (B − B′) + A′ ⊗ (B + B′), find S² and its spectrum, and show |ψ⁻⟩ is an eigenvector. Then find the range of visibility V for which the Werner state ρW = V|ψ⁻⟩⟨ψ⁻| + (1 − V) I/4 violates CHSH, and the range for which it is entangled.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 6 steps revealed.

6

Quick check

Select an answer and explain it before checking.

A spin singlet is shared. Alice measures along a = 0° or a′ = 90° and Bob along b = 45° or b′ = 135°. With E(a, b) = −cos(a − b) and S = E(a, b) − E(a, b′) + E(a′, b) + E(a′, b′), what is S, and what does the result establish?
7

Review & continue

A Bell inequality is a bound on a combination of two-particle correlations that every local hidden-variable model must obey; CHSH is |E(a, b) − E(a, b′) + E(a′, b) + E(a′, b′)| ≤ 2, and quantum mechanics predicts values up to 2√2.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.