The table maker's quantum search
Stefanos Kourtis
TL;DR
The paper addresses the problem of determining the hardness to round $\mathrm{htr}_{f,I}(n)$ for elementary functions, a formulation of the table maker's dilemma. It introduces a quantum algorithm that uses Grover search with a tailored membership oracle to identify the minimal working precision or an upper bound, by binary-searching over the working precision $p$ and evaluating $f(x)$ in coherent superposition over $n$-bit inputs. For functions related to the exponential, and under a polynomial upper bound $p_{\max}=O(\mathrm{poly}(n))$, the method achieves a quantum runtime of $\tilde{O}(2^{n/2}\log(1/\delta))$, representing a modest asymptotic speedup over best-known classical approaches in large binades for periodic functions. The work demonstrates, for the first time, an asymptotic quantum speedup in a computer arithmetic task and discusses practical considerations, limitations, and open directions for combining quantum and classical techniques to estimate hardness to round.
Abstract
We show that quantum search can be used to compute the hardness to round an elementary function, that is, to determine the minimum working precision required to compute the values of an elementary function correctly rounded to a target precision of $n$ digits for all possible precision-$n$ floating-point inputs in a given interval. For elementary functions $f$ related to the exponential function, quantum search takes time $\tilde O(2^{n/2} \log (1/δ))$ to return, with probability $1-δ$, the hardness to round $f$ over all $n$-bit floating-point inputs in a given binade. For periodic elementary functions in large binades, standalone quantum search yields an asymptotic speedup over the best known classical algorithms and heuristics.
