Objective: is to demonstrate the concept of machine learning through a classical problem in quantum physics:
solving the Schrödinger equation for one-dimensional potential wells using a neural network.
To illustrate this concept, a pedagogical neural network is trained on a dataset of various potential energy profiles derived
from polynomials for which numerical solutions of the wave functions in the ground state or other bound states can be obtained.
After training, the model is used to predict wave functions for previously unseen potentials,
showcasing the ability of machine learning to generalize and approximate solutions to complex physical systems.
[+]
Training of the Multi-Layer Perceptron
Choose parameters for generation of the dataset:
\(x_{min}=\) ,
\(x_{max}=\) 
- defines the domain \(\mathcal{D}=[x_{min}, x_{max}]\) of the potential \(V(x), x\in D\);
\(m = \);
Input disabled for this field
\(n_{state}=\) 
- the \(n^{th}\) excited state of the Schrödinger equation;
\(N=\) 
- the amount of points into which we divide the domain \(\mathcal{D}\);
\(n_{s}=\) 
- the number of samples in the dataset;
\(N_{s}=\) 
- the number of samples for which the generated data will be displayed;
Generation the values of \(\alpha\):
For training of the Multi-Layer Perception
have to define the hyper-parameters of the neural network model:
\(learning\ rate=\)
\(training\ iteration=\)
\(batch\ size=\) .
[+]
Evaluation of the predictions
[+]
Observable
We use the energy formula to calculate the \(\text{MSE(E)}\) between the energy of the target wave function
and the energy of the predicted wave function.