Google says Willow qubits win 'magic square' game 98.3% of plays

In short

A puzzle with no answer

Google's blog post opens with a puzzle you can try on paper. Draw a 3×3 grid and fill every cell with +1 or −1, so that every row multiplies to +1 and every column multiplies to −1.

It cannot be done. A row that multiplies to +1 holds an even number of −1s, so the three rows together hold an even number. A column that multiplies to −1 holds an odd number, so the three columns together hold an odd number. It is the same grid, so the count would have to be both even and odd.

Now make it a game. A referee gives Alice a row and Bob a column. Without talking, Alice fills her row by the row rule and Bob fills his column by the column rule. They win if they wrote the same number in the one cell where the row and column cross.

Any plan agreed in advance amounts to a pre-written grid, and since no grid satisfies all six rules, at least one of the nine row-and-column pairings must fail. The best classical plan therefore wins 8 rounds in 9, assuming the referee picks rows and columns at random. With shared entanglement, the paper shows, the players can in principle win every round.

How qubits win it

(This section is our plain-English summary of the paper's method.)

Alice and Bob each hold two qubits, and the four qubits are prepared as two Bell pairs: Alice's first qubit is entangled with Bob's first, and her second with his second. For each row and each column there is a fixed instruction for which two measurements to make, a table known in physics as the Mermin–Peres square. Each player measures their two qubits and fills the third cell so that their product rule holds.

Shared entanglement makes the two answers in the shared cell agree, even though no cell had a value before it was measured. On the hardware, Google reports that the players lost roughly one round in sixty, which it puts down to noise.

What is contextuality in quantum physics?

Contextuality is the finding that a quantum measurement's result can depend on which other compatible measurements are made alongside it, its "context". In the grid, each cell belongs to one row and one column. A classical model gives every cell a fixed value that does not care whether it is read as part of a row or a column. The magic square shows no such fixed table can reproduce quantum predictions.

Google's blog notes that a growing body of theory treats contextuality as the resource that lets some quantum algorithms beat classical ones, and that it had been shown mostly in systems of a few particles.

Putting a number on it

To measure how contextual the machine is, the team used a Bell–Kochen–Specker inequality. It adds up the average products of the three rows and subtracts those of the three columns:

χ = R1 + R2 + R3 − C1 − C2 − C3

Any model with predetermined outcomes obeys χ ≤ 4. Quantum mechanics allows up to 6. Google says this test is state-independent: it does not matter how the qubits are prepared, so it measures the machine, not a chosen input.

All six products have to be measured one after another on the same two qubits without disturbing them. The team used a helper qubit (an ancilla) to pick up each result and measured that instead. They ran 540 measurements in a row, repeated 1,000 times. Google reports χ = 5.590 ± 0.008, which the blog says is 7% short of the quantum limit. (The December 2025 preprint gave 5.618 ± 0.005; we use the figure Google gives for the published paper.)

Does the quantum advantage hold on more qubits?

In the GHZ parity game, each of N players gets a one-bit question and answers with one bit, without talking; they win if the parity of all answers matches a rule set by the questions. A shared GHZ state wins every time in theory. With up to 71 players, one per qubit, noise narrowed the lead, but the blog says the win rate stayed above the classical bound throughout.

The hidden linear function problem comes from a 2018 theorem: a quantum circuit of constant depth (one that does not get deeper as the problem grows) can solve it, and no constant-depth classical circuit can; the advantage traces to contextuality. Google says it had never been run at scale on hardware. On grids of up to 105 qubits, success fell from about 1 to about 0.6, which Google says is still above the conjectured classical bound. The preprint explains that this bound is the authors' own conjecture, since the proven one only matters at around a million qubits. The experiments used 72-qubit and 105-qubit Willow processors.

A ruler with a fixed ceiling

Google says the tasks also surfaced subtle coherent errors, which rotate a quantum state slightly off target and which random-circuit benchmarks tend to average away. The blog proposes contextuality as a benchmark. The ceiling is set by physics: χ = 6 and a win probability of 1. A machine's distance from that ceiling is its score, and, unlike a classical bar, it does not move as hardware improves.

Terms in plain English

Where things stand

The paper was published in Science (volume 394, pages 870–874), with Google Quantum AI and academic collaborators as authors. The results are Google's own measurements on its own hardware. Google links contextuality to the "magic states" that error-corrected quantum computers need to run full algorithms. It presents measuring contextuality across many qubits as a way to probe on real hardware what gives quantum computers their edge.

Sources

Sources

Related stories

More from Quantum Quokka

All stories from Quantum Quokka