Quantum ByteBack to lab

Double-slit simulation

Walking Universal Library

Both simulations send the same number of electrons through two slits. Compare what changes when the apparatus records the path.

Detector off

0 hits

Interference fringes

Detector on

0 hits

Broad diffraction envelope

What does the detector change?

Each electron gives one localized hit in both settings. With the detector off, the amplitudes for the two paths can interfere. In the detector-on model, the apparatus records which slit the electron used. The two path probabilities add, washing out the fringes and leaving a broad diffraction envelope. The model assumes an ideal detector that distinguishes the paths completely.

Read the single-electron double-slit experiment

Two ways fringes fade

A record of the path can weaken interference. Random changes in the relative phase can yield the same pattern. Compare two models, then check what a separate marker reveals.

Both curves overlap. The vertical axis is the probability of a hit at one output port. The horizontal axis is relative phase.
Fringe visibility
43.05%
Port probability range
28.48% to 71.52%
Phase flip rate for the same curve
28.48%

Test against a path chosen in advance in each of 200 balanced simulated preparations.

Model and experimental references

These calculations use equal paths and independent, identical pure-state records. With overlap r and n records, visibility is rn. A random π phase flip with probability (1 − visibility) / 2 gives the same output curve. The check uses an optimally chosen basis on one accessible marker and scores it against the prepared path. Each run uses the same pseudorandom seed, 0x20261129.

Fringe visibility and path information · Optical path marker experiment · Collisional decoherence experiment

Download the fringe checks · Download the marker calibration