Learning Hamiltonians for $O(1)$ Oracle-Query Quantum State Preparation
Mehdi Ramezani, Sina Asadiyan Zargar, Sadegh Salami, Abolfazl Bahrampour, Alireza Bahrampour
TL;DR
This work introduces a Hamiltonian-based framework for quantum state preparation that shifts the bulk of computation to classical preprocessing by learning a diagonal Hamiltonian whose fixed-depth quantum evolution encodes the target amplitudes. By either oracle-accessing the learned diagonal or expanding it in a Walsh basis with a polynomial number of terms, the method achieves O(1) quantum query complexity, with a classical cost of O(N log N) and hardware-efficient, one-/two-local circuit implementations. The results show that two-layer Hamiltonian evolutions are necessary for accurate amplitude synthesis, with favorable fidelity and scalable runtimes on structured datasets when using Walsh truncation. The approach demonstrates a practical pathway to quantum advantage on near-term devices through complexity transfer and data-structure exploitation.
Abstract
We propose a Hamiltonian-based quantum state preparation method implemented via a shallow parametrized quantum circuit. The approach learns the parameters of a diagonal Hamiltonian through a classical training phase, while the quantum circuit itself performs only fixed-depth Hamiltonian evolution and mixing operations. With oracle access to the learned Hamiltonian parameters, $N$ classical data values can be encoded into $n=\log_2{N}$ qubits using $O(1)$ quantum queries, shifting the overall computational cost to an $O(N\log{N})$ classical preprocessing stage. For structured datasets generated by an underlying function, oracle access can be avoided by expressing the Hamiltonian in the Walsh basis and retaining only a polynomial number of significant terms. In this regime, quantum state preparation is achieved in $\text{poly}(n)$ time using $\text{poly}(n)$ parameters, reaching infidelities on the order of $10^{-5}$. By restricting the Hamiltonian to one-local and two-local terms, the method naturally yields hardware-efficient circuits suitable for near-term quantum devices.
