Docsity

Ising Model-Computational Physics-Lecture Slides, Slides of Computational Physics

Partial preview of the text

Download Ising Model-Computational Physics-Lecture Slides and more Slides Computational Physics in PDF only on Docsity!

Ising Model

Dr. Ernst Ising

May 10, 1900 – May 11, 1998

Microstate and Macrostate

  • Macrostate
    • Characterized by the following fixed values
      • N: number of particles
      • V: volume
      • E: total energy
  • Microstate
    • Configuration that the specific macrostate (E, V, N) can be realized
    • accessible
      • a microstate is accessible if its properties are consistent with the specified macrostate

Microcanonical Ensemble

  • Isolated System
    • N particles in volume V
    • Total energy is conserved
    • External influences can be ignored
  • Microcanonical Ensemble
    • The set of all micro states corresponding to the macro state with value N,V,E is called the Microcanonical ensemble
  • Generate Microcanonical Ensemble
    • Start with an initial micro state
    • Demon algorithm to produce the other micro states

Monte Carlo Step

  • In the process of changing the micro state the program

attempts to change the state of each particle. This is

called a sweep or Monte Carlo Step per particle mcs

  • In each mcs the demon tries to change the energy of

each particle once.

  • mcs provides a useful unit of ‘time’

Canonical ensemble

  • Normally system is not isolated.
    • surrounded by a much bigger system
    • exchanges energy with it.
  • Composite system of laboratory system and

surroundings may be consider isolated.

  • Analogy:
    • lab system <=> demon
    • surroundings <=> ideal gas
  • Surroundings has temperature T which also

characterizes macro state of lab system

Boltzmann distribution

  • In canonical ensemble the daemon’s energy fluctuates about a mean

energy < Ed >

  • Probability that demon has energy Ed is given by
    • Boltzmann distribution
      • Proved in statistical mechanics
      • Shown by output of demon energy
  • Mean demon energy

E kT d

e d

Z

P E /

kT e dE

Ee dE E E kT

E kTd   

  (^) 

 (^) 

0

/

0

/

Why Ising model?

  • Simplest model which exhibit a phase transition in two

or more dimensions

  • Can be mapped to models of lattice gas and binary

alloy.

  • Exactly solvable in one and two dimensions
  • No kinetic energy to complicate things
  • Theoretically and computationally tractable
    • can make dedicated ‘Ising machine’

Magnetism

  • As electrons orbit around the nucleus, they create a

magnetic field

Paramagnetism – atoms have

randomly oriented magnetic spins

  • magnetic moments of atoms cancel out, no net magnetism
  • many elements

Ferromagnetism – parallel

alignment of magnetic spins

  • Fe, Co, Ni only

Intro to Metropolis Algorithm

  • One of Monte Carlo methods to arrive at a stable solution
  • Start with a random initial configuration
  • Suggest a change with probability p
  • Accept the change with probability q
  • Generate a random number from a random number generator of

uniform distribution between 0 and 1

  • Let the action be carried out if the random number generated <

probability of action

  • Reiterate process starting again by suggesting a change

Important Features

  • Accepting higher energy configurations
    • Most accepted changes lead to lower energy configurations, but not all!
    • Higher energy configurations are accepted, although the probability is lower.
    • Important because if no higher energy configurations are accepted, the solution may get trapped in a local minimum of energy, unable to reach the global minimum
  • Ergodicity
    • Probability of reaching any configuration from any

other must be > 0

  • Initial condition is random and it must be able to

reach the solution which is unknown, so it must be

able to reach every other possible configuration

… one-D program overview

  • Compares energy of the system with and without the change
  • If the energy of the perturbed system is lower, the change is

accepted with probability = 1

  • If the energy of the perturbed system is higher, the change is

accepted with probability = exp (-Δ/ k T)

  • Iterations of the routine lead to a configuration of global

minimum of energy

One-D program

  • The change is accepted with probability = exp (-Δ/ k T);
  • where, Δ = E2- E

E1 = energy of current configuration E2 = energy of perturbed configuration (change in energy from current configuration to perturbed configuration)

  • k = 1.3806503*10^-23, Boltzmann’s constant
  • T = temperature (K)
  • Since E2 is bigger than E1, D is positive, k and T are also positive

by nature

  • e is raised to a negative quantity; the expression will always

yield a value between 0 and 1

Markov Chain

  • The current situation depends

only on the situation one time

step before it

  • If the day is one time unit and

weather is a Markov process,

tomorrow's weather depends only on

today’s weather. Prior days have no influence.

  • The Ising model is a Markov process.

Andrei Andreyevich Markov 1856-

Ways of collecting data in the program

  • Plot energy of each point in the lattice at a given

instant

  • Plot energy of system vs. time
  • Plot energy at steady state vs. temperature
  • Plot number of clusters at steady state vs. time