Fermat’s principle is the main principle of quantum electrodynamics where it states that any particle (e.g. a photon or an electron) propagates over all available (unobstructed) paths and the interference (sum, or superposition) of its wavefunction over all those paths (at the point of observer or detector) gives the correct probability of detection of this particle (at this point). Thus the extremal (shortest, longest or stationary) paths contribute into this interference most as they can not be completely canceled out.
— Wikipedia on Fermat’s principle
2011.06.04 Saturday ACHK