Quantum mechanics is hard to grasp partly because nobody has hands-on experience of it: even object permanence fails there, since quantum objects behave differently when observed. A paper on arXiv describes a game meant to help build intuition. The Qubit Factory is a browser-based puzzle game in which players build circuits that process streams of bits and qubits, and it aims to show newcomers how quantum computing differs from classical computing without requiring prior background.
How the game plays
Each level hands the player some inputs, often streams of bits or qubits, and a task, such as outputting the pairwise logical AND of two streams. The factory floor is often blank. In the construction phase the player places wires and gates, and then powers the factory on. In the simulation phase, bits and qubits move one tile per tick of a clock that can be sped up, slowed, paused or reversed. The run ends when the player stops it, the goal is met or failed, or the clock hits 10,000 ticks, which counts as failure. Each level also has an optional bonus star, for example using fewer gates, less time or less floor space.

Top, a factory midway through construction; bottom, midway through a simulation run. Figure from the paper, CC BY 4.0.
The game borrows from construction puzzles such as The Incredible Machine and the Zachtronics titles. Wires can run in any direction and loop back, which gives simple FOR and WHILE loops, and one wire can carry several bits or qubits in a row, so a player sees multiple outcomes of a probabilistic process at once.
Honest physics, simplified
The simulator models unitary gates, entanglement, measurement and wavefunction collapse accurately, but with deliberate limits. At most 6 qubits can be entangled at once (every level can be finished with 4), and only real-valued wavefunctions are allowed, so a qubit can be drawn as an arrow on a flat disk instead of a Bloch sphere. The gate set is minimal: two classical single-bit gates and a control, and for qubits a flip gate, a rotate gate, a quantum control and a measurement. Without a phase-shift gate it is not universal for quantum computation, though the authors say it is broad enough for a wide range of concepts and algorithms. The game covers theory, not the engineering problems of building hardware.
A visual language for quantum states
A superposition is shown as a qubit blinking between its basis states, with dash length showing the size of each amplitude and green or purple showing positive or negative sign. Entangled qubits get a translucent cloud of the same color, sized by each qubit’s entanglement entropy. A state analyzer shows the amplitudes, lets players change a qubit’s basis and predicts what a measurement would leave behind.

How the game draws superpositions and entangled states. Figure from the paper, CC BY 4.0.
The authors also replaced standard circuit symbols with designs whose function can be guessed, such as a flip gate that reflects a qubit about an axis, and measurement in any chosen basis.
Design goals
- Engage, don’t tell. A new gate comes with a simple task that shows what it does. An optional employee handbook, hint journals and links to Wikipedia on completing a level back this up.
- Foster creativity. Many levels are open-ended, and a design can be copied to the clipboard and shared as text.
- Slowly but surely. Concepts are introduced one shallow layer at a time, and a qubit starts as just an arrow on a disk.
What the levels teach
| Concept | Where it appears |
|---|---|
| Reversibility | The first quantum level asks players to undo preset rotations and flips, which shows that gates must be undone in reverse order |
| Error correction | A classical level invites a repetition code; the quantum one blocks it, since qubits cannot be cloned, so players spread each qubit across entangled helpers |
| Quantum advantage | A classical device needs at least three sets of inputs to identify a hidden three-bit function; the quantum version allows one set, so players must reinvent the Bernstein–Vazirani algorithm |
Other levels cover superdense coding, teleportation, entanglement distillation, quantum repeaters, the CHSH game and state tomography.

A quantum error correction level, with a bit-flip code solution and a more sophisticated one that earns the bonus star. Figure from the paper, CC BY 4.0.
The authors suggest that no-code tools like this could help onboard people without a formal quantum background, and may lead to quantum software frameworks. They plan to add levels.
Sources
- Paper on The Qubit Factory, arXiv 2406.11995, published under CC BY 4.0; the import carried no author names. The game is at qubitfactory.io. Changed here: condensed and paraphrased, equations and most figures left out; rewritten in hubnx’s own words.
- Authors of the original: Glen Evenbly.
Comments



