Hack The Nest 2026 · Quantum Leap

A card game a quantum team never loses

Players can't talk and each sees only their own card. The best classical plan wins 3 rounds out of 4. A team sharing entangled qubits, simulated on a laptop with the Quantum Rings SDK, wins every round.

1
1
0

Two 1-cards dealt, so the answers must add up to an odd total.

75%Best any classical team can do, 3 players
100%Quantum team, ideal noise-free simulation
200 qubitsLargest game we ran on a MacBook
Play it here

Run the game in your browser

Pick a team size and press Play. Your own computer does the work: your browser simulates the quantum circuit for every round and plays the best possible classical plan on the same cards.

Quantum team–
Classical team (best possible plan)–
Press Play to deal the cards.
Sabotage was on. One stray gate flipped the group's hidden pattern. Every single answer still looks random, so you can't spot the bug by looking at one player. Only the team's score reveals it.

About this demo: your browser computes the exact quantum state for teams of 3 to 10 players (up to 1,024 numbers). It does not use the Quantum Rings SDK. The full app runs the same circuit on the Quantum Rings SDK, where we played teams of 200 qubits, and adds the accuracy test and community results. The 100% is for an ideal, noise-free simulation; real quantum hardware is noisy and would win somewhat less often.

The game

Three rules, one impossible task

This is the Mermin–GHZ game. No plan agreed in advance can win every round, because the right answer depends on every card and each player sees only one.

01 · THE DEAL

Everyone gets a card

Each player gets a 0 or a 1. The referee always deals an even number of 1-cards.

02 · NO TALKING

Answer blind

Each player answers 0 or 1, seeing only their own card.

03 · THE WIN

Add up the answers

The team wins or loses together. Whether the total must be even or odd depends on how many 1-cards were dealt.

Example with 3 players. There are only four possible deals:
Cards dealt1-cardsTo win, the answers must add up to
0 · 0 · 0nonean even number
1 · 1 · 0twoan odd number
1 · 0 · 1twoan odd number
0 · 1 · 1twoan odd number

Say the cards are 1, 1, 0. If the players answer 1, 0, 0, the total is 1, which is odd, so the team wins. If they answer 1, 1, 0, the total is 2, which is even, so the team loses.

The catch. A player holding a 0 can't tell whether the deal was 0 · 0 · 0 (even needed) or one with two 1-cards (odd needed), and nobody can ask. That is why the best classical plan wins only 3 deals out of 4. For bigger teams it's the same idea: with 0, 4, 8… 1-cards the total must be even, and with 2, 6, 10… it must be odd.

How the quantum team wins. The players share entangled qubits, one each. A player holding a 1 gives their qubit a quarter twist, then everyone measures. Each answer alone looks random, but entanglement makes the total come out right every time. The app plays both teams side by side, and a sabotage switch shows that one wrong gate is enough to break the quantum team.
QuantumXP home screen
The accuracy test

How far can the simulator compress before the quantum team loses?

Quantum Rings fits big circuits on a laptop by compressing, controlled by a dial. We send the players' qubits through a 20-qubit scrambling circuit and exactly back, then play. A perfect simulation keeps the quantum team at 100%. Too much compression and it starts losing, at the lowest setting even below the best classical team.

Best classical team · 75%
62%
90%
94%
99%
100%
100%
100%
100%
100%
2481632 64128256Full

Quantum team win rate at each compression-dial setting (lower = more compression). Measured on a MacBook (Apple silicon, 64 GB) with QuantumRingsLib 0.12.2: 3 players + 17 helper qubits, 12 scrambling layers, 100 rounds per setting. 99% means one lost round out of 100, so the exact cutoff can move by a step between runs.

The accuracy test page
The full app

Accuracy test, community results and sign-in

The full app runs on the Quantum Rings SDK. While we are demoing, it is served live from our MacBook, so the accuracy test runs at laptop speed (about 2 seconds per setting). You can sign in, publish a result and reply to other people's runs.

If that link doesn't load, our laptop is offline. There is a backup copy on a free server (slower, and it shows a recorded accuracy sweep instead of running one), or you can run the app on your own computer.

💻

Laptop vs. quantum

Why writing out a quantum state blows up your computer's memory, measured on your own machine, and how Quantum Rings gets around it.

💬

Community results

Publish your accuracy test and compare laptops. Results and replies are stored in MongoDB Atlas.

🔐

Optional sign-in

Everything works without an account. Sign in with SSOJet only to publish a result or reply.

Run it

Run it on your own laptop

You can also run the app on your own machine, which is how we ran the 200-qubit games. You need Python 3.11+ and a free Quantum Rings SDK key.

git clone https://github.com/Cooldode/quantumxp
cd quantumxp
python3.11 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
export QR_TOKEN="your-sdk-key"
export QR_ACCOUNT="your-account-email"
streamlit run app.py
Quantum Rings SDKPythonStreamlit SSOJetMongoDB AtlasAltair Domain via GoDaddy Registry