← Atlas

Algorithms · Computational number theory

Estimating Gauss sums over finite fields and rings

Given the specification of a nontrivial multiplicative character χ and an additive character indexed by β over a finite field F_{p^r}, estimate the angle γ modulo 2π in the Gauss sum G(F_{p^r}, χ, β) = √(p^r) · e^(iγ). The same question is then asked for Dirichlet characters over Z/nZ.

Attested & literatureUpdated

Open on the mapView frozen graph

  • Record typeLiterature reference
  • Speedup class (secondary source)Superpolynomial
  • Primary source on the speedupNot stated by the primary source — the full text of arXiv:quant-ph/0207131 — abstract, sections 1 through 8 and the conclusion. Section 5 raises the classical question and answers it with a reduction rather than a bound: "Although we are not able to prove that this is hard, we can give the following reduction, which indicates that a classical polynomial time algorithm is unlikely." Section 8 then leaves it open: "For the results of this article it remains therefore an important open question if Gauss sum estimation is hard classically, even under the assumption that factoring and discrete logarithms are easy." No classical running time is stated anywhere in the text. was read and makes no such claim
  • Reported costO((1/ε) · polylog(p^r)) time to estimate the angle to within ε over a finite field F_{p^r}, and O((1/ε) · polylog(n)) over Z/nZ, with the norm |G(Z/nZ, χ, β)| determinable in polylog(n) time. The Jacobi-sum corollary carries the same O((1/ε) · polylog(p^r)) bound.
  • Papers1

A part this method uses, worked through

This page says Shor's discrete-logarithm algorithm — here is a concrete, runnable instance of it.

Order-finding for 7 mod 15

3 counting qubits, 4 work qubits, finding the order of 7 modulo 15 (the order is 4: 7⁴ mod 15 = 1).

q0q1q2q3q4q5q6XHadamard layer(3)Controlled x7 mod 15Controlled x4 mod 15QFT inverse(3)

Where it ends up

  • 00010006%
  • 00010106%
  • 00011006%
  • 00011106%
  • 12 more outcomes75%

The counting register reads 000, 010, 100 or 110, each equally likely, corresponding to the four powers k = 0, 1, 2, 3 of the order r = 4; the work register ends entangled with the counting outcome, holding one of 1, 7, 4 or 13. Repeating this and applying the continued-fractions step of the full algorithm to a nonzero outcome recovers the order r = 4 exactly.

Open this part in Studio

A part this method uses, worked through

This page says amplitude amplification — here is a concrete, runnable instance of it.

Grover's algorithm finds |101⟩

3 qubits, searching for |101⟩ among 8 states, with 2 Grover iterations.

q0q1q2Hadamard layer(3)Phase oracle(101)Grover diffuser(3)Phase oracle(101)Grover diffuser(3)

Where it ends up

  • 10195%
  • 0001%
  • 1101%
  • 0011%
  • 4 more outcomes3%

Measuring gives 101, the marked state, with high probability.

One of its steps changes only phase: the outcome probabilities stay put while the state does not.

Open this part in Studio

The specification of the character lets the algorithm build the state |χ⟩ efficiently, using Shor's discrete-logarithm algorithm together with a phase-kickback trick and amplitude amplification. Applying the finite-field quantum Fourier transform to |χ⟩ and then the phase change |y⟩ → χ²(y)|y⟩ produces an eigenrelation in which the Gauss sum divided by √(p^r) appears as the eigenvalue. Preparing a superposition of |χ⟩ with a stale component turns that eigenvalue into a relative phase e^(iγ), which standard phase estimation reads out with O(1/ε) samples. The same machinery, applied to Dirichlet characters and combined with a reduction to primitive characters through the Chinese remainder theorem, extends the result from finite fields to Z/nZ, and a corollary covers Jacobi sums. This record's speedup class, "Superpolynomial", is a secondary source's classification of the algebraic and number theoretic algorithms it files this under — not a claim its primary paper makes. Not stated by the primary source — the full text of arXiv:quant-ph/0207131 — abstract, sections 1 through 8 and the conclusion. Section 5 raises the classical question and answers it with a reduction rather than a bound: "Although we are not able to prove that this is hard, we can give the following reduction, which indicates that a classical polynomial time algorithm is unlikely." Section 8 then leaves it open: "For the results of this article it remains therefore an important open question if Gauss sum estimation is hard classically, even under the assumption that factoring and discrete logarithms are easy." No classical running time is stated anywhere in the text. was read and makes no such claim. Reported cost: O((1/ε) · polylog(p^r)) time to estimate the angle to within ε over a finite field F_{p^r}, and O((1/ε) · polylog(n)) over Z/nZ, with the norm |G(Z/nZ, χ, β)| determinable in polylog(n) time. The Jacobi-sum corollary carries the same O((1/ε) · polylog(p^r)) bound..

References

  • Efficient Quantum Algorithms for Estimating Gauss Sums

    Wim van Dam, Gadiel Seroussi · 2002

    Primary source, and the source of this record's cost claim. It is also the document that shows the Zoo's speedup class for this entry is not the paper's: section 5 offers a reduction rather than a hardness proof, and section 8 names classical hardness of Gauss sum estimation as an open question. Consult it for the character specification the algorithm needs as input and for the eigenrelation the phase estimation is run against.

Attested & literature
  • Peer-reviewed paper
Method
Curation only. The problem statement was recorded from the literature; the speedup class is checked against the record's own primary paper, which does not state it; the primary reference's title, authors and submission year were read from its arXiv abs page; the complexity claim was taken from a clause of that paper's abstract (section 4, Theorem 1 of arXiv:quant-ph/0207131: "The time complexity of this algorithm is bounded by O( 1/ε · polylog(p^r))."; section 7, Theorem 2: "The time complexity of this algorithm is bounded by O( 1/ε · polylog(n)). Also the norm |G(Z/nZ, χ, β)| can be determined in polylog(n) time."; section 4.1, Corollary 1, for Jacobi sums: "…with expected error ε with time complexity O( 1/ε · polylog(p^r))." The introduction states the same bound in the general form O( 1/ε · polylog|R|).). No circuit was constructed, simulated or run.
Result
Pass · the record's problem, speedup class and primary reference agree with the two sources named above.
Caveat
This is a literature record: nothing was constructed, compiled, simulated or run, and no Gauss sum was estimated here. The Zoo files this entry as a superpolynomial speedup, and the paper it cites does not claim one — the authors write that they are not able to prove that classical estimation is hard, offer a reduction as evidence that a classical polynomial-time algorithm is unlikely, and then name the question as an important open one in their conclusion, explicitly leaving it open even under the assumption that factoring and discrete logarithms are easy. So the class on this record is the Zoo's, and the primary source is silent on it. The bounds above assume a nontrivial character and β ≠ 0; the trivial cases are excluded by convention rather than handled. The cost is stated as time complexity in an asymptotic form with polylog factors unnamed, so no gate count, qubit count or constant follows from it, and the 1/ε dependence is linear rather than logarithmic, which matters for any concrete precision. The authors also note that the problem is defined over finite fields and rings rather than groups, which they read as a departure from the hidden-subgroup framework, so the result does not inherit that framework's guarantees.
Efficient Quantum Algorithms for Estimating Gauss Sums ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata only; source publication terms apply
gauss sumjacobi sumdirichlet characterfinite fieldphase estimation

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.