Hydrogen atom quantum monte carlo.

This is the first example in the QMC series.
I wanted to try quantum monte carlo to understand it better, so I thought I would work through from simple atoms to more complicated chemicals.

I don't expect that there will be much interest in this, so I'm not going to write it up extensively.

Background

Quantum mechanics allows us to calculate energy levels of atoms and molecules accurately - which is one of the strongest pieces of experimental support for the theory.

For hydrogen, we have an analytic expression for the ground state energy which gives -0.5 Hartrees as the correct answer, but for the purposes of trying QMC, let's do the following: In more detail, here's what happens in the code:

Here's the trial wavefunction:

Here's the history of energy estimates:

Final energy (correct energy = -0.5, correct parameter = 1):

Back to QMC.


Other Articles:

Maths Exam Generator

Auto-generated maths exams, with and without answers. Set at A-level / end of high school / beginning of university.

How to simulate fractal ice crystal growth in Python

This presents python code to draw snowflakes, simulating a diffusion process with Fourier transforms.

Atmosphere

A simple demo of a simulation of an atmosphere. It looks quite cool, but there's not a lot you can do with it yet, and the physics isn't yet all that accurate.




© Hugo2015. Session @sessionNumber