why is it that in electromagnetism we can compute the intensity of a wave by taking the square of the amplitude but we cant do the same for quantum mechanical waves?

My best guess was that its because of the complex numbers in quantum but I'm really unsure.

Any help??

Thanks