Abstract: The core objective of machine-assisted scientific discovery is to learn physical laws from experimental data without prior knowledge of the systems in question. In the area of quantum physics, making progress towards these goals is significantly more challenging due to the curse of dimensionality as well as the counter-intuitive nature of quantum mechanics. Here, we present the QNODE, a latent neural ODE trained on expectation values of closed and open quantum systems dynamics. It can learn to generate such measurement data and extrapolate outside of its training region that satisfies the von Neumann and time-local Lindblad master equations for closed and open quantum systems respectively in an unsupervised means. Furthermore, the QNODE rediscovers quantum mechanical laws such as the Heisenberg's uncertainty principle in a data-driven way, without any constraint or guidance. Additionally, we show that trajectories that are generated from the QNODE that are close in its latent space have similar quantum dynamics while preserving the physics of the training system.
Introduction
In quantum mechanics, the standard approach to predicting system evolution involves solving the Schrödinger or Lindblad equations. These methods require precise knowledge of the system's Hamiltonian and its environmental interactions. However, as we transition into the Noisy Intermediate-Scale Quantum (NISQ) era, characterizing the exact noise and dynamics of complex devices becomes increasingly difficult due to the exponential growth of the state space—the "curse of dimensionality."
While traditional machine learning models like Recurrent Neural Networks (RNNs) can model time-series data, they often fail to capture long-term physical dynamics because they lack the proper inductive bias. They do not inherently "know" that the underlying reality is continuous and governed by differential equations. This research introduces the QNODE to bridge this gap, exploring whether a machine can learn the laws of motion and quantum constraints purely from observational measurement data.
Methodology: The QNODE Architecture
The QNODE is a generative model based on the Latent Neural ODE framework, designed to learn a continuous, smooth representation of quantum dynamics. The architecture comprises three primary components:
- RNN Encoder: This module processes a time series of quantum observables—specifically the expectation values of Pauli operators—and maps them to an initial point in a low-dimensional latent space.
- Neural ODE Layer: Unlike standard discrete-step models, this layer uses a Multi-Layer Perceptron (MLP) to define the derivative of the latent state ($dh/dt$). A black-box ODE solver then integrates this derivative to determine the latent state at any arbitrary future time point.
- MLP Decoder: This final stage maps the evolved latent states back into the physical space of quantum observables.
By training as a Variational Autoencoder (VAE), the QNODE inherently assumes the data follows a continuous physical process. This structural choice provides the necessary inductive bias to satisfy fundamental equations (like von Neumann or Lindblad) implicitly, enabling superior extrapolation compared to discrete-time models.
Experimental Setup
The model was evaluated using simulated datasets generated via the QuTiP library, focusing on both single-qubit and two-qubit systems. For single qubits, the researchers examined closed (unitary) and open dynamics (incorporating bit-flip and dephasing noise). Two-qubit tests involved complex interactions ($J\sigma_x^1\sigma_x^2$) and detuning.
The training data consisted of expectation values for $\langle\sigma_x\rangle, \langle\sigma_y\rangle, \langle\sigma_z\rangle$ sampled over a short initial window ($t \in [0, 2]$). The primary challenge was the extrapolation task: predicting dynamics up to $t=6$, three times the length of the training period.
Results and Discussion
High-Accuracy Extrapolation and Norm Preservation
The QNODE demonstrated remarkable accuracy in long-term predictions. For single-qubit closed systems, the model maintained a Mean Squared Error (MSE) as low as $10^{-4}$. In closed systems, it correctly learned that the state norm $|\Psi||_2$ remains constant ($\approx 1$). For open systems, it accurately captured the decay of the norm toward zero as the system decoheres, maintaining errors around $10^{-2}$ even in complex noise scenarios.
Unsupervised Discovery of Physical Laws
A significant achievement of the QNODE is its autonomous "rediscovery" of the Heisenberg Uncertainty Principle (HUP). Without any explicit constraints or prior knowledge of quantum mechanics, the model's generated trajectories naturally remain within the physical bounds defined by the HUP. When plotting the variance of generated samples, they consistently respect the uncertainty plane, demonstrating that the model has learned the underlying physical constraints from the data alone.
Interpretable Latent Space
The latent space learned by the QNODE is continuous and smooth. Interpolating between points in this space results in smooth transitions between different physical regimes—such as varying oscillation frequencies—while ensuring that every intermediate state remains a physically valid quantum state.
Conclusion and Future Outlook
While the QNODE successfully models 1 and 2-qubit systems, the exponential growth of required observables remains a challenge for scaling to larger Hilbert spaces. Future research will focus on training QNODEs using partial measurements or "sketches" of larger systems. Additionally, the differentiable nature of the QNODE's latent space opens the door for "inverse design," where the model could be used to find the specific initial conditions or parameters required to produce a target quantum evolution. This work represents a significant step toward fully automated, data-driven scientific discovery in the quantum realm.
Summary updated