The first piece of software to show the potential of quantum computing has finally been run on a real machine, 20 years after it was initially dreamed up. Although it doesnāt do anything useful on its own, implementing the algorithm could lead to more practical computers powered by the strange properties of quantum mechanics.
Quantum computers should be much faster than ordinary ones, but only at tasks for which there is a quantum algorithm ā software that takes advantage of the computerās quantum nature. Without these algorithms, quantum computers are just regular computers that are much harder to build.
One of the best-known pieces of quantum software is Shorās algorithm, which factorises large numbers into their prime components ā a notoriously slow and difficult problem to solve classically. Shorās algorithm has been run in a limited way using photons sent through the air and on silicon chips ā but a full-blown quantum computer capable of running it could threaten online encryption, which relies on large primes.
Advertisement
Designing an algorithm that takes advantage of a quantum computer is tricky, so there arenāt many around. In 1994, Daniel Simon, then at the University of Montreal, Canada, came up with one of the earliest examples. Crucially, his was the first that showed a quantum computer could solve a problem exponentially faster than an ordinary computer. Previous algorithms had only shown a slight speed boost, or none at all.
Sceptical
Simon was a quantum computing sceptic, but in attempting to prove they would never be useful, he stumbled across a problem that showed the exact opposite. Imagine you feed a string of bits, like 0101, into a black box and get another string, like 1100, out in return. There are a finite number of possible outputs, but you donāt know how the black box produces them. Simonās problem asks: does the black box give a unique output for every possible input, or do some inputs give a common output? The problem doesnāt show up in any real-world applications, but Simonās algorithm for solving it inspired the more useful Shorās algorithm and the field of quantum computing as a whole.
āIt has a kind of special place in the history of the development of quantum algorithms,ā says at the University of KwaZulu-Natal in Durban, South Africa. āHowever, despite being the first to show that an exponential gap exists, it was surprisingly never experimentally realised in all the years since.ā
Thatās why Tame and his colleagues have now run Simonās algorithm for the first time. They used a one-way quantum computer, so-called because it uses up some of the qubits, or quantum bits, during calculation. The computer used six photons as qubits to solve a two-qubit version of Simonās problem, the simplest possible. The algorithm is probabilistic, meaning you have to run it multiple times to get an answer.
Completed jigsaw
Tameās quantum computer needed an average of two runs to succeed, while an ordinary computer needed an average of eight-thirds runs ā the first step in an exponential speed-up in line with theoretical predictions. āFor me it has been like finding the missing piece of a jigsaw and putting it in its place to complete the picture,ā he says.
āI donāt think I ever really thought about anyone bothering, since itās not of practical value in itself,ā says Simon, who now works in computer security at Microsoft. But Tame says running the algorithm has helped test the teamās one-way quantum computer, and they now hope to build more advanced versions. āThe demonstration was more a proof of principle,ā says Tame.
āItās great that someone finally got around to doing this,ā says at the Massachusetts Institute of Technology, though he isnāt convinced the speed-up itself matters. āThe right question is not what āspeed-upā youāre getting today, but what experimental advances youāve made that could lead to a real speed-up in the future.ā
Reference: