Introduction to Mathematical Physics/Statistical physics/Some numerical computation in statistical physics
Jump to navigation
Jump to search
In statistical physics, mean quantities evaluation can be done using by Monte--Carlo methods. in this section, a simple example is presented. Template:IMP/exmp
The following Metropolis algorithm Template:IMP/cite, Template:IMP/cite is used \index{Metropolis} to simulate probabilities :
- select spin to consider.
- evaluate variation of energy associated to a possible split of spin .
- compare a random number between zero and one with probability .
- split spin number (that is do ) i=f and only if .
- use the obtained configuration to compute mean quantities.