Reducing T gates in product formulas with agent loops
Luis Mantilla Calderón, Jérôme F. Gonthier, Alex Zook, Kohei Nakaji, Taylor L. Patti, Alán Aspuru-Guzik
Abstract
Quantum chemistry calculations on a fault-tolerant quantum computer usually require many gates. This cost depends on the simulation method and how precisely its rotations are implemented. In this paper, we used Nemotron 3.5 Lightning, a large language model (LLM), in a coding-agent loop to optimize the structure and rotation-synthesis precision of product formulas (PFs) for quantum phase estimation (QPE). Each of five independent searches optimized a shared protocol across 115 HamLib molecular Hamiltonians spanning 4--16 qubits over 100 code mutations. The searches started from a calibrated, nested second-order PF with uniform synthesis precision. We minimized , the estimated total -gate cost including QPE queries and repeated attempts for success probability, while requiring chemical accuracy for every training Hamiltonian. We name the best protocol found error-limited optimized Trotter evolution (ELOTE). It achieves chemical accuracy for its training data and achieved median and geometric-mean reductions of and , respectively. ELOTE combines contributions to the same Pauli string, uses a first-order PF, and varies synthesis precision with coefficient magnitude, Pauli support, and diagonal character. We also tested ELOTE on 76 larger Hamiltonians with 18--22 qubits, which met chemical accuracy in every case. For ten reaction energies, we further optimized a shared -ELOTE protocol. It reduced geometric-mean by relative to ELOTE while preserving chemical accuracy for every signed reaction difference. These classically verified results show cost savings from shared protocols across molecules and reactions, and motivate similar searches in which energy measurements from quantum computers guide explorations in a coding-agent loop.
Create a lesson
Metadata
- Comments
- 18 pages, 6 figures
Related papers
Exploiting SU(2) Symmetry for Efficient Quantum State Preparation of Matrix Product States
Shared title terminologyquant-phEtienne D'Argenlieu, Alessandro Summer, François Jamet et al.
QuOptLab: Advancing Quantum Optics Experiments with an AI Agent
Shared title terminologyquant-phYuqing Li, Zeguan Wu, Yu Gan et al.
Neural Decoding of Logical Clifford Circuits with Transversal Gates
Shared title terminologyquant-phYicheng Guang, Yuliang Xiong, Xun Gao et al.
All-electronic geometric phase gate on Doppler-cooled trapped ions using an axial mode
Shared title terminologyquant-phP. Rahimi, C. Knapp, P. Zantis et al.
Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum Compilation
Shared title terminologyquant-phXiaodi Li, Yuqing Wang, Xue Chen et al.
A Quantum Model from the Riemann-Siegel Formula
Shared title terminologyquant-phGermán Sierra