Well, inside a cube of light, the total energy depends on both the number of photons and the energy (frequency) of each photon. Since the number of photons is by itself an operator, I thought there would have to be a separate one for frequency.
On the other hand, if frequency is a parameter instead of an operator, then maybe not.
I was really wondering about the mutual compatibility of certain kinds of knowledge of light. Is it possible, for example, to know that I have exactly, say, three photons inside of a cube, and to also know the exact frequency of each one?
(And if so, would this simply mean that I would have no knowledge of their phase as well? I do remember reading in an old Dirac paper that energy and phase were conjugate variables. And what about polarity? Is that simply another parameter and therefore not a problem? And so on . . . )