Home » Quantum Computing: From Theory to Practical Breakthroughs

Quantum Computing Explained: Shor’s Algorithm, Google’s Sycamore Claim and the Gap to Useful Machines

By

–

Quantum Computing: From Theory to Practical Breakthroughs

Peter Shor did not set out to break the internet. In 1994 he read a paper by the computer scientist Daniel Simon, which showed how quantum superposition could solve a contrived problem, and he stretched the trick into something practical. The result was an algorithm that could split large numbers into their prime factors far faster than any ordinary machine. Much of online security rests on the assumption that this is effectively impossible. Shor’s method showed that the assumption would fail badly once powerful quantum computers existed.

Why qubits are different

A classical bit is always a 0 or a 1. A qubit can sit in a mix of both, which is called superposition, and several qubits can be pushed into one shared superposition. Two qubits give four components working at once, and the count grows exponentially with every qubit added. In effect the machine runs many computations in parallel.

There is a catch. Reading out a superposition gives you the answer from just one random component. The trick is to map the final state onto something simpler before you look, and for most problems nobody knows how. Shor’s insight was that finding the period of a repeating function can be done this way, and that every number has such a function tied to its prime factors. A classical computer then takes over and finishes the arithmetic quickly.

Thirty years on

Quanta Magazine reported in October 2023 that Oded Regev, a computer scientist at New York University, had built a faster variant. His version is the first to improve the relationship between the size of the number and the quantum operations needed to factor it. Shor himself said he would have expected any algorithm with that outline to be “doomed”, and added: “But I was wrong.” Martin Ekerå of the Swedish National Communications Security Authority was more guarded. Beating the existing approach in practice, he said, will need more optimisation.

The hardware is the real obstacle. Quanta cited an estimate from Ekerå and Google’s Craig Gidney that factoring a 2,048-bit number with Shor’s algorithm would take 20 million qubits. The best machines then had a few hundred. The Guardian put the figure for breaking encryption at 100m qubits, nearly two million times as many as Google’s processor.

The Sycamore dispute

In October 2019 Google published a paper in Nature describing Sycamore, a superconducting processor with 53 qubits, built by a team led by John Martinis. The task was deliberately contrived: checking the randomness of a sequence of numbers. Sycamore finished in three minutes and 20 seconds. Google’s researchers claimed the world’s most powerful supercomputer, at Oak Ridge National Lab, would need 10,000 years.

IBM replied almost at once. In a blogpost its scientists argued that the Oak Ridge machine could do the job in 2.5 days, perhaps less depending on the programming, so “quantum supremacy” had not been reached. Christopher Monroe of the University of Maryland, a co-founder of IonQ, called the paper a milestone, though an academic one: the problem was unlikely to be useful for anything beyond showing that something looks hard for ordinary computers.

William Oliver of MIT compared it to the Wright brothers’ first flight, which solved no pressing problem but showed a new possibility. The Guardian noted that companies had invested about $1bn by then, and that researchers hoped for rudimentary useful devices within a decade or so, working alongside standard computers.

Sources

Get breaking stories first on our Telegram channel.

More stories by

Most read

Electronics & Computing

Cybersecurity

Gadgets & Reviews

Business