Scientists prove 'quantum theory' that could lead to ultrafast magnetic computing