This kind of ‘magic’ could lead to a computer revolution.