Abstract
The quantum mechanical model of electromagnetic waves is considered. The photon as a particle moves with the speed of light with respect to the CMB frame. The spatial wave function of the photon is introduced as a wave accompanying the photon, with an infinite speed of spreading throughout the whole space at some moment of time. The temporal wave function of the photon emitted (absorbed) by the electron is defined through the temporal wave function of the electron (virtual photon associated with the electron) at some point of space. The Michelson-Morley experiment is studied with use of both the spatial and temporal wave functions of photon, and the null result being obtained in both the cases.