User:Jackliddle/Metropolis algorithm

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

The Metropolis Algorithm is used in the Monte Carlo methods for importance sampling probablity distributions.

The algorithm is widely used in lattice gauge theory.

Description

For generating a sequence of field configurations Σ distributed with a probability density eS. Expectation values of Quantum Mechanical observables can then be calculated

<O>=1ni=m+1m+nO(Σi)

where the first m steps bring the system into equilbrium.

If we change one link in the field configuration Σ giving us a new configuation Σ there is a corresponding change in the action.

ΔS=S(Σ)S(Σ)

Pseudo Code

using Wikicode

See also


References