STOC2025

Testing and Learning Structured Quantum Hamiltonians

Srinivasan Arunachalam, Arkopal Dutt, Francisco Escudero Gutiérrez

1 citation

Abstract

We consider the problems of testing and learning an unknown nn-qubit quantum Hamiltonian H=ΣxλxσxH=Σ_x λ_x σ_x expressed in its Pauli basis, from queries to its evolution operator eiHte^{-iHt} under the normalized Frobenius norm. To this end, we prove the following results (with and without quantum memory) for Hamiltonians whose Pauli spectrum involves only kk-local terms or has sparsity at most ss: (1) Local Hamiltonians: We give a tolerant testing protocol to decide if a Hamiltonian is ε1ε_1-close to kk-local or ε2ε_2-far from kk-local, with O(1/(ε2ε1)4)O(1/(ε_2-ε_1)^4) queries, thereby solving two open questions posed in a recent work by Bluhm, Caro and Oufkir [BCO'24]. For learning a kk-local Hamiltonian up to error εε, we give a protocol with query complexity and total time evolution exp(O(k2+klog(1/ε)))exp(O(k^2+k\mathrm{log} (1/ε))). Our algorithm leverages the non-commutative Bohnenblust-Hille inequality in order to get a complexity independent of nn. (2) Sparse Hamiltonians: We give a protocol for testing whether a Hamiltonian is ε1ε_1-close to being ss-sparse or ε2ε_2-far from being ss-sparse, with O(s6/(ε22ε12)6)O(s^6/(ε{_2}^2-ε{_1}^2)^6) queries. For learning up to error εε, we show that O(s4/ε8)O(s^4/ε^8) queries suffices. (3) Learning without quantum memory: The learning results stated above have no dependence on the system size nn, but require nn-qubit quantum memory. We give subroutines that allow us to reproduce all the above learning results without quantum memory; increasing the query complexity by a (lognn)-factor in the local case and an nn-factor in the sparse case. (4) Testing without quantum memory: We give a new subroutine called Pauli hashing, which allows one to tolerantly test ss-sparse Hamiltonians using O~(s14/(ε22ε12)18)Õ(s^{14}/(ε{_2}^2-ε{_1}^2)^{18}) query complexity. A key ingredient is showing that ss-sparse Pauli channels can be tested in a tolerant fashion as being ε1ε_1-close to being ss-sparse or ε2ε_2-far under the diamond norm, using O~(s2/(ε2ε1)6)Õ(s^2/(ε_2-ε_1)^6) queries via Pauli hashing. In order to prove these results, we prove new structural theorems for local Hamiltonians, sparse Pauli channels and sparse Hamiltonians. We complement our learning algorithms with lower bounds that are polynomially weaker. Furthermore, our algorithms use short time evolutions and do not assume prior knowledge of the terms on which the Pauli spectrum is supported on, i.e., we do not require prior knowledge about the support of the Hamiltonian terms.