Alice fills a row and Bob a column of a 3 by 3 grid with signs, rows multiplying to plus one and columns to minus one, and they must agree where row and column cross. Classical players win at most 8 times out of 9; players sharing two Bell pairs always win.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
The game. The referee sends Alice a row index r∈{1,2,3} and Bob a column
index c∈{1,2,3}, uniformly and independently. Alice answers with three signs
(a1,a2,a3)∈{±1}3 whose product is +1, meant as the entries of row r;
Bob answers with three signs (b1,b2,b3) whose product is −1, meant as the entries
of column c. They win if they agree on the common cell: ac=br.
Theorem. The classical value of the game is ωc=8/9 and its quantum value
is ωq=1. A perfect quantum strategy uses the state
∣Φ+⟩A1B1⊗∣Φ+⟩A2B2, where Alice holds the qubits
A1A2 and Bob B1B2, and the following square of two-qubit observables:
X⊗II⊗Z−X⊗ZI⊗XZ⊗I−Z⊗XX⊗XZ⊗ZY⊗Y
On question r Alice measures the three observables of row r on her qubits and
answers with the three outcomes; on question c Bob measures the three observables of
column c on his qubits and answers with the outcomes.
The square of observables is due to Mermin and
Peres, who used it to show that quantum measurement
outcomes cannot be pre-assigned independently of the measurement context. Its
formulation as a two-player game with a perfect quantum strategy is reviewed by
Brassard, Broadbent and Tapp.
Holds when
The nine question pairs (row, column) are chosen uniformly at random.
The players cannot communicate after receiving their questions.
Classical upper bound. It suffices to consider deterministic strategies. Alice's
strategy assigns to every row r a triple of product +1, that is, a 3×3 sign
matrix α whose rows each multiply to +1; Bob's assigns a sign matrix β whose
columns each multiply to −1. They win on (r,c) if and only if
αrc=βrc. If they won on all nine questions then α=β would
be a single matrix with all row products +1 and all column products −1. The product
of all nine entries would then be (+1)3=+1 computed by rows and (−1)3=−1
computed by columns, a contradiction. So at least one question pair loses and
ωc≤8/9.
Classical strategy achieving 8/9. Let
α=11−111−1111,β=11−111−111−1.
The rows of α multiply to +1, the columns of β to −1, and the matrices
differ only in the cell (3,3).
The quantum strategy is well defined. Denote the observables of the square by
Orc. Each is a tensor product of Pauli matrices up to sign, hence Hermitian with
Orc2=I. Two tensor products of Paulis commute when they anticommute on an even
number of tensor factors. In row 1 and row 2 the observables are built from a single
Pauli type; in row 3, X⊗Z and Z⊗X anticommute on both factors, and
each anticommutes with Y⊗Y on both factors; the columns are checked the same
way. So the three observables in any row or column commute and can be measured jointly.
Their products are
the last because XZ⊗XZ=(−iY)⊗(−iY)=−Y⊗Y. A joint measurement
of commuting observables whose product is ±I yields outcomes whose product is
±1. Hence Alice's answers multiply to +1 and Bob's to −1, as the rules require.
The quantum strategy always wins. The shared state is maximally entangled between
Alice's pair and Bob's pair: ∣Φ⟩=21∑k=03∣k⟩A∣k⟩B.
For any operator O on two qubits, (O⊗I)∣Φ⟩=(I⊗OT)∣Φ⟩.
All nine observables have real matrices in the computational basis (X and Z are
real, and Y⊗Y is real because the two factors of i multiply to a real number),
so OrcT=Orc and
⟨Φ∣Orc⊗Orc∣Φ⟩=⟨Φ∣I⊗Orc2∣Φ⟩=1.
The product of Alice's outcome for Orc and Bob's outcome for Orc is a
±1-valued random variable with mean 1, hence equal to 1 with certainty. The outcome
statistics of Orc do not depend on which commuting observables are measured
alongside it. Therefore on every question pair (r,c) the two answers for the common
cell agree, and ωq=1.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Game rules, omega_c = 8/9 and omega_q = 1 compared with Brassard-Broadbent-Tapp (arXiv:quant-ph/0407221) Sec. 5.1-5.3 (row parity even / column parity odd, the 8/9 value); the record's own strategy checked numerically: row products +I and column products -I, commuting observables within each row and column, and <Phi+ Phi+| O (x) O |Phi+ Phi+> = 1 for all nine observables, so every question pair is won; classical value 8/9 confirmed by exhaustive search over deterministic strategies. Mermin-Peres attribution consistent with BBT (who credit the game to Aravind building on Mermin). Reference metadata (Mermin 1990, Peres 1990, BBT 2005, CHTW 2004) compared with Crossref.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10
Current revision 9c44d4ff85f1dc68. Source file knowledge/records/theorem/magic-square-game.md in the content repository (readable there once it is public).