  The Ullersma model for the damped harmonic oscillator is coupled to the
quantised electromagnetic field. All material parameters and interaction
strengths are allowed to depend on position. The ensuing Hamiltonian is
expressed in terms of canonical fields, and diagonalised by performing a
normal-mode expansion. The commutation relations of the diagonalising operators
are in agreement with the canonical commutation relations. For the proof we
replace all sums of normal modes by complex integrals with the help of the
residue theorem. The same technique helps us to explicitly calculate the
quantum evolution of all canonical and electromagnetic fields. We identify the
dielectric constant and the Green function of the wave equation for the
electric field. Both functions are meromorphic in the complex frequency plane.
The solution of the extended Ullersma model is in keeping with well-known
phenomenological rules for setting up quantum electrodynamics in an absorptive
and spatially inhomogeneous dielectric. To establish this fundamental
justification, we subject the reservoir of independent harmonic oscillators to
a continuum limit. The resonant frequencies of the reservoir are smeared out
over the real axis. Consequently, the poles of both the dielectric constant and
the Green function unite to form a branch cut. Performing an analytic
continuation beyond this branch cut, we find that the long-time behaviour of
the quantised electric field is completely determined by the sources of the
reservoir. Through a Riemann-Lebesgue argument we demonstrate that the field
itself tends to zero, whereas its quantum fluctuations stay alive. We argue
that the last feature may have important consequences for application of
entanglement and related processes in quantum devices.
