Can someone explain the procedure by which we can view classic electromagnetism through quantum mechanics? Are we able to look at any field as an ensemble of particles (photons), and how can we develop classic field theory assuming quantum mechanics, such as beamforming .