Abstract
We present a microscopic quantization scheme for the electromagnetic field in dispersive and lossy dielectrics of arbitrary geometry. This method also describes anisotropic media and media driven by light field via a spatially nonlocal permittivity. The method removes the need for complicated diagonalization of material, reservoir and field variables and allows us to include the effect of all the material excitations. Dissipation inside the medium is described by considering the coupling of the polarization quanta of the system with the reservoir oscillators in the usual Langevin approach.