"Any sufficiently advanced magic is indistinguishable from technology",
-Terry Prachett
It applies to Potterworld as well as DiscWorld.
Yup. Magic is more science than art in Harry Potter anyway.
Maybe when Harry graduates he can apply to the Unseen University.