Entanglement games
Players who cannot talk try to win a game. Entangled qubits, one for each player, let them win more rounds than any plan made ahead of time.
New to qubits: start with the short guide, Quantum basics.
Game 1: the rules of the CHSH game
Alice and Bob sit in two different rooms. A referee flips a coin for each of them and tells them the result, 0 or 1. Each one then calls out 0 or 1. They cannot talk once the game starts.
They win when they call the same thing, with one exception: when both of them got a 1, they must call different things.
The name comes from the four physicists who described the test in 1969: John Clauser, Michael Horne, Abner Shimony, and Richard Holt.
- A referee sends Alice a uniformly random bit x and Bob a uniformly random bit y.
- Alice outputs a bit a, and Bob outputs a bit b. They cannot communicate during the game.
- They win when a ⊕ b = x ∧ y. So the outputs must differ when x = y = 1, and match in the other three cases.
CHSH is for Clauser, Horne, Shimony, and Holt, whose 1969 inequality turned Bell's theorem into a test a lab could run. This game is that inequality restated as a game.
Step 1
A classical plan
Alice and Bob can make a plan before the game. Pick what each one calls for each coin result. Try to win all four cases. Below, x is Alice’s coin and y is Bob’s coin. a is what Alice calls and b is what Bob calls.
A deterministic strategy is a pair of functions a(x) and b(y). Pick one for each player and see which of the four input pairs it wins.
| x y | Answers | Needs | Result |
|---|
No plan wins all four cases. The best plans win three of four, so they win 75% of rounds. Secret random numbers shared before the game do not help, because they only choose between these same plans.
There are 16 deterministic strategies, and each one loses at least one input pair, so P(win) ≤ ¾. Shared randomness gives a convex mix of deterministic strategies, so it cannot beat the best one. This bound is the CHSH inequality.
Step 2
A quantum plan
Now Alice and Bob each take one of a pair of linked qubits into their room. Linked qubits are also called entangled qubits. Each one measures their qubit along a direction that depends on their coin, and calls out the result.
The dial draws each direction as a line. When Alice’s and Bob’s lines point the same way, their results always agree. The further apart the lines turn, the more often the results disagree, and a quarter turn apart they always disagree.
How to play
Set the four angles so the results agree when they must, and disagree when both coins are 1. The table below shows each case’s chance to win.
Alice and Bob share |Φ⁺⟩ = (|00⟩ + |11⟩) / √2. Each one measures in the basis {cos θ|0⟩ + sin θ|1⟩, −sin θ|0⟩ + cos θ|1⟩}, with θ chosen by their input, and outputs the result. For this state, P(a = b) = cos²(θA − θB).
| x y | Angle gap | Needs | Win chance |
|---|
Why no angles win every round
Three cases want a small gap between the two lines, and the fourth case, where both coins are 1, wants a quarter turn, 90°.
But look at the four lines on the dial. To get from Alice’s line for x = 1 to Bob’s line for y = 1, you can step through the other two lines: Bob’s line for y = 0, then Alice’s line for x = 0. Each step is one of the three small gaps. So the big gap can be no larger than the three small gaps added up. If the small gaps are near 0°, the big gap is near 0° too, not 90°.
So the best plan shares the miss evenly: each small gap is 22.5°, the large gap is 67.5°, and each case misses its ideal by 22.5°. Lines 22.5° apart still agree 85.4% of the time, so each case wins 85.4%. That is what “Use the best angles” sets.
What this shows
With linked qubits, Alice and Bob win about 85% of rounds. With any plan made ahead of time, they win at most 75%. No plan made ahead of time, even a secret one, can explain the extra wins, and lab tests of this game show the same result in the real world.
With the best angles, each input pair wins with probability cos²(22.5°) = (2 + √2) / 4 ≈ 85.4%. No quantum strategy does better: this is the Tsirelson bound. The gap between ¾ and 85.4% is a violation of the CHSH inequality. Loophole-free Bell tests have measured this violation, so no local hidden-variable model explains the results.
Why this is not a message
Bob’s results by themselves look like plain coin flips, whatever angle Alice picks. Alice cannot use the link to send him anything. The link shows only when the two of them compare their lists later, and to do that they must talk in the normal way.
The marginal distribution of b is ½ for every choice of Alice’s measurement. Entanglement gives correlations, but it cannot carry a signal. This is the no-signaling property, and it keeps quantum mechanics consistent with relativity.
Play the quantum rounds to see Bob’s results.
Game 2
The GHZ game: three players and no lost rounds
Carol joins Alice and Bob. A referee gives each player a card marked 0 or 1, and only four deals are possible: all three get 0, or exactly two of them get 1. Below, x, y, and z are the three cards. Each player then calls 0 or 1, with no talking.
When all three cards are 0, the count of 1s they call must be even. In the other three deals, it must be odd. Try to win all four deals with a plan made ahead of time.
The inputs (x, y, z) are uniform over the four triples with even parity. Alice, Bob, and Carol output a, b, and c, and win when a ⊕ b ⊕ c = x ∨ y ∨ z. Pick a deterministic strategy for each player.
| x y z | Answers | Count of 1s | Result |
|---|
No plan wins all four deals. Here is why:
- Each planned answer is used in exactly two of the four deals. For example, Alice’s answer for card 0 is used in the deals 0 0 0 and 0 1 1. So each planned 1 adds two to the count of 1s across all four deals, and that total is always even.
- To win, the deals need one even count and three odd counts, and those add up to an odd total.
- A total cannot be even and odd. So each plan loses at least one deal, and the best plans win 75% of rounds.
Add the four win conditions modulo 2. On the left, each of a(0), a(1), b(0), b(1), c(0), and c(1) appears twice, so the sum is 0. On the right, the sum is 0 + 1 + 1 + 1 = 1. So no deterministic strategy wins all four inputs, and P(win) ≤ ¾.
A quantum plan
Now each player takes one of three linked qubits. For each card, a player picks a line to measure along: X or Y. On the ball in Bloch sphere golf, X and Y are the two lines around the middle, at a right angle to each other. X runs through |+⟩ and Y runs through |+i⟩.
These three qubits obey two facts. When all three players use X, the count of 1s is always even. When one uses X and two use Y, the count is always odd. Now look at the four deals, and find which line goes with card 0 and which goes with card 1.
The players share |GHZ⟩ = (|000⟩ + |111⟩) / √2, named for Greenberger, Horne, and Zeilinger, who described it in 1989. Each player measures the Pauli X or Y that their input selects. This state has XXX = +1 and XYY = YXY = YYX = −1.
| x y z | Lines | Count of 1s | Win chance |
|---|
What this shows
A plan made ahead of time must lose at least one deal, and the linked qubits never lose. In the CHSH game, both sides lose some rounds, so you need many rounds to see which side wins more. Here, any lost round would count against the qubits, and they have none.
With X for input 0 and Y for input 1, each input gives an eigenvalue of the GHZ state, so each outcome parity is certain. Local hidden variables would assign values to X and Y on each qubit before any measurement, and the sum above shows that no assignment fits all four results. Mermin gave this form of the argument in 1990.