- Open Access
Hamiltonian learning via inverse physics-informed neural networks
Phys. Rev. Research 7, 043137 – Published 5 November, 2025
DOI: https://doi.org/10.1103/nx97-zjdf
Abstract
Hamiltonian learning (HL), enabling precise estimation of system parameters and underlying dynamics, plays a critical role in characterizing quantum systems. However, conventional HL methods face challenges in noise robustness and resource efficiency, especially under limited measurements. In this work, we present Inverse Physics-Informed Neural Networks for Hamiltonian Learning (iPINN-HL), an approach that incorporates the Schrödinger equation as a soft constraint via a loss function penalty into the ML procedure. This formulation allows the model to integrate both observational data and known physical laws to infer Hamiltonian parameters with greater accuracy and resource efficiency. We benchmark iPINN-HL against a deep-neural-network-based quantum state tomography method [denoted as DNN-HL (Deep Neural Network for Hamiltonian Learning)] and demonstrate its effectiveness across several different scenarios, including one-dimensional spin chains, cross-resonance gate calibration, crosstalk identification, and real-time compensation to parameter drift. Our results show that iPINN-HL can approach the Heisenberg limit and exhibits robustness to noises, while outperforming DNN-HL in accuracy and resource efficiency. Therefore, iPINN-HL is a powerful and flexible framework for quantum system characterization for practical tasks.
Physics Subject Headings (PhySH)
Article Text
References (50)
- G. Dridi, K. Liu, and S. Guérin, Optimal robust quantum control by inverse geometric optimization, Phys. Rev. Lett. 125, 250403 (2020).
- T. Chen, J.-Q. Hu, C. Zhang, and Z.-Y. Xue, Universal robust geometric quantum control via geometric trajectory correction, Phys. Rev. Appl. 22, 014060 (2024).
- H. Ball, M. J. Biercuk, A. R. Carvalho, J. Chen, M. Hush, L. A. De Castro, L. Li, P. J. Liebermann, H. J. Slatyer, C. Edmunds et al., Software tools for quantum control: Improving quantum computer performance through noise and error suppression, Quantum Sci. Technol. 6, 044011 (2021).
- V. Sivak, A. Eickbusch, H. Liu, B. Royer, I. Tsioutsios, and M. Devoret, Model-free quantum control with reinforcement learning, Phys. Rev. X 12, 011059 (2022).
- M. Mohan, R. de Keijzer, and S. Kokkelmans, Robust control and optimal Rydberg states for neutral atom two-qubit gates, Phys. Rev. Res. 5, 033052 (2023).
- R. Acharya, L. Aghababaie-Beni, I. Aleiner, T. I. Andersen, M. Ansmann, F. Arute, K. Arya, A. Asfaw, N. Astrakhantsev, J. Atalaya et al., Quantum error correction below the surface code threshold, Nature (London) 638, 920 (2025).
- S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, and T. J. Yoder, High-threshold and low-overhead fault-tolerant quantum memory, Nature (London) 627, 778 (2024).
- J.-S. Chen, E. Nielsen, M. Ebert, V. Inlek, K. Wright, V. Chaplin, A. Maksymov, E. Páez, A. Poudel, P. Maunz et al., Benchmarking a trapped-ion quantum computer with 30 qubits, Quantum 8, 1516 (2024).
- N. Kanazawa, D. J. Egger, Y. Ben-Haim, H. Zhang, W. E. Shanks, G. Aleksandrowicz, and C. J. Wood, Qiskit experiments: A python package to characterize and calibrate quantum computers, J. Open Source Software 8, 5329 (2023).
- A. Pasquale, S. Efthymiou, S. Ramos-Calderer, J. Wilkens, I. Roth, and S. Carrazza, Towards an open-source framework to perform quantum calibration and characterization, arXiv:2303.10397.
- N. Wyderka, A. Ketterer, S. Imai, J. L. Bönsel, D. E. Jones, B. T. Kirby, X.-D. Yu, and O. Gühne, Complete characterization of quantum correlations by randomized measurements, Phys. Rev. Lett. 131, 090201 (2023).
- M. L. Dahlhauser and T. S. Humble, Benchmarking characterization methods for noisy quantum circuits, Phys. Rev. A 109, 042620 (2024).
- M. Q. Khan, W. Dong, L. M. Norris, and L. Viola, Multiaxis quantum noise spectroscopy robust to errors in state preparation and measurement, Phys. Rev. Appl. 22, 024074 (2024).
- M. Urbanek, B. Nachman, V. R. Pascuzzi, A. He, C. W. Bauer, and W. A. de Jong, Mitigating depolarizing noise on quantum computers with noise-estimation circuits, Phys. Rev. Lett. 127, 270502 (2021).
- P. Zhao, K. Linghu, Z. Li, P. Xu, R. Wang, G. Xue, Y. Jin, and H. Yu, Quantum crosstalk analysis for simultaneous gate operations on superconducting qubits, PRX Quantum 3, 020301 (2022).
- T. Proctor, M. Revelle, E. Nielsen, K. Rudinger, D. Lobser, P. Maunz, R. Blume-Kohout, and K. Young, Detecting and tracking drift in quantum information processors, Nat. Commun. 11, 5396 (2020).
- J. Wang, S. Paesani, R. Santagati, S. Knauer, A. A. Gentile, N. Wiebe, M. Petruzzella, J. L. O'brien, J. G. Rarity, A. Laing et al., Experimental quantum Hamiltonian learning, Nat. Phys. 13, 551 (2017).
- Z. An, J. Wu, M. Yang, D. Zhou, and B. Zeng, Unified quantum state tomography and Hamiltonian learning: A language-translation-like approach for quantum systems, Phys. Rev. Appl. 21, 014037 (2024).
- W. Yu, J. Sun, Z. Han, and X. Yuan, Robust and efficient Hamiltonian learning, Quantum 7, 1045 (2023).
- A. Gu, L. Cincio, and P. J. Coles, Practical Hamiltonian learning with unitary dynamics and Gibbs states, Nat. Commun. 15, 312 (2024).
- A. Dutkiewicz, T. E. O'Brien, and T. Schuster, The advantage of quantum control in many-body Hamiltonian learning, Quantum 8, 1537 (2024).
- M. Mohseni, A. T. Rezakhani, and D. A. Lidar, Quantum-process tomography: Resource analysis of different strategies, Phys. Rev. A 77, 032322 (2008).
- E. Flurin, L. S. Martin, S. Hacohen-Gourgy, and I. Siddiqi, Using a recurrent neural network to reconstruct quantum dynamics of a superconducting qubit from physical observations, Phys. Rev. X 10, 011006 (2020).
- K. Tucker, A. K. Rege, C. Smith, C. Monteleoni, and T. Albash, Hamiltonian learning using machine-learning models trained with continuous measurements, Phys. Rev. Appl. 22, 044080 (2024).
- T. J. Evans, R. Harper, and S. T. Flammia, Scalable Bayesian Hamiltonian learning, arXiv:1912.07636.
- A. Dutt, E. Pednault, C. W. Wu, S. Sheldon, J. Smolin, L. Bishop, and I. L. Chuang, Active learning of quantum system Hamiltonians yields query advantage, Phys. Rev. Res. 5, 033060 (2023).
- M. Raissi, P. Perdikaris, and G. E. Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, J. Comput. Phys. 378, 686 (2019).
- S. Cai, Z. Mao, Z. Wang, M. Yin, and G. E. Karniadakis, Physics-informed neural networks (PINNS) for fluid mechanics: A review, Acta Mech. Sin. 37, 1727 (2021).
- S. Cuomo, V. S. Di Cola, F. Giampaolo, G. Rozza, M. Raissi, and F. Piccialli, Scientific machine learning through physics–informed neural networks: Where we are and what's next, J. Sci. Comput. 92, 88 (2022).
- L. K. Castelano, I. Cunha, F. S. Luiz, R. de Jesus Napolitano, M. V. d. S. Prado, and F. F. Fanchini, Combining physics-informed neural networks with the freezing mechanism for general Hamiltonian learning, Phys. Rev. A 110, 032607 (2024).
- F. Davoodi, Active physics-informed deep learning: Surrogate modeling for nonplanar wavefront excitation of topological nanophotonic devices, Nano Lett. 25, 768 (2025).
- M. Zhu, H. Zhang, A. Jiao, G. E. Karniadakis, and L. Lu, Reliable extrapolation of deep neural operators informed by physics or sparse observations, Comput. Methods Appl. Mech. Eng. 412, 116064 (2023).
- X. Yang, S. Zafar, J.-X. Wang, and H. Xiao, Predictive large-eddy-simulation wall modeling via physics-informed neural networks, Phys. Rev. Fluids 4, 034602 (2019).
- W. Zhou and Y. Xu, Data-guided physics-informed neural networks for solving inverse problems in partial differential equations, arXiv:2407.10836.
- Y. Chen, L. Lu, G. E. Karniadakis, and L. Dal Negro, Physics-informed neural networks for inverse problems in nano-optics and metamaterials, Opt. Express 28, 11618 (2020).
- P. Jin, Z. Zhang, A. Zhu, Y. Tang, and G. E. Karniadakis, SympNets: Intrinsic structure-preserving symplectic networks for identifying Hamiltonian systems, Neural Networks 132, 166 (2020).
- S. Greydanus, M. Dzamba, and J. Yosinski, Hamiltonian neural networks, Adv. Neural Inf. Process. Syst. 32, 15353 (2019).
- N. Wittler, F. Roy, K. Pack, M. Werninghaus, A. S. Roy, D. J. Egger, S. Filipp, F. K. Wilhelm, and S. Machnes, Integrated tool set for control, calibration, and characterization of quantum devices applied to superconducting qubits, Phys. Rev. Appl. 15, 034080 (2021).
- G. Torlai, G. Mazzola, J. Carrasquilla, M. Troyer, R. Melko, and G. Carleo, Neural-network quantum state tomography, Nat. Phys. 14, 447 (2018).
- Z.-A. Jia, B. Yi, R. Zhai, Y.-C. Wu, G.-C. Guo, and G.-P. Guo, Quantum neural network states: A brief review of methods and applications, Adv. Quantum Technol. 2, 1800077 (2019).
- I. L. Gutiérrez and C. B. Mendl, Real time evolution with neural-network quantum states, Quantum 6, 627 (2022).
- V. Bauduin, S. Cuomo, and V. S. Di Cola, Impact of collocation point sampling techniques on pinn performance in groundwater flow predictions, J. Comput. Math. Data Sci. 14, 100107 (2025).
- L. Lu, P. Jin, G. Pang, Z. Zhang, and G. E. Karniadakis, Learning nonlinear operators via deeponet based on the universal approximation theorem of operators, Nat. Mach. Intell. 3, 218 (2021).
- R. Wang, P. Zhao, Y. Jin, and H. Yu, Control and mitigation of microwave crosstalk effect with superconducting qubits, Appl. Phys. Lett. 121, 152602 (2022).
- J. B. Hertzberg, E. J. Zhang, S. Rosenblatt, E. Magesan, J. A. Smolin, J.-B. Yau, V. P. Adiga, M. Sandberg, M. Brink, J. M. Chow et al., Laser-annealing josephson junctions for yielding scaled-up superconducting quantum processors, npj Quantum Inf. 7, 129 (2021).
- Z. H. Yang, R. Wang, Z. T. Wang, P. Zhao, K. Huang, K. Xu, Y. Tian, H. F. Yu, and S. P. Zhao, Mitigation of microwave crosstalk with parameterized single-qubit gate in superconducting quantum circuits, Appl. Phys. Lett. 124, 214001 (2024).
- O. Marschall, K. Cho, and C. Savin, A unified framework of online learning algorithms for training recurrent neural networks, J. Mach. Learn. Res. 21, 1 (2020).
- J. Liu and X. Wang, Code and data for the manuscript “Hamiltonian learning via inverse physics-informed neural networks”, GitHub, https://github.com/jliu-boat/ipinnhl 2025, https://github.com/jliu-boat/ipinnhl.
- G. E. Hinton, A practical guide to training restricted boltzmann machines, in Neural Networks: Tricks of the Trade, edited by G. Montavon, G. B. Orr, and K.-R. Müller (Springer, Berlin, 2012), 2nd ed., pp. 599–619.
- D. Hendrycks and K. Gimpel, Gaussian error linear units (GELUs), arXiv:1606.08415.