Quantum neural ODEs and PDEs
Yu Cao, Shi Jin, Nana Liu · 2025
Read Quantum neural ODEs and PDEs by Yu Cao, Shi Jin, Nana Liu (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-18326.txt.
Introduction
Yu Cao and co-authors cast neural differential equations in quantum form in a 2025 paper. Classic neural ODEs let a network's state flow in smooth time. Their quantum kin let quantum states flow under tuned Hamiltonians.
Finite systems form QNODEs, while endless ones form QNPDEs. A loss score guides learning in both frames. An adjoint method grades the flow with lean effort. Algorithms grade with or sans time slicing, at costs past classic reach. Resource counts and training terrain maps fill the work. Uses span state prep, Hamiltonian learning, and open system fits.
Catalog record
| CREATOR | Yu Cao, Shi Jin, Nana Liu |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 118 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-18326
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Quantum neural ODEs and PDEs Yu Cao, Shi Jin, Nana Liu Abstract We present a unified framework called Quantum Neural Ordinary and Partial Differential Equations (QNODEs and QNPDEs) that brings the continuous-time formalism of classical neural ODEs/PDEs into quantum machine learning and quantum control. We define QNODEs as the evolution of finite-dimensional quantum systems, and QNPDEs as infinite-dimensional (continuous-variable) counterparts, governed by generalised Schrödinger-type Hamiltonian dynamics with unitary evolution, coupled with a corresponding loss function. Notably, this formalism permits gradient estimation using an adjoint-state method, facilitating efficient learning of quantum dynamics, and other dynamics that can be mapped (relatively easily) to quantum dynamics. Using this method, we present quantum algorithms for computing gradients with and without time discretisation, enabling efficient gradient computation that would otherwise be less efficient on classical devices. The formalism subsumes a wide array of applications, including quantum state preparation, Hamiltonian learning, learning dynamics in open systems, and the learning of both autonomous and non-autonomous classical ODEs and PDEs. In many of these applications, we consider scenarios where the Hamiltonian has relatively few tunable parameters, yet the corresponding classical simulation remains inefficient, making quantum approaches advantageous for gradient estimation. This continuous-time perspective can also serve as a blueprint for designing novel quantum neural network architectures, generalising discrete-layered models into continuous-depth models. I Introduction The interplay between the study of classical dynamical systems and machine learning has been a fruitful one and holds much promise. The theory of dynamical systems provides a mathematical framework to study the evolution of systems over time, offering insights into stability, chaos, and long-term behavior. Machine learning, particularly in areas like recurrent neural networks and neural ODEs, draws on this theory to model temporal data and learn complex dynamics. Conversely, machine learning aids in discovering governing equations and predicting behaviors in high-dimensional or partially observed dynamical systems. This interplay enriches both fields, enabling data-driven discovery of physical laws and more robust, interpretable learning models. The key to generalising machine learning algorithms to be amenable to the study of dynamical systems is to generalise discrete-time algorithms into continuous-time ones. In this direction, one notable milestone is the introduction of neural ordinary differential equations (neural ODEs) Chen et al. 2018 ; E 2017 , which has since attracted significant attention. This approach was motivated by the deep connection between ODEs and Residual Networks (ResNet) Lu et al. 2018 ; Haber and Ruthotto 2017 ; Ruthotto and Haber 2020 . In parallel, the extension to infinite-dimensional systems is natural, and we refer to these as neural PDEs; however, this concept is often known by other names, such as PDE-Net Long et al. 2018 and physics-informed neural networks (PINN) Raissi et al. 2019 , depending on the specific architecture and training details. Further generalisations have been made to stochastic dynamics, see e.g., Liu et al. 2019 ; Tzen and Raginsky 2019 ; Li et al. 2020 ; Kidger et al. 2021 . Another related framework is the SDE-based diffusion model Song et al. 2021 , which unifies earlier discrete-time Markov chain-based generative models Song and Ermon 2019 ; Ho et al. 2020 . This continuous-time formulation has inspired a surge of research in generative modeling. This continuous-time perspective offers several key advantages: (1) efficient computation enabled by the use of the backpropagation algorithm Rumelhart et al. 1986 and classical numerical integrators for dynamical systems; (2) a powerful analytical framework for studying properties such as stability in architecture design E 2017 ; Haber and Ruthotto 2017 ; and (3) a unified approach for designing neural network architectures Lu et al. 2018 ; Haber and Ruthotto 2017 ; Ruthotto and Haber 2020 , providing an alternative to mapping-based architectures. However, despite the great success of these approaches, there are some fundamental bottlenecks. For example, in the estimation of gradients that is required to train these models via gradient-based methods, the cost of the simulation of these dynamical systems can be large – since for high-dimensional dynamical systems, classical simulation often suffers from the curse of dimensionality, particularly for many-body quantum dynamics. To obviate this, we can use quantum simulation for quantum dynamical systems can avoid this curse of dimensionality Feynman 1982 , and this benefit can also be extended to non-quantum dynamical systems in some scenarios as well. This motivates us to consider machine learning on quantum devices from the perspective of quantum dynamical systems (an analog perspective on quantum machine learning), which is much less studied compared to its digital counterparts Li et al. 2017 ; Tangpanitanon et al. 2020 ; Marković and Grollier 2020 ; Magann et al. 2021 ; Liang et al. 2022 ; Leng et al. 2022 ; Oscar Rodrigo 2024 . For all quantum algorithms that reply on fundamental quantum mechanics, the most basic dynamical equation is Schrödinger’s equation. Hence, we propose the notion of (closed) quantum neural ODEs and PDEs (QNODEs and QNPDEs) where the state \rho(t,\theta) evolves according to \displaystyle\frac{\partial\rho(t,\theta)}{\partial t}=-i\big[H(t,\theta),\rho(t,\theta)\big],\qquad\rho(0,\theta)=\rho_{0}, (1) and H(t,\theta) is a time-dependent Hamiltonian with controllable parameters \theta , and there is an associated loss function \mathcal{L} , dependent on the machine learning task. When \rho(t,\theta) is a finite-dimensional quantum system, we refers to this as a (closed) QNODE and if \rho(t,\theta) is an infinite-dimensional quantum system, it is called a (closed) QNPDE. If \rho(t,\theta) , instead, obeys open quantum dynamics, then this is an (open) QNODE or QNPDE. This formalism is natural for quantum machine learning: • Firstly, this is a very natural formalism for the learning of quantum dynamics itself (namely, Hamiltonian learning Wiebe et al. 2014 ), and lends itself easily to the more traditional problems in quantum control and quantum state preparation. • Secondly, the learning of unknown parameters of other dynamical systems can be made more efficient by the mapping of these dynamical systems to the corresponding quantum dynamics. In particular, we know that for linear and nonlinear ODEs, linear PDEs and certain nonlinear PDEs, there is a very simple mapping possible through Schrödingerisation Jin and Liu 2024a ; Jin et al. 2024a , level set Jin and Liu 2024b or von Neumann-Koopman formulation Joseph 2020 that exploits the fully continuous nature of these problems, in both time and space. In this case, the Hamiltonian representation often has a relatively smaller number of unknown parameters (since the form of the problem is known) and this kind of ansatz is much more physically motivated than a generic neural network ansatz. • Thirdly, in the design of quantum algorithms with the common gate-based methods, those quantum circuits still require the preparation of pulse-level control of the quantum system, which, in fact, runs in continuous time. The so-called discrete-time settings in reality cannot be truly discrete since quantum speed limits del Campo et al. 2013 fundamentally forbid the instantaneous application of two distinguishable quantum channels one after the other. • Another motivation is to study the connection to other quantum setups like in quantum neural networks (which run in discrete time steps). Here we have a continuous-depth version which is non-autonomous (i.e., explicit time dependence in the Hamiltonian) and, in principle, the different discretisations can reproduce all other (discrete) architectures for quantum neural networks Cao et al. 2024 . Different discretisations can give rise to different