Skip to content

ybillchen/2D-Ising-Model-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2D-Ising-Model-Python

Description

Simulating 2D Ising model with Monte Carlo Method in Python 3.

-Bill in Beijing

Tutorial

The program is used to simulate 2D Ising model with the primary application of Python 3. I use two methods: Single-spin-flip and cluster- flip dymanics to deal with this task.

Before running the program, you should add all the files into the same path. You'd better run the program in main.py unless you want to improve my code.

You can adjust paramaters in main.py simply by changing the default values.

Enjoy your time with Ising and Python! Suggestions and adjustments (as well as STARs) are welcomed.

A detailed introduction of Simulating 2D Ising Model is uploaded on ZHIHU. It is a Chinese version, click here to view.

Note: You'll probably need numpy and matplotlib.

Created Nov. 1, 2019 by Bill in Beijing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages