Event-by-Event Simulation of the Mach-Zehnder Interferometer

This Demonstration shows that it is possible to construct classical dynamical systems that do not rely on any concept of quantum theory, yet that display the same interference patterns as those observed in single-photon Mach–Zehnder interferometer experiments. The detectors , , , and are the cumulative counts of photons until they are reset.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The Mach–Zehnder interferometer was originally conceived as a device to measure the refractive index of an object placed in one of the arms of the interferometer [1].
A light beam along the line labeled is split in two by a half-silvered mirror, represented by the left-most purple block. The two resulting beams are each reflected by a mirror (thick black line).
Changing the time delay () in the upper (lower) arm of the interferometer changes the phase () of the lightbeam in this arm, according to () (dimensionless units). According to Maxwell's classical theory of electrodynamics, the beams interfere in the second half-silvered mirror and the resulting signals registered by the two detectors at the end of the lines labeled and show interference patterns, and , respectively [2].
Generally, it is accepted that interference is a typical wave phenomenon. On the other hand, it is an experimental fact that when the experiment is carried out one photon at a time, the number of photons recorded at each detector agrees with the prediction of Maxwell's theory [3]. However, at any time there is only one photon traveling from the source to the detector and it has been shown experimentally that each individual photon travels along one path only [3]. Quantum physics "solves" this dilemma by introducing the concept of particle-wave duality.
This Demonstration shows that classical, event-based processes that satisfy Einstein's criterion of local causality [4] can provide an alternative interpretation of results conventionally attributed to quantum effects. In the simulation, the photons are regarded as messengers that travel from the source to a detector. The message carried by a messenger may change as the messenger encounters another object, such as a beam splitter. In this Demonstration, only the beam splitters update the messages. The key point of the update algorithm is that it defines a classical, dynamical system that has a primitive learning capability. In this Demonstration, the user can control the speed or accuracy of the learning process in each beam splitter.
[1] M. Born and E. Wolf, Principles of Optics, Cambridge: Cambridge Univ. Press, 2005.
[2] T. L. Dimitrova and A. Weis, "The wave-particle duality of light: A demonstration experiment," American Journal of Physics 76(2), 2008.
[3] P. Grangier, G. Roger, and A. Aspect, Europhys. Lett. 1(173), 1986.
[4] H. De Raedt, K. De Raedt, and K. Michielsen, "Event-Based Simulation of Single-Photon Beam Splitters and Mach-Zehnder Interferometers," Europhys. Lett., 69, 2005 pp. 861–867.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+