Quantum algorithm solves F3-subset sum with ε·n2 vectors, enabling exponential speedup
A quantum algorithm can find a zero-sum subset in polynomial time using only ε·n2 input vectors
Quantum arXiv 30 Sep 2026 Method Theory
Published as “Exponential quantum speedup for $\mathbb{F}_3^n$-Subset-Sum? Or, rigorous classical algorithms for Binary-Error LWE”
Why it matters
If the quantum algorithm can indeed solve F3-Subset-Sum with only ε·n2 samples, it suggests a potential exponential quantum speedup over the best known classical methods for a natural average-case problem related to post-quantum cryptography.
Summary
The paper shows a polynomial-time quantum algorithm for average-case F3-Subset-Sum that works with as few as m = ε·n2 random vectors for any constant ε>0, by leveraging a deterministic classical solver for binary-error LWE and proving a full sample-time tradeoff. It also improves the best known classical algorithm for F3-Subset-Sum to require m ≈0.1022·n2 vectors, still far above the quantum threshold. The evidence rests on rigorous theorems (Theorem 1.3, Theorem 1.7) and explicit algorithmic constructions, though the new classical constant is obtained via heuristic LLM-assisted optimization and lacks a formal proof.
What they found 3
- Quantum algorithm solves F3-Subset-Sum for any constant ε>0 with m = ε·n2 vectors.
“Theorem 1.3. Let κ> log(3) be any constant. For every m≥κ· n, there is a quantum algorithm that solves Problem 1.1 with probability at least 1 -2-Ωκ(m) and runs in time (m/n)Oκ(⌈n2/m⌉).”
- Deterministic classical algorithm solves binary-error LWE for any constant ε>0 with m = ε·n2 vectors.
“Theorem 1.7. Let κ> logq/2(q) be any constant. For every m≥κ· n, there is a deterministic classical algorithm that solves Problem 1.5 with probability at least 1 -2-Ωq,κ(m) and runs in time (m/n)Oq,κ(⌈n2/m⌉).”
- Improved classical F3-Subset-Sum algorithm works with m ≈0.1022·n2 vectors.
“We improve this to m= c⋆· n2, where c⋆= 8 log(3) -9 ≈0.1022.”
Caveats 3
- We do not give a formal proof of this bound in the present paper and leave it to future work to develop a more systematic understanding of classical algorithms for Fn3-Subset-Sum.
- We do not expect this algorithm to be the best-possible and have not found it insightful to study it in detail.
- We do not know (or expect) that this constant is optimal, but achieving a similar sample-time tradeoff as we do in the quantum case (and in particular a classical algorithm for any fixed ε> 0) seems to require substantially new ideas.
What’s new here 4
- Provides a quantum algorithm that solves F3-Subset-Sum with m = ε·n2 for any constant ε>0, extending beyond the previous quantum threshold of m≈n^{2/2}.
- Gives a deterministic classical algorithm for binary-error LWE with a proven sample-time tradeoff matching prior heuristic predictions.
- Improves the classical F3-Subset-Sum threshold to m ≈0.1022·n2, a significant reduction from the earlier m≈n^{2/3} bound.
- Extends the classical and quantum results to larger prime fields, achieving near-quadratic improvements for F_q-Subset-Sum.