Proceedings of The Royal Irish Academy: On the representation of the wave function of a quantized field by means of a generating function