A quantum computer made of five trapped ions has been used by physicists in Austria and the US to implement Shor's factoring algorithm.