Is there a harmonic potential (maybe vacuum fluctuations) that is responsible for the energy of the photons being $E=n\hbar\omega$?
In classical and semi classical physics we always consider $E=\hbar\omega$, does that come from the bose statistics which tends to keep the particles to their lowest levels or is this related to the fact that we do not consider the electromagnetic field to be quantized?
I know this question has partly been answered with references to Maxwell's equations but it really makes it look like a coincidence to me where I suspect it is not. I suppose Maxwell's equations can be derived from more fundamental quantum electrodynamics...