Are magnesium sulfate and magnesium oxide the same?

No. Both are forms of magnesium, but have differences in absorption and biological use. Magnesium oxide is the worst form to supplement with.