So I was bored and thought about it.
Magic vs. Technology
Edit: Everyone is alive in HPU and all canon SWU is alive. Both sides are aware of the upcoming battle. Planet killer attacks not allowed.
-
Star Wars would win pretty quickly. Nothing in the Harry Potter universe would be able to defeat anything in the Star Wars universe. Earth is an insignificant planet and the Empire could do an orbital bombardment.