# Relation between the electromagnetic wave and quantum wavefunction

Let's look at light diffracted in conditions similar to the double slit experiment. The intensity pattern we can observe on the screen is due to the wavelike propagation of photons. We can then construct a wavefunction, whose square will give us the probability of a photon being measured at a certain point in space. The maxima of this probablity distribution will resemble the intensity maxima on our screen. The intensity of light is the square of the amplitude of electric wave associated with it.

So it seems to me that these two things tell us the same thing. The quantum wavefunction will give us the probability of a photon being at a point in space, which will be proportional to the intensity of our light (more probability means more photons over time, which means more energy). We would get the same results from calculating the electromagnetic wave at each point, right? So what is different in these two things? Does the electromagnetic wave resemble the quantum wavefunction? Is it okay to think of the EM wave as a result of the probability distribution calculated from QM? (the stronger the EM wave, the more photons can be measured, which means bigger probability... etc)

I have been reading forums and I can't find satisfying answers to this question.