Papers · Experiment · 2001
Experimental realization of Shor's quantum factoring algorithm using nuclear magnetic resonance
In 2001 a team at IBM and Stanford ran the simplest instance of Shor's factoring algorithm on real quantum hardware for the first time. Seven atomic nuclei in a specially made molecule found that 15 = 3 × 5.
The question
In 1994 Peter Shor showed that a quantum computer could factor integers in polynomial time, which means the number of steps grows only modestly with the number of digits. Known classical methods need far more effort, and widely used encryption depends on that difficulty. Seven years later, nobody had yet run the algorithm on real hardware. Small quantum computers did exist by then, including some built from molecules in a liquid and controlled with nuclear magnetic resonance (NMR). Every experiment run on these machines had been small in scale.
How the experiment came about
Isaac Chuang had used NMR in 1998 to help build one of the very first working quantum computers, though that system could not solve meaningful problems. By 2001 Chuang, who worked at IBM's Almaden Research Center in San Jose and at Stanford, wanted a much more ambitious test. Lieven Vandersypen, then a PhD student, told him he hoped to lead an experiment, and Chuang urged him to try Shor's algorithm. Vandersypen later admitted he had not known how hard it would be.
They settled on 15. Every smaller number is even, prime or a square, and ordinary methods handle all of those easily. The algorithm itself also fails for even numbers and for powers of a prime. Even this case needed seven qubits, and no suitable molecule existed. IBM chemists worked with Vandersypen to design and synthesize one, a perfluorobutadienyl iron complex. Its five fluorine nuclei and two carbon-13 nuclei served as the qubits.
Each of those nuclei behaves like a tiny bar magnet pointing up or down, which stands for 0 or 1. Radio-frequency pulses act as logic gates, and the natural coupling between neighboring nuclei links them. A sample of the liquid holds an ensemble of identical molecules, and each one is in effect a small quantum computer. Vandersypen and Matthias Steffen spent months getting the algorithm to run.
What the paper showed
The paper, published in Nature on December 20, 2001, describes itself as the simplest instance of Shor's algorithm. The team cut the circuit down as far as the case of 15 allowed, partly with a technique borrowed from software compilers. Even so, it needed seven qubits and interactions between almost every pair of them.
The authors report runs for two values of a key parameter, which they called an "easy" case and a "difficult" case. The difficult case took about 300 radio-frequency pulses, and a complete run lasted up to roughly 720 milliseconds. In both cases the measured spectra revealed the period that the algorithm is designed to find. The factors 3 and 5 follow from that period.
The spectra also differed visibly from the ideal ones, most of all in the difficult case. To explain the gap, the team built a model of decoherence, the gradual loss of quantum information to the surroundings, with no adjustable parameters. Its predictions agreed well with the measurements. Decoherence was limiting the result, not faulty control, and the authors described this as the first NMR quantum computation in which it was the dominant source of errors. Storing qubits in nuclei is scalable in principle, they wrote, but their work did not imply such scalability.
Why it mattered
Vandersypen later noted that the team knew the answer before it began, and that the field still had a long way to go from toy problems to relevant applications. The experiment's value lay in showing that seven qubits could be steered through a long algorithm with precise control, and that their errors could be predicted.
Chuang has said that before this experiment many people saw quantum computing as a scientific curiosity, and that more investment flowed into the field afterward. Two decades later the paper was still collecting about 100 citations a year, according to Steffen, who by then was IBM's chief quantum scientist.
What came after
Sources
“Here we report an implementation of the simplest instance of Shor's algorithm: factorization of N = 15 (whose prime factors are 3 and 5). We use seven spin-1/2 nuclei in a molecule as quantum bits”
Nature“Twenty years ago, a team of researchers became the first to demonstrate this algorithm on real quantum hardware, changing the field of quantum computing forever.”
IBM Quantum Blog