If you assume factoring is in P, what effect does that have on PKI? I don’t think there would be immediate implications for ECC? I’m sure people still use RSA, but to what extent?
Also, what would be the implication for quantum computing? I think that’s the canonical example of a non quantum problem with exponential speed up that is also practical. Are there any other current examples?
Handshakes have been ECDHE for years, but a lot of the identity layer underneath is still RSA, because nobody changes the defaults.
Take Kubernetes: as far as I know kubeadm generates the cluster's keys and certs as RSA-2048 unless you set encryptionAlgorithm, and the cluster CA is valid for 10 years by default. Similar story with cert-manager and Istio.
"Quantum Simulation", i.e. condensed matter, material science, really high-energy particle physics, and protein folding are the other "killer app" and are closer to reality than a quantum computer that can run "arithmetic" algorithms like Shor's. However AI (e.g. AlphaFold) has been providing disturbingly good advanced on that side too.
There are some other advantages to quantum technologies (sensing, some specific forms of secure communication, some forms of noise-resilience in networking) that are not to be discarded too.
Honestly, if factoring goes down the quantum industry is dead. It is the only useful algorithm with a known exponential speedup versus best known classical, everything else is just suggestive and involves a ton of hand waving. And like you said, any apparent quantum speedup tends to disappear for these other problems when enough attention and classical compute is brought in. If we solve factoring classicaly, there’s very little chance all those other problems don’t also have good-enough classical algorithms.
> If we solve factoring classicaly, there’s very little chance all those other problems don’t also have good-enough classical algorithms
Isn't it the exact opposite: if integer factoring is a weak problem, doesn't that mean other problems are likely to be harder?
Factoring has been known to be sketchy for decades; it's why people developed alternatives to RSA in the first place. If it falls into a non-galactic, practical classical algorithm, it would be big news but not break the universe of cryptography. So that doesn't say much about discrete logs.
Your broader point that quantum computers don't have much to offer here is entirely correct, though. Even the quantum factoring algorithms barely work.
Not following why factoring being easy would imply other quantum problems being harder. The entire field of quantum computing essentially sits on the stilts of Shor’s algorithm. It is the only clear end-to-end exponential algorithmic speedup. Because of this, people have conjectured that quantum computers would have exponential speedups for other problems too, but to date nothing else has reached the same clear utility as Shor’s. Other problems tend to fall into one of several categories:
1) modest polynomial speedups, like Grover’s algo, which also requires you prepare a quantum oracle. unclear if this ever beats a classical computer end to end for a practical problem
2) random circuit sampling (ie any claims of quantum “supremacy” to date), which solves no interesting problem
3) intrinsically quantum problems like Hamiltonian simulation for which it is unclear whether a QC actually has algorithmic advantage for interesting observables, as opposed to just being a good classical analog computer for solving such problems. These are exactly the problems that tend to fall to classical methods when sufficient compute and algorithmic advances are applied to them, and I suspect would fall especially quickly with AI assistance.
The fundamental problem is that once Shor was published, there has been a huge effort on the quantum side to figure out “what other problems can a QC solve?” but no incentive to press on the question of “but what if we applied a similar amount of effort on classical methods?” It doesn’t help that most of the problems studied in QC are somewhat niche and chosen specifically for how they play nice with QC, so there is little impetus to study them outside the community.
So, my thesis is this: if quantum’s one slam dunk advantage falls, all the other alleged advantages that came in its wake (but rest on much shakier ground) almost certainly fall too.
My prediction: factoring is in P, and Shor’s algorithm has been hinting that to us for decades. This magic algorithmic loophole that quantum physics seems to have found never sat right with me.
If you get fast factoring in P via discrete log algorithms, much like how Shor breaks RSA, then it breaks ECC at the same time, just like quantum breaks both via the same period finding speedups.
I think it is possible you get fast factoring but not the abelian HSP problem solved which is why I don't think there is any immediate implication. Like you say, Shor's works because it solves the abelian HSP problem by period finding on a finite (abelian) group. However, integers carry a lot more structure than elliptic curves so it's possible that additional structure gives us a polytime algorithm for factoring but not ECDLP.
This would be a bit odd in my view though not implausible mostly because I think it would be somewhat strange that the only arithmetic BQP problem with exponential speedup is somehow ECC and some of the related HSP problems, even more narrow than previously. I don't know if someone more well versed in BQP vs P might have a different opinion here.
Also, what would be the implication for quantum computing? I think that’s the canonical example of a non quantum problem with exponential speed up that is also practical. Are there any other current examples?