Learning With Errors: a polynomial-time quantum algorithm at polynomial modulus-to-noise ratio?
On this page17 sections
Difficulty 79: unconditional hardness is out of reach (it would imply NP ⊄ BQP), and quantum attacks have failed since 2002, including Chen's retracted 2024 claim; Simon's 2026 DCP claim is unrefereed and contested by a no-go preprint, so it does not lower the number. Placed just below the ω problem (82) and classical factoring (84) because it is a concrete algorithmic question rather than a landmark of mathematics. Application value 80: a yes would break mandated post-quantum standards and FHE, but only once large quantum computers exist, so it ranks below classical factoring (85), which needs no new hardware. Leverage 82: the NIST lattice standards, FHE and much of modern cryptographic theory rest on it, the highest outside P vs NP and RH.
The problem
Is there a fast quantum algorithm to solve noisy secret-recovery equations, the puzzle behind new internet encryption?
- 1Secret hidden in noisy equations
- 2No fast attack known
- 3Shor's method threatens older locks
- 4Is there a quantum attack here?
- 5New standards bet that there is not
The problem. Let be the dimension, a modulus polynomial in , and a discrete Gaussian error distribution of width (with ). An LWE instance is with a uniformly random matrix, a uniform secret vector and a vector of small errors drawn from . The question: is there a polynomial-time quantum algorithm that, with non-negligible probability, recovers (search) or distinguishes from uniform (decision)?
Why a yes would be a big deal. Regev's reduction (2005) shows that an efficient algorithm for LWE would give an efficient quantum algorithm for worst-case approximate lattice problems (GapSVP and SIVP) with polynomial approximation factor. These have resisted algorithms for decades. Classical reductions exist for some parameter ranges.
State of the art. No efficient quantum algorithm is known. The best attacks, classical and quantum, are lattice-reduction and sieving algorithms with exponential running time. For heuristic sieving the cost is about classically (Becker, Ducas, Gama, Laarhoven, 2016) and about quantumly (Chailloux and Loyer, 2021, improving Laarhoven's ). So known quantum speedups only reduce the constant in the exponent.
Deployed standards. NIST published ML-KEM (FIPS 203) and ML-DSA (FIPS 204) in August 2024. Their concrete parameters are set from the estimated cost of these attacks, with margins. The FIPS 203 page carries a November 2025 note about potential errata, but no cryptanalytic break of the standardised parameters has been reported.
Approaches to a positive or negative answer.
- A positive answer needs a new quantum algorithm for the lattice or LWE problem, perhaps via a hidden subgroup-style structure. A natural route is the dihedral coset problem (DCP): an efficient quantum algorithm for it would solve related lattice problems. Past attempts have not succeeded: Chen's April 2024 claimed algorithm for LWE was withdrawn after a bug was found; a 2025 quasi-polynomial algorithm for an extrapolated DCP needs too many samples to affect standard LWE; and Simon's August 2026 preprint claiming polynomial-time DCP is disputed by a rebuttal preprint, with no accepted resolution.
- A negative answer, a proof of hardness, would be a major advance: it would separate complexity classes in ways no one knows how to do. More realistically, the problem is studied by cryptanalysis, and confidence grows with time.
Unknowns. How much do the structured variants used in practice (Ring-LWE, Module-LWE) differ in hardness from plain LWE? Do dedicated quantum algorithms for the noisy-equation structure exist that do not pass through lattice reduction?
Go deeper
The full technical text.
Let be the dimension, a modulus and a discrete Gaussian of width with and . An LWE instance is with uniform, uniform and , . Is there a quantum algorithm running in time that, with non-negligible probability over , recovers (or distinguishes from uniform)? By Regev's reduction a yes would put and SIVP with in . The conjecture underlying lattice-based cryptography is that the answer is no. The same question can be asked for the structured (ring and module) variants used in standards, whose worst-case reductions refer to ideal and module lattices, a more structured and less-studied class.
Words on this page (12)
- Learning With Errors (LWE)
- The puzzle of recovering a secret from many equations that each carry a small random error.
- lattice
- A regular grid of points made by adding whole-number multiples of a few basic arrows.
- shortest vector problem
- Finding the shortest nonzero arrow from the origin to a point of a lattice.
- post-quantum cryptography
- Encryption designed to remain secure against attackers with large quantum computers.
- Shor's algorithm
- A quantum method that factors big numbers quickly, breaking widely used older encryption.
- lattice reduction
- Algorithms that look for a short, nearly perpendicular set of arrows describing a lattice; the main attack on LWE.
- modulus
- The number at which values wrap around, like hours on a 12-hour clock.
- worst-case to average-case reduction
- A proof that breaking typical random instances would let you solve the hardest instances too.
- quantum algorithm
- A step-by-step method designed to run on a quantum computer.
- dihedral coset problem
- A quantum problem about hidden shifts; a fast quantum algorithm for it would give fast quantum algorithms for some lattice problems.
- lattice sieving
- The fastest known way to find short lattice vectors: generate many vectors and repeatedly combine pairs into shorter ones; it takes exponential time.
- discrete Gaussian
- A bell-curve-shaped probability distribution over whole numbers, used to draw the small LWE errors.
New to this? Read first (3)
- Learning with errors (Wikipedia)A direct introduction to the puzzle with a small example.
- Lattice-based cryptography (Wikipedia)Shows how the puzzle is turned into working encryption.
- Post-quantum cryptography (Wikipedia)Places LWE among the other quantum-resistant approaches.
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Step 3
- Quantum algorithmsAlgorithm
- Linear programmingAlgorithm
- Step 4
- Step 5
- Lattice-based cryptography (LWE)Algorithm · host
- Then
- Learning With Errors: a polynomial-time quantum algorithm at polynomial modulus-to-noise ratio?The problem
State of the art
No efficient quantum algorithm is known. The best attacks, classical and quantum, are lattice-reduction algorithms with exponential cost; for heuristic sieving the running time is about classically (Becker, Ducas, Gama and Laarhoven, 2016) and about quantumly (Chailloux and Loyer, 2021, improving Laarhoven's ), so known quantum speedups only shrink the constant in the exponent. Concrete parameters of ML-KEM (FIPS 203) and ML-DSA (FIPS 204), published 13 August 2024, are set from these costs. The FIPS 203 page carries a November 2025 note about potential errata; no cryptanalytic break of the standardised parameter sets has been reported.
Quantum routes. Regev (FOCS 2002) showed that an efficient quantum algorithm for the dihedral coset problem (DCP) that tolerates some failure probability would solve unique-SVP for polynomial factors; Kuperberg's subexponential algorithm is the best general DCP algorithm. Brakerski, Kirshanova, Stehlé and Wen (2018) connected LWE to extrapolated DCP (EDCP). Bai, Jangir, Kirshanova, Ngo and Youmans (ePrint 2025/1046, June 2025; CRYPTO 2025) gave a quasi-polynomial quantum algorithm for EDCP over power-of-two moduli using quasi-polynomially many samples; they state that it does not affect LWE with standard parameters because the reduction from LWE supplies only polynomially many samples.
Chen 2024. Yilei Chen's ePrint 2024/555 (10 April 2024) claimed a polynomial-time quantum algorithm for LWE with certain polynomial modulus-to-noise ratios, which would have given quantum algorithms for GapSVP and SIVP at approximation factors . On 18 April the author reported that Step 9 contained a bug he could not fix, found by Hongxun Wu and, independently, Thomas Vidick, and stated that the polynomial-time claim does not hold.
Simon 2026 (unrefereed, disputed). Daniel Simon (AWS) posted ePrint 2026/1591 on 3 August 2026, claiming a polynomial-time quantum algorithm for DCP and hence, via known reductions, for approximate SVP within a factor and for LWE in a corresponding parameter regime. The ePrint record shows six revisions through 8 October 2026, including a corrected proof of Lemma 3. Gupte, Ragavan and Zhandry (ePrint 2026/1693, 15 August 2026, revised 1 September) argue that the algorithm cannot recover the least-significant bit of the DCP secret with non-negligible advantage, hence does not solve DCP, and prove a broader no-go result for algorithms following Regev's template, with Lean code. Simon's revision of 7 October 2026 responds to that note and to comments by Sam Jaques. Guo and Yang (ePrint 2026/1714, 17 August 2026) give rigorous proofs of three of the four lemmas that Simon's preprint stated with only sketches, but identify a remaining unproven hypothesis about how the algorithm chooses its partition, and conclude that the lemmas alone do not establish correctness. All three are preprints; there is no accepted resolution, and none of them is a demonstrated attack on any standardised parameter set.
Realistic applications
A polynomial-time quantum algorithm for LWE at standard parameters would break ML-KEM, ML-DSA, most lattice-based fully homomorphic encryption and many protocols built on them, forcing another migration of public-key cryptography to a non-lattice basis such as code-based HQC (selected by NIST in March 2025) or hash-based signatures. A proof, or strong new evidence, of quantum hardness would justify continued deployment at the current parameters and smaller margins. Partial progress, such as algorithms that work only for unusual parameter regimes (very small modulus, special noise distributions), directly tells designers which regimes to avoid.
What counts as solved
Either (a) a quantum algorithm with a complete proof or heuristic analysis that is verified by independent experts and, ideally, run on small instances, solving LWE (or DCP together with an accepted reduction) for the parameters above; or (b) a convincing hardness result. Unconditional hardness is out of reach (it would prove , and in particular ), so in practice (b) means a reduction from a well-studied problem or a proved limitation on large algorithm families, such as the Gupte–Ragavan–Zhandry no-go note for Regev-template DCP algorithms. Expert acceptance of a claim requires scrutiny of the full proof; a preprint alone, as the 2024 episode showed, is not enough.
How it gets verified
To verify: Expert reviewOnly expert review of the argument is possible today.
The claim is an algorithm plus an analysis (or a heuristic argument) for LWE at polynomial modulus-to-noise ratio, and unconditional hardness is out of reach. Independent experts check the analysis, and small-instance runs can support but not prove it. No Lean statement is realistic because Mathlib has no quantum complexity or lattice-problem framework.
Claims
Where the work is
Either a new quantum algorithm or new evidence for hardness is a theory question; a proof of hardness is out of reach with current complexity theory. Compute is used for concrete cryptanalysis that sets parameters.
Connected problems
- This problem is related to P versus NP: does Boolean satisfiability have a polynomial-time algorithm?LWE security cannot be based on P ≠ NP alone: the worst-case lattice problems in Regev's reduction are in NP ∩ coNP for approximation factors of order √n and above, so they are not NP-hard unless the polynomial hierarchy collapses.
- This problem is related to SVP challenge: a short vector in dimension 211 or higherLattice-reduction cost against random lattices is the classical benchmark for the LWE hardness assumption.
- This problem is related to LWE challenge: solve an instance beyond the current n and α frontierMeasured classical attack cost on small LWE instances is the empirical side of the LWE hardness assumption behind the standards.
- This problem is related to Planted clique at k = n1/2−ε: hardness beyond low-degree polynomials and sum-of-squaresBoth are average-case problems whose hardness is assumed for statistics or cryptography without a worst-case NP-hardness proof; LWE has worst-case lattice reductions, planted clique has none.
- This problem is related to Unconditional deterministic NP-hardness of Euclidean (ℓ₂) shortest vector problem, and at polynomial factorsBoth concern the complexity of GapSVP: Regev’s reduction bases LWE on GapSVP at polynomial factors, where NP-hardness is ruled out by NP ∩ coNP membership, while this problem asks for deterministic NP-hardness at smaller factors.
- This problem is related to Exponential rate of the densest sphere packing in ℝd: between d² 2−d and 2−0.599dLattice cryptography depends on the hardness of lattice problems; packing and kissing bounds enter sieving cost models, though no implication is known.
- This problem is related to A polynomial-time quantum algorithm for the dihedral hidden subgroup problemBy Regev (2002) a failure-tolerant polynomial-time DCP algorithm gives quantum algorithms for unique-SVP, and Brakerski et al. (2018) showed LWE is equivalent to extrapolated DCP, so the two problems share their main quantum line of attack.
- This problem is related to Classical verification of quantum computation without cryptographic assumptionsMahadev's single-prover protocol is sound only if LWE is hard for quantum computers; an information-theoretic protocol would remove that dependence.
Progress
- Aug 15, 2026No-go note against Simon's algorithmsource
Gupte, Ragavan and Zhandry argued that the algorithm cannot extract the least-significant bit of the DCP secret and proved a broader no-go result for algorithms following Regev's template, with Lean 4 code; Simon revised his preprint on 7 October in response. Unresolved.
- Aug 3, 2026Simon's DCP preprintsource
Simon (AWS) claimed a polynomial-time quantum algorithm for the dihedral coset problem, which via known reductions would give quantum approximate SVP within about √n·polylog n and attacks on LWE in a corresponding regime; unrefereed and contested.
- Jun 4, 2025Quasi-polynomial quantum algorithm for EDCP over power-of-two modulisource
Bai et al. solved the extrapolated dihedral coset problem for power-of-two moduli in quasi-polynomial time; the authors state it does not affect standard LWE.
- Apr 10, 2024Chen's quantum LWE claim and its withdrawalsource
ePrint 2024/555 claimed polynomial-time quantum LWE algorithms; on 18 April the author reported an unrepairable bug in Step 9 and withdrew the claim.