Introduction to Mathematical Physics/Statistical physics/Some numerical computation in statistical physics

From testwiki
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 exp(E/kBT):

  1. select spin Sk to consider.
  2. evaluate variation of energy ΔE=EnewEold associated to a possible split of spin Sk.
  3. compare a random number z between zero and one with probability p=exp(ΔE/kBT).
  4. split spin number k (that is do Sk=Sk) i=f and only if z<p.
  5. use the obtained configuration to compute mean quantities.


Template:BookCat