willpugs / stat-mech-monte-carlo Goto Github PK
View Code? Open in Web Editor NEWComputer simulation of the Ising model.
Computer simulation of the Ising model.
Implement the Metropolis rule and include the option to use this rule in the simulations.
The full_sim_1d function when asked to simulate for energies returns a ufunctypeerror for addition in the energy_change_1d function.
I think this is because at some point the names of two variables get mixed up but I cannot find which variables or where this happens (I think it is most likely the grid/strip or idx variable that gets mixed up somehow).
Need to define a function to find the average energy of a system at various temperatures then use this relation to find Cv vs T.
To-do in 1D and 2D.
We have two possible values for the H=0 critical exponents of the 2D Ising model.
Exact results from Onsager:
Mean field results (applies to our simulation):
Do we take the absolute value of when running full_sim functions?
The functions for the expectation values of in 1D and 2D assume that >= 0 always.
Correlations between spins in the 1D H=/=0 case are not what we would expect, there is too little correlation.
More in-text citations are need throughout the written report in the .ipynb files.
Having problems fitting the <m> function to the data points.
Should the correlation function <Si*Si+r> be strictly positive? If so where do we take the absolute value; before or after taking the average?
Sequential iteration through an Ising model grid may not satisfy detailed balance. A better implementation would be to test the flip at each spin site in a random order.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.