Answers are grounded in this paper and cite their sources.
We study the hidden shift problem for unimodular functions on finite abelian groups: given a known f and a phase oracle for f(x + s), find s. For k parallel queries on the uniform superposition, the optimal success probability is (Σ_χ √(p*k(χ)))²/|G| = 2^{H1/2(p*k)}/|G|, where p is the Fourier power spectrum of f. This extends the pretty-good-measurement analysis of Childs, Kothari, Ozols and Rötteler to all finite abelian groups and proves optimality. For one query, ‖f̂‖₁²/|G| is optimal over all algorithms. For Boolean functions with a bit oracle we give the exact optimum, which beats the pretty good measurement for about 79% of random functions. The optimal failure probability is asymptotically a quarter of the 2k-th moment of the autocorrelation of f. For f(x) = χ(x² + a), with χ the quadratic character, the Fourier coefficients are Kloosterman sums. Over F3^n these are elliptic-curve point counts, which are computable in polynomial time. This gives a one-query quantum algorithm with O(n3+ε) gates that succeeds with probability at least q/(2√q + 2)² → 1/4, and about 0.72 in experiments, where q = 3^n. Classically, Θ(n) queries are necessary and sufficient, and for −a a square the problem is at least as hard as the shifted Legendre symbol problem; superpolynomial classical hardness remains a conjecture. The success guarantee and the optimality theorems are formally verified in Lean 4 with Mathlib, without Weil's theorem. Supplementary files: Python code that reproduces every table in the paper (verification_code.zip, run with `python3 run_all.py`) and the Lean 4 formalization (lean_proofs.zip, with the Lean and Mathlib versions used). Use of AI: The research in this record, including the choice of problems, the theorems and proofs, the code, the Lean formalization, the literature search and the drafting, was carried out by Claude Opus 5.5 (Anthropic), a large language model, in an interactive session directed by the author. The author has read the paper, run the Lean formalization (which compiles), and checked every reference against its publisher, journal or arXiv record. The results marked as fully verified in Section 7.1 of the paper are machine-checked by Lean; the remaining proofs and the numerical code have not been independently verified by a human. The author takes responsibility for the content.
No takes yet. Share an insight, caveat, or question.
Lola Rosa Martinez (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: