Play · Entanglement (GHZ states)

🔗 GHZ Game

A team game that no classical strategy wins every round — with entanglement, you always do.

Alice
Bob
You

Team classical

Alice, Bob and you are a team. Each of you is asked either for a color (red or blue) or for a shape (star or rectangle). You may agree on a strategy beforehand — once the questions are asked, nobody can talk.

The quiz master asks all three for the color, or one for the color and the other two for the shape. Your team wins if

• all three are asked for the color, and an even number of you say red (0 or 2);
• one color and two shapes are asked, and an odd number say red or star (1 or 3).

A : each player thinks of an object — a red or blue star or rectangle — and answers from it. Select a player’s object to change it, then let the quiz master ask all four questions.

The real Qiskit code

The same game as an interactive Jupyter notebook — the quantum circuit runs on Qiskit, and you can change it.

Read the notebook on GitHub ↗
~40 min · curious minds, workshop groups
Notebook launch is temporarily unavailable. You can play the browser version or read the notebook on GitHub.
Prefer it local? git clone the repository, create the conda environment from environment.yml, and open GHZ-Game.ipynb.

Three players — Alice, Bob, and you — each receive a question and must answer without communicating. The rules are set up so that the best classical team strategy wins at most 75% of the rounds. Sharing three entangled qubits in a GHZ state, your team wins every single round.

This is not a trick and not statistics: it’s a game version of the experiments that ruled out “local hidden variables” as an explanation of quantum mechanics. The notebook walks you through playing the game, building the GHZ state with a few gates, and checking that the quantum strategy really is unbeatable.

More games