The use of magic in Harry Potter stories

How does the use of magic in Harry Potter stories compare with that in the Prose Edda or in the Zuni Emergence myth?