Remix.run Logo
▲ openasocket 5 hours ago

> This is because there is a deep periodicity in prime numbers that is exploited by the algorithm.

Not really. Shor’s algorithm solves a very generic problem called the period-finding problem. Given a periodic function, it finds the period of that function efficiently. It can be used to factor numbers efficiently by just doing this procedure on modular arithmetic (roughly, I’m simplifying a bit). All you need is a way to do a Fourier transform on the domain of the function.

> I don't think that anyone has found an elliptic curve cracker for quantum computers

Actually Shor’s algorithm works just fine on elliptic curves. That’s actually where the fancy math comes into play: for any finite (in fact, any locally compact) abelian group, there is a uniquely defined Fourier transform. This is a foundational part of harmonic analysis. But it means you can define a Fourier transform on any elliptic curve, which means you can apply Shor’s algorithm.

▲phkahler 5 hours ago | parent | next [-]

>> Actually Shor’s algorithm works just fine on elliptic curves.

Thanks, I was not aware that it could be used for that. The number theory approaches have always indicated EC and RSA are fundamentally different.

▲openasocket 4 hours ago | parent [-]

Shor’s algorithm is a bit of an oddity in that respect, because the only structure it works on is the Fourier transform (plus sampling). It’s just that you can very quickly and efficiently do the Fourier transform on a quantum computer.

Elliptic curves and the primes are certainly different, but they do share some very deep structures. It’s been a while since I studied it, but I believe some of the factoring algorithms (I think some of Lenstra’s work) actually exploited some results from elliptic curves to factor integers.

Edit: it’s this algorithm I was thinking of: https://en.wikipedia.org/wiki/Lenstra_elliptic-curve_factori...

▲phkahler 4 hours ago | parent [-]

Algorithms up to EC are covered in "Factorization and Primality Testing"

https://www.amazon.com/dp/0387970401?lv=shuf&channelId=500&p...

BTW that book would be cool if all the pseudo-code were converted to python!

▲sgt101 2 hours ago | parent | prev [-]

I was all confused about elliptic curves! My apologies.