Computational physics simulation using the Variational Monte Carlo method to calculate the ground state energy for a system of
The hamiltonian used is
where
The variational wave function used is
with
Compile in the repository directory using:
make
An executable named run
will be generated. Use
./run N n_steps alpha_start alpha_end alpha_step [alpha_saved]
to execute it, where N
is the number of particles, n_steps
is the number of Metropolis steps. alpha_saved
is optional but it's needed to look at the observables values at a certain value of
./run 2 100000 25.0
will save the observable values of the simulation for
python3 plots/energy_plot.py N n_steps INT show
where INT
and show
are needed for plotting the interacting simulation results and to show the graph. If the simulation is run with multiple values of the parameter plots/variational_plot.py
. At the moment, this can be achieved by modifying alpha_start
and alpha_end
in main.c
.
At the moment, the simulation does not behave well, the energy in the MC simulation has huge peaks and the variational surface has got no minimum value. Please contact me if needed.