Skip to content

des137/Monte-Carlo-Methods-on-Statistical-Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monte Carlo Simulations

This repository contains algorithms based on the concept of 'Markov Chain Monte Carlo' for the extraction of thermal equilibrium properties of statistical systems. It contains codes for Monte Carlo simulations of well known statistical systems known as 'Ising model' and 'XY model'. Metropolis algorithm is applied for generating the the equilibrium configurations of these systems distributed according to Boltzmann distribution. The image below shows an example of a configuration of the Ising Model on a lattice of size 256x256, obtained after approximately a million Markov chain Monte Carlo steps.

  1. ising.py implements the metropolis algorithm on the Ising model.
  2. animation.py creates an animation of the Markov chain of the Ising model configurations.
  3. ising.ipynb is a jupyter notebook for better visualizations of the thermodynamic variables plotted as functions of Monte Carlo steps.
  4. xy.py implements the metropolis algorithm on the XY model.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors