Improving Shor’s Algorithm

We don’t have a useful quantum computer yet, but we do have quantum algorithms. Shor’s algorithm has the potential to factor large numbers faster than otherwise possible, which—if the run times are actually feasible—could break both the RSA and Diffie-Hellman public-key algorithms.

Now, computer scientist Oded Regev has a significant speed-up to Shor’s algorithm, at the cost of more storage.

Details are in this article. Here’s the result:

The improvement was profound. The number of elementary logical steps in the quantum part of Regev’s algorithm is proportional to n1.5 when factoring an n-bit number, rather than n2 as in Shor’s algorithm. The algorithm repeats that quantum part a few dozen times and combines the results to map out a high-dimensional lattice, from which it can deduce the period and factor the number. So the algorithm as a whole may not run faster, but speeding up the quantum part by reducing the number of required steps could make it easier to put it into practice.

Of course, the time it takes to run a quantum algorithm is just one of several considerations. Equally important is the number of qubits required, which is analogous to the memory required to store intermediate values during an ordinary classical computation. The number of qubits that Shor’s algorithm requires to factor an n-bit number is proportional to n, while Regev’s algorithm in its original form requires a number of qubits proportional to n1.5—a big difference for 2,048-bit numbers.

Again, this is all still theoretical. But now it’s theoretically faster.

Oded Regev’s paper.

This is me from 2018 on the potential for quantum cryptanalysis. I still believe now what I wrote then.

Posted on January 5, 2024 at 7:07 AM7 Comments

Comments

Laverne January 5, 2024 12:58 PM

To save everyone the math, this reduces the number of (logical quantum) steps by about 98% for 2048-bit or 4096-bit RSA. 92,700 steps instead of 4,200,000, for 2048 bits.

smily’s post January 5, 2024 1:32 PM

Is this N^2 -> N^1.5 the start of a series of improvements that tends towards N*logN ?

Erdem Memisyazici January 5, 2024 2:08 PM

I’m not an expert on these matters but curious if anyone has compared the findings to the Ekerå-Håstad variation. Any relation?

vas pup January 5, 2024 7:28 PM

First graphene semiconductor could lead to faster computers
https://www.dw.com/en/first-working-graphene-semiconductor-a-step-towards-hyper-fast-computers/a-67888543

“Scientists have made a breakthrough in electronics, creating the world’s first functional semiconductor made from graphene — a material known for being tough, flexible, light, and with a high resistance.

Their discovery comes at a time when silicon, the material from which nearly all modern electronics are made, is reaching its limit.

Scientists have been racing to develop graphene semiconductors because of their superior speed and energy efficiency compared to silicon.

“Semiconductors are essential to allow all computers to function. They allow us to create tiny switches which can be turned on and off to allow the flow of electricity. It is this electricity flowing through electrical circuits that allows computers to perform calculations,” said Sarah Haigh, Professor of Materials National Graphene Institute, University of Manchester, UK.

“Silicon electronics require a fairly large amount of power and energy, including energy needed to cool the electronics when energy is emitted as heat,” Haigh told DW.

One option was graphene. Graphene is a single sheet of carbon atoms — a 2D material held together by the strongest chemical bonds known. These carbons are arranged in tessellated hexagons, much like honeycomb.

It is an incredibly strong material — about 200 times stronger than steel. It’s so strong you can hold up a football with just one atomic layer of graphene.

Graphene is also incredibly flexible, making it ideal for use in electrical devices and batteries, or even printed on to glass, plastics, or fabrics.

But its potential to be used as a faster and more energy efficient semiconductor excites scientists the most.

!!!the new graphene superconductors could accelerate the development quantum computing technologies.

Quantum computers can solve problems in seconds that would take ordinary super computers millennia to do, but they’re still in development.

!!!Experts say graphene semiconductors could help overcome the many challenges of creating quantum computers.”

Translation please January 5, 2024 7:58 PM

It’s so strong you can hold up a football with just one atomic layer of graphene.

Could a Physicist or Material Scientist explain what that could mean?

Erdem Memisyazici January 6, 2024 1:58 PM

I’m going to call RTFA on myself here.

Regev’s paper isn’t the end of the story. Two weeks ago, Vaikuntanathan and his graduate student Seyoon Ragavan found a way to reduce the algorithm’s memory use. Their variant of Regev’s algorithm, like Shor’s original algorithm, requires a number of qubits proportional to n rather than n1.5. Ekerå wrote in an email that the work “brings us a lot closer to an implementation that would be more efficient in practice.”

Steve January 15, 2024 6:07 PM

I’ve read a lot of articles which espouse a future use of graphene, as made from carbon. One thing that never seems to get mentioned is the present, all-out war, on all things carbon, and how the people with huge stockpiles of carbon from the present war (i.e carbon capture and others), are going to be the oil (silicon) barons of the future when graphene technology really takes off.

Leave a comment

Login

Allowed HTML <a href="URL"> • <em> <cite> <i> • <strong> <b> • <sub> <sup> • <ul> <ol> <li> • <blockquote> <pre> Markdown Extra syntax via https://michelf.ca/projects/php-markdown/extra/

Sidebar photo of Bruce Schneier by Joe MacInnis.