Neural Network Emulation of the Classical Limit in Quantum Systems via Learned Observable Mappings
Abstract
The classical limit of quantum mechanics, formally investigated through frameworks like strict deformation quantization, remains a profound area of inquiry in the philosophy of physics. This paper explores a computational approach employing a neural network to emulate the emergence of classical behavior from the quantum harmonic oscillator as Planck’s constant approaches zero. We develop and train a neural network architecture to learn the mapping from initial expectation values and to the time evolution of the expectation value of position. By analyzing the network’s predictions across different regimes of , we aim to provide computational insights into the nature of the quantum-classical transition. This work demonstrates the potential of machine learning as a complementary tool for exploring foundational questions in quantum mechanics and its classical limit.
Keywords: Classical Limit, Quantum Mechanics, Neural Networks, Machine Learning, Quantum-Classical Correspondence, Scientific Simulation.
1 Introduction
The relationship between quantum mechanics and classical physics has been a subject of intense scrutiny since the inception of quantum theory. The ”classical limit,” formally represented by the limit , is the presumed regime where quantum predictions should effectively converge to those of classical physics. Understanding the precise nature of this convergence remains a central challenge in the philosophy of physics [1, 2].
Professor Benjamin Feintzeig’s work has significantly contributed to this area by employing the rigorous mathematical framework of strict deformation quantization [3], focusing on continuity conditions, intertheoretic reduction, and the role of symmetries [4, 5, 6, 7, 8, 9, 10, 11, 12].
This paper proposes a complementary, data-driven approach using machine learning, specifically neural networks, to emulate the classical limit for the one-dimensional quantum harmonic oscillator. Our central hypothesis is that a neural network can learn the mapping from initial conditions and to the time evolution of observable expectation values, effectively capturing the transition to classical behavior as is varied. By training a network on data generated from the Ehrenfest equations across different values of , we aim to computationally explore this transition.
This research leverages recent advancements in machine learning for scientific discovery and simulation [13, 14]. We focus on developing a neural network architecture capable of learning the time evolution of the expectation value of position and capturing the essential features of the classical limit for the harmonic oscillator. The analysis of the network’s predictions for varying provides a computational perspective on the emergence of classical dynamics.
The remainder of this paper is structured as follows: Section 2 provides a concise overview of the theoretical background. Section 3 details the proposed methodology, outlining the neural network architecture, training procedures, and simulation strategies, including illustrative Python code snippets. Section 4 presents preliminary results from applying this methodology to the one-dimensional quantum harmonic oscillator, demonstrating the feasibility of the approach. Section 5 discusses the implications of our findings and outlines potential future research directions.
2 Theoretical Background: Strict Deformation Quantization and the Classical Limit
Strict deformation quantization provides a rigorous mathematical framework for understanding quantization as a deformation of the algebra of classical observables into the algebra of quantum observables, parameterized by [15, 1]. Feintzeig’s work utilizes this framework to analyze the classical limit in terms of algebraic structures and continuity conditions on quantum states, offering philosophical insights into intertheoretic reduction and the emergence of classicality [3]. Our computational approach aims to complement these theoretical investigations by providing a data-driven perspective on the emergence of classical behavior.
3 Methodology: Neural Network Emulation of the Classical Limit
Our methodology involves the following key steps:
3.1 Defining the Quantum System and its Classical Limit
We focus on the one-dimensional quantum harmonic oscillator with the Hamiltonian:
The corresponding classical Hamiltonian is:
3.2 Generating Training Data
We generate training data by simulating the time evolution of the expectation values of position for various initial states and different values of using the Ehrenfest equations. For the harmonic oscillator, these equations for the expectation values exactly match the classical equations of motion.
import numpy as np from scipy.integrate import solve_ivp def ehrenfest_equations(t, y, hbar, m, omega): """Ehrenfest equations for the harmonic oscillator (expectation values).""" x_exp, p_exp = y d_x_exp_dt = p_exp / m d_p_exp_dt = -m * omega**2 * x_exp return [d_x_exp_dt, d_p_exp_dt] # Parameters m = 1.0 omega = 1.0 hbar_values_train = [5.0, 2.0, 1.0, 0.5, 0.1, 0.01] time = np.linspace(0, 10, 100) num_initial_conditions = 1000 training_data = [] training_labels = [] for hbar in hbar_values_train: for _ in range(num_initial_conditions): initial_x = np.random.uniform(-2, 2) initial_p = np.random.uniform(-2, 2) initial_state = [initial_x, initial_p] solution = solve_ivp(ehrenfest_equations, (time[0], time[-1]), initial_state, t_eval=time, args=(hbar, m, omega)) training_data.append([initial_x, initial_p, hbar]) training_labels.append(solution.y[0]) training_data = np.array(training_data, dtype=np.float32) training_labels = np.array(training_labels, dtype=np.float32) training_labels = np.expand_dims(training_labels, axis=-1)
The classical trajectories serve as a benchmark to which the neural network’s predictions are compared as varies.
3.3 Neural Network Architecture
We employ a feedforward neural network to learn the mapping from the initial expectation values of position and momentum, along with the value of , to the trajectory of the expectation value of position over time.
import tensorflow as tf def build_observable_prediction_network(time_steps): model = tf.keras.Sequential([ tf.keras.layers.Dense(64, activation=’relu’, input_shape=(3,)), # Input: initial x, p, hbar tf.keras.layers.Dense(128, activation=’relu’), tf.keras.layers.Dense(time_steps) # Output: <x(t)> at each time step ]) return model model = build_observable_prediction_network(len(time)) model.compile(optimizer=’adam’, loss=’mse’)
The network is trained using supervised learning with the mean squared error (MSE) as the loss function and the Adam optimizer. The training data consists of the initial expectation values and as input, and the corresponding time evolution of the expectation value of position as the target. The network was trained for 100 epochs with a batch size of 32, using values ranging from 5.0 to 0.01.
4 Preliminary Results: Learning the Classical Limit of Expectation Values for the Harmonic Oscillator
In our preliminary experiments, we trained the feedforward neural network to predict the time evolution of for the quantum harmonic oscillator. The training data was generated using the Ehrenfest equations for various initial conditions and values ranging from 5 to 0.01 (in arbitrary units).
The trained network demonstrated the ability to learn the mapping from the initial state and to the subsequent trajectory of . Figure 1 illustrates the network’s predictions for a fixed initial condition () across different values of , compared to the classical trajectory. The plot shows that as decreases, the neural network’s prediction increasingly aligns with the classical trajectory of the harmonic oscillator.
Figure 2 provides a zoomed-in view of the time interval between and , highlighting the subtle differences between the trajectories for different values. As observed, the deviation from the classical trajectory is more pronounced for larger values of , indicating a greater influence of the quantum parameter on the dynamics learned by the network.


Further analysis of the network’s predictions suggests that it has learned the trend of convergence towards classical behavior as approaches zero, based on the training data derived from the Ehrenfest equations. The network implicitly captures the diminishing influence of on the expectation value dynamics in the classical limit.
5 Discussion and Future Directions
The preliminary results demonstrate the feasibility of using a neural network to learn the mapping from initial conditions and to the time evolution of the expectation value of position for the quantum harmonic oscillator, effectively emulating the convergence towards classical behavior as decreases. The alignment of the network’s predictions with the classical trajectory at small suggests that machine learning can be a valuable tool for investigating the quantum-classical correspondence.
However, it’s important to note that for the harmonic oscillator, the Ehrenfest equations are equivalent to the classical equations of motion for the expectation values. Therefore, the network, in this case, primarily learns this classical-like evolution conditioned on . To explore more genuinely quantum effects and the nuances of the classical limit in more complex scenarios, future research will focus on:
-
•
Anharmonic Oscillators and More Complex Potentials: Applying the methodology to systems where the Ehrenfest equations do not close on the expectation values, leading to more complex quantum-classical relationships.
-
•
Learning State Mappings: Developing neural networks to map quantum state representations to classical phase-space distributions and analyzing the continuity conditions learned by the network.
-
•
End-to-End Quantum Simulation:Exploring network architectures that can directly predict the evolution of quantum states (e.g., wave functions) under the influence of .
-
•
Investigating Decoherence: Incorporating the effects of environmental interaction to study how decoherence plays a role in the emergence of classical behavior as is varied.
By extending this approach to more complex systems and learning tasks, we aim to gain deeper computational insights into the multifaceted nature of the classical limit and its philosophical implications.
6 Conclusion
This paper has presented a preliminary investigation into using neural networks to emulate the classical limit of the quantum harmonic oscillator by learning the mapping from initial conditions and to the time evolution of the expectation value of position. The results demonstrate the network’s ability to predict trajectories that converge towards the classical behavior as decreases. While the harmonic oscillator presents a relatively simple case where Ehrenfest equations mirror classical dynamics, this work lays the foundation for future explorations of more complex quantum systems and the application of machine learning to fundamental questions concerning the quantum-classical transition.
References
- [1] Landsman, N. P. (1998). Mathematical topics between classical and quantum mechanics. Springer Monographs in Mathematics.
- [2] Butterfield, J. (2011). Emergence, reduction and supervenience: A varied landscape. Foundations of Physics, 41(6-7), 920-959.
- [3] Feintzeig, B. (2023). The Classical–Quantum Correspondence. Cambridge University Press.
- [4] Feintzeig, B., Weatherall, J. O., Manchak, J., & Rosenstock, S. (2017). On Theory Construction in Physics: Continuity from Classical to Quantum. Erkenntnis, 82(6), 1283-1303.
- [5] Feintzeig, B., Weatherall, J. O., Manchak, J., & Rosenstock, S. (2018). The classical limit of a state on the Weyl algebra. Journal of Mathematical Physics, 59(11), 112101.
- [6] Feintzeig, B., Manchak, J., Rosenstock, S., & Weatherall, J. O. (2019a). Why be regular? Part I. Studies in History and Philosophy of Modern Physics, 67, 107-119.
- [7] Feintzeig, B., Weatherall, J. O. (2019b). Why be regular? Part II. Studies in History and Philosophy of Modern Physics, 67, 120-131.
- [8] Feintzeig, B. (2020). The classical limit as an approximation. Philosophy of Science, 87(5), 757-777.
- [9] Feintzeig, B. (2022). Reductive Explanation and the Construction of Quantum Theories. The British Journal for the Philosophy of Science, 73(1), 1-27.
- [10] Feintzeig, B., & Steeger, J. (2021). Is the classical limit ‘singular’?. Studies in History and Philosophy of Modern Physics, 76, 1-11.
- [11] Feintzeig, B., & Browning, T. (2020). The classical limit of a symmetry-invariant state. Letters in Mathematical Physics, 110(10), 2617-2639.
- [12] Feintzeig, B. (2024). Quantization as a Categorical Equivalence. Letters in Mathematical Physics, 114(2), 1-22.
- [13] Carleo, G., & Troyer, M. (2017). Solving the quantum many-body problem with artificial neural networks. Science, 355(6325), 602-606.
- [14] Iten, R., Moyard, R., Metger, T., Sutter, D., & Woerner, S. (2020). Quantum machine learning for near-term devices. Nature Reviews Physics, 2(1), 1-18.
- [15] Rieffel, M. A. (1990). Deformation quantization for actions of Rd. Memoirs of the American Mathematical Society, 83(417).