Double Slit Experiment Simulator: Electrons One at a Time, Which-Path and Pilot Waves

A free double-slit experiment simulator: send electrons, neutrons, buckyballs or photons through two slits one at a time and watch the interference pattern build up dot by dot; turn on a which-path detector and the stripes go away; see Bohmian pilot-wave paths; and explore the uncertainty principle with wave packets.

The double slit experiment, live in your browser

This free simulator shows the most famous experiment in quantum physics two ways at once. On the left, the wave of a particle is solved live from the Schrödinger equation as it hits a wall with one, two or more slits. On the right, a detector screen far away records particles one at a time, each as a single dot. Each dot lands at a random place, but the chance of each place follows the wave, so after a few hundred or thousand dots the familiar light and dark stripes appear.

What you can do

  • Pick a real particle: electrons, neutrons, C60 buckyballs or photons, and set its energy. The page works out the de Broglie wavelength λ = h/p (with relativity for fast electrons) and the stripe spacing λL/d on a screen at distance L, in real units.
  • Change the slit width, the slit separation and the number of slits, with the sliders or by dragging the slits in the picture. One slit gives a single wide hump; two slits give stripes inside that hump; five or more slits give the sharp bright lines of a diffraction grating.
  • Set how many particles arrive per second, from one at a time (with an optional click per arrival) to thousands per second, and watch the histogram turn into the predicted curve.
  • Switch on a which-path detector. When it marks every particle with the slit it used, the stripes disappear and the screen shows two single-slit humps added together. A weaker detector leaves fainter stripes, with visibility V = √(1 − D²).
  • Show pilot-wave paths: the trajectories of the de Broglie–Bohm interpretation, where each particle follows the velocity v = (ℏ/m) Im(∇ψ/ψ) set by the wave.

How the simulator works

The wave picture uses the split-operator method: the wave function on a 256 × 256 grid (128 × 128 on phones) is moved forward in small time steps with fast Fourier transforms, with absorbing edges so waves leave the box instead of bouncing back. The wall is a high potential barrier a few cells thick. Real slits are tens of thousands of wavelengths apart, which could never be drawn, so the picture keeps the real shape (the ratio of separation to width and the number of slits) and draws the wavelength larger. The detector screen uses the exact far-field (Fraunhofer) pattern for your real numbers, I(θ) ∝ sinc²(πa sinθ/λ) cos²(πd sinθ/λ), and draws each arrival at random from it.

Real experiments

Thomas Young showed interference of light around 1801. Claus Jönsson made real double slits for electrons in 1961, and in 1989 Akira Tonomura’s team at Hitachi filmed single electrons building up the stripes one dot at a time. Neutrons were sent through a double slit by Anton Zeilinger and colleagues in the 1980s, and in 1999 Markus Arndt, Zeilinger and colleagues showed interference of C60 molecules, 60 carbon atoms each, through a grating with a 100 nm period. The presets use typical values in the style of these experiments, not the exact apparatus.

Uncertainty tab

The second tab shows a wave packet next to its momentum distribution (they are a Fourier pair). Squeeze the packet and the momentum spreads; the product Δx·Δp never goes below ℏ/2, and only a Gaussian reaches that limit. Release it and it spreads as Δx(t)² = Δx₀² + (Δp t/m)², compared live with the formula. A real-scale calculator shows why an electron in an atom moves at hundreds of km/s while a baseball’s uncertainty is far too small to notice.

Questions

Does the particle go through both slits?

The wave goes through both slits, and the measured pattern can only be explained by both parts overlapping. What the particle “really” does between source and screen depends on the interpretation: in the Copenhagen view the question has no answer without a measurement; in the de Broglie–Bohm (pilot-wave) view the particle goes through one slit and the wave through both; in the many-worlds view all possibilities happen. All of them predict the same dots.

Why do the stripes vanish when you watch which slit?

Any detector that can tell the slits apart leaves a mark that is different for the two paths, so the two parts of the wave can no longer interfere. Partial information gives partial stripes: the visibility V and the distinguishability D obey V² + D² ≤ 1.

Why are electron stripes so close together?

A 50 keV electron has a wavelength of about 5 picometres, so even with slits a micrometre apart the stripes on a screen 1 m away are only a few micrometres apart. Real electron experiments magnify the pattern with electron lenses.

Is the pattern different if particles are sent one at a time?

No. Even when only one particle is in the apparatus at a time, the dots still build up the same interference stripes. Each particle interferes with itself, not with the others.

Comments
Advertisement