This repository explores the double slit experiment through the lens of a new Coherence Paradigm, where coherence is treated as the fundamental driver of physical phenomena.
Instead of framing the double slit as a paradox of "wave vs particle," we treat visibility of the interference fringes as a direct measure of system coherence.
This reframes the double slit not as a mystery, but as the acid test of coherence as a physical principle.
-
Fringe contrast = coherence.
Visibility of the interference pattern depends on the degree of coherence between the two paths. -
Unification of photons & electrons.
The same coherence-based visibility law applies to both photons and electrons, with wavelength given by
$$[ \lambda = \frac{h}{p} ]$$ -
Environment as decoherence channel.
Which-path probes, thermal noise, or finite source size reduce fringe contrast exactly as predicted by a coherence parameter$$( \gamma_{12} )$$ . -
Paradigm shift.
Matter is not sometimes βwaveβ and sometimes βparticleβ β instead, it always carries a coherence state, and visibility follows directly from that.
βββ sim/ β βββ sim_double_slit.py # Core simulation functions β βββ interactive_double_slit.ipynb # Jupyter notebook with sliders βββ results/ β βββ example_plots.png # Sample output plots βββ README.md # This file
- Clone the repo:
git clone https://github.com/your-username/coherence-double-slit.git cd coherence-double-slit - Install requirements:
pip install -r requirements.txt
- Run a quick simulation:
python sim/sim_double_slit.py
This will generate a sample double slit interference plot with given parameters.
π Interactive Notebook
To explore the experiment dynamically:
- Launch Jupyter:
jupyter lab
- Open
sim/interactive_double_slit.ipynb
- Use sliders to vary
- Electron energy ((eV))
- Slit separation ((d))
- Slit width ((a))
- Coherence length ((L_c))
The intensity at the screen is modeled as:
where:
-
$$(A_1, A_2)$$ are the amplitudes from slit 1 and slit 2. -
$$(\gamma_{12})$$ is the coherence factor$$((|\gamma| \le 1))$$ .
Special cases:
- If
$$(\gamma_{12} = 1)$$ β perfect coherence, full interference pattern. - If
$$(\gamma_{12} = 0)$$ β full decoherence, no fringes.
This is the core visibility law β independent of whether the experiment uses photons or electrons. π Future Directions
Extend to multi-slit (N-slit interference with coherence matrix formalism).
Add decoherence models (thermal coupling, weak measurements).
Compare to experimental datasets.
Explore implications for coherence as a fundamental physical force.
β¨ License
MIT License β free to use, adapt, and extend.
π¬ Contributions
Pull requests, issues, and discussions are welcome. This is an open-ended research project β feel free to build on it.