To prepare the ground for the quantization of the electromagnetic field, let us revisit the
classical treatment of a simple harmonic oscillator with one degree of freedom. We
start, with the assertion that the Hamiltonian of such an oscillator must have the form.