Gregory D. Kahanamoku-Meyer, John Blue, Thiago Bergamaschi, Craig Gidney, Isaac L. Chuang (May 02 2025).
Abstract: When designing quantum circuits for a given unitary, it can be much cheaper to achieve a good approximation on most inputs than on all inputs. In this work we formalize this idea, and propose that such "optimistic quantum circuits" are often sufficient in the context of larger quantum algorithms. For the rare algorithm in which a subroutine needs to be a good approximation on all inputs, we provide a reduction which transforms optimistic circuits into general ones. Applying these ideas, we build an optimistic circuit for the in-place quantum Fourier transform (QFT). Our circuit has depth
O(log(n/ϵ)) for tunable error parameter
ϵ, uses
n total qubits, i.e. no ancillas, is logarithmically local for input qubits arranged in 1D, and is measurement-free. The circuit's error is bounded by
ϵ on all input states except an
O(ϵ)-sized fraction of the Hilbert space. The circuit is also rather simple and thus may be practically useful. Combined with recent QFT-based fast arithmetic constructions [arXiv:2403.18006], the optimistic QFT yields factoring circuits of nearly linear depth using only
2n+O(n/logn) total qubits. Applying our reduction technique, we also construct the first approximate QFT to achieve the asymptotically optimal depth of
O(log(n/ϵ)) with a sublinear number of ancilla qubits, well-controlled error on all inputs, and no intermediate measurements.