Quantum Computing

I am planning to take go into quantum computing. I am a Computer Engineer with a minor in physics with a focus on modern quantum theory. I was wondering if I take undergraduate and graduate level quantum physics classes would be enough for me to have a solid background on the subject before I do research or phd research. Or should I take Electricity and Magnetism? would E&M be absolutely necessary or just something to know?
I plan on taking undergraduate and graduate level Quantum physics. But should I take undergraduate electricity and magnetism and even graduate level? I plan on taking the graduate level physics classes along my masters in Computer engineering.
Thank you - your friendly neighborhood Persian