Quantum Game with Photons

Puzzle Games Optics Puzzle
New tab

How to play Quantum Game with Photons

  1. 1Drag an optical element from the stock on the right of the board onto an empty grid cell.
  2. 2Click a placed element to rotate it (mirrors and 50/50 beam splitters turn in 45° steps); drag it off the board to return it to the stock.
  3. 3Press Play, or click the photon source, to send a photon through your setup; use Next Step to advance one step at a time.
  4. 4Reach the level's required detection probability at the detector(s) while keeping the chance of setting off a bomb at zero.
  5. 5Use the buttons on the left to open the level list, the help overlay or the encyclopedia of elements.

About Quantum Game with Photons

Quantum Game with Photons is a puzzle about light at the level of single photons. Each level is a grid with a photon source and some fixed pieces. Most levels also have one or more detectors to reach, but a few set a different goal, such as getting the photon through without setting off a mine. You add optical elements from a limited stock so the photon ends up where it should. Under the hood the game tracks quantum amplitudes, phase and polarization, so a beam splitter really puts the photon on two paths at once, and two paths that meet again can cancel or reinforce each other.

Working the board with a mouse

The game is played with a mouse and needs no keyboard. Drag an element from the stock on the right onto an empty cell. Click a placed element to rotate it; mirrors and 50/50 beam splitters turn in 45° steps. Drag an element off the board to put it back in the stock. Some pieces are locked by the level: they cannot be moved or rotated, and clicking them only plays an error sound. The one exception is the photon source, which starts a run when clicked.

The control panel has Play/Pause, Stop and Next Step buttons, a speed slider for the animation, and a Reset button that reloads the level.

When a level counts as solved

Three conditions must hold at the same time. The probability of detecting the photon must reach the level's requirement, which is 100% unless the level sets a lower target. Enough detectors must receive part of the photon. And the chance of setting off a light-sensitive bomb must be essentially zero. The detection bar under the board shows your current result, and a message line tells you what is still missing. Solved levels and your current level are saved in your browser's local storage.

The optical toolbox

  • Mirrors reflect the beam, and 50/50 beam splitters reflect half of it and let the other half through.
  • Polarizing beam splitters reflect vertical polarization and pass horizontal; absorptive polarizers absorb one polarization.
  • Sugar solutions and the Faraday rotator rotate polarization; quarter wave plates delay one polarization by a quarter wavelength.
  • Glass slabs delay the phase and vacuum jars advance it, which changes how recombined beams interfere.
  • Rocks block light, absorbers absorb half of it, and bombs go off if they absorb the photon.

The encyclopedia explains every element, and the level list lets you jump between more than 30 levels or open a sandbox.

Ideas for stubborn levels

  • Step through a run with Next Step to see exactly where the amplitude splits and where it is lost.
  • If detection is stuck at half, one beam splitter is sending the other half away. Bring both paths together at a second splitter.
  • A glass slab or vacuum jar shifts the phase by a quarter of a wave. One on its own only splits the result evenly between the two outputs. To move the photon to the other output, put two slabs on one path, or a slab on one path and a jar on the other.
  • Check the stock before planning, because each level only gives you certain pieces.

Looking for more logic challenges? Browse our puzzle games. Quantum Game with Photons was made by Piotr Migdał, Patryk Hes and Michał Krupiński and is released under the MIT License.

FAQ

Why does only half of the photon reach the detector?

A 50/50 beam splitter gives the photon an even chance of taking either path. If only one path leads to the detector, only half arrives. Route both paths into a second beam splitter so interference can send the whole photon to one output.

Why can't I rotate some pieces?

Some pieces are locked by the level design and cannot be moved or rotated; clicking them only plays an error sound. Pieces from the stock can always be dragged, and most can be turned. Glass slabs, vacuum jars, sugar solutions, absorbers and rocks have only one position, so a click just spins them all the way round. Clicking the photon source starts a run.

Does the game remember which levels I solved?

Yes. Solved levels, the level you were on and the pieces you placed on each level are stored in your browser's local storage. Clearing site data for this page resets that progress.

You may also like

All games