English

Linear-depth quantum circuits for loading Fourier approximations of arbitrary functions

Quantum Physics 2023-10-24 v2

Abstract

The ability to efficiently load functions on quantum computers with high fidelity is essential for many quantum algorithms. We introduce the Fourier Series Loader (FSL) method for preparing quantum states that exactly encode multi-dimensional Fourier series using linear-depth quantum circuits. The FSL method prepares a (DnDn)-qubit state encoding the 2Dn2^{Dn}-point uniform discretization of a DD-dimensional function specified by a DD-dimensional Fourier series. A free parameter m<nm < n determines the number of Fourier coefficients, 2D(m+1)2^{D(m+1)}, used to represent the function. The FSL method uses a quantum circuit of depth at most 2(n2)+log2(nm)+2D(m+1)+22D(m+1)2(n-2)+\lceil \log_{2}(n-m) \rceil + 2^{D(m+1)+2} -2D(m+1), which is linear in the number of Fourier coefficients, and linear in the number of qubits (DnDn) despite the fact that the loaded function's discretization is over exponentially many (2Dn2^{Dn}) points. We present a classical compilation algorithm with runtime O(23D(m+1))O(2^{3D(m+1)}) to determine the FSL circuit for a given Fourier series. The FSL method allows for the highly accurate loading of complex-valued functions that are well-approximated by a Fourier series with finitely many terms. We report results from noiseless quantum circuit simulations, illustrating the capability of the FSL method to load various continuous 1D functions, and a discontinuous 1D function, on 20 qubits with infidelities of less than 10610^{-6} and 10310^{-3}, respectively. We also demonstrate the practicality of the FSL method for near-term quantum computers by presenting experiments performed on the Quantinuum H11-11 and H11-22 trapped-ion quantum computers: we loaded a complex-valued function on 3 qubits with a fidelity of over 95%95\%, as well as various 1D real-valued functions on up to 6 qubits with classical fidelities 99%\approx 99\%, and a 2D function on 10 qubits with a classical fidelity 94%\approx 94\%.

Cite

@article{arxiv.2302.03888,
  title  = {Linear-depth quantum circuits for loading Fourier approximations of arbitrary functions},
  author = {Mudassir Moosa and Thomas W. Watts and Yiyou Chen and Abhijat Sarma and Peter L. McMahon},
  journal= {arXiv preprint arXiv:2302.03888},
  year   = {2023}
}

Comments

V2: published version

R2 v1 2026-06-28T08:34:47.457Z