Two Paths Lab

Change the phase and see how two paths shape a photon’s chance of reaching each detector.

Expected outcomes

Detector A50.0%
Detector B50.0%

Each run draws 100 outcomes from the probabilities above.

JavaScript is required to change the settings and run the simulation.

How the model works

The phase is the offset between the two waves. Visibility is the contrast between the highest and lowest probabilities as phase changes. With nonzero visibility, Detector A is most likely at 0° and Detector B at 180°. At zero visibility, both have a 50% chance at every phase.

The model uses P(A) = (1 + V cos φ) / 2 and P(B) = 1 − P(A), with V from 0 to 1. Each run is a simulation of independent outcomes. Single-photon interference experiment

Release 1

Release 1 models phase, visibility and individual detector outcomes.