r/programming • • 2d ago

A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem

https://eprint.iacr.org/2026/3020
175 Upvotes

29 comments sorted by

View all comments

Show parent comment

2

u/Tysonzero 1d ago

It’s a massive massive difference. An NP style nondeterminstic algorithm lets you take every branch at once using an entirely theoretical “nondeterministic turing machine”, actually running said algorithm in the real world will always be very exponential, hence the search for regular deterministic algorithms that are not. A probabilistic algorithm can and does get run all the time on everyone’s computer in the world as it just relies on a little bit of RNG/PRNG.

0

u/HasFiveVowels 1d ago

Yea, I’m aware. That’s exactly where my metaphor arose from. Consider the paths of an NTM as a decision tree. There’s a quantum connection between the two for which a single branch would be one observation and there’s a significant difference to be considered but they’re not all-together completely different things. One is a sample of the other.

1

u/Tysonzero 1d ago

Quantum analogy seems pretty tenuous, you cannot use a quantum computer to run an arbitrary nondeterminstic algorithm, NP is widely believed to not be in BQP.

1

u/HasFiveVowels 1d ago

Yea, agreed on that point. As soon as I sent it I’m like "but not really" but hoped you got the general idea I was trying to reference