Skip to content

A set of c++ and python codes which simulate the ANNN Ising Model, and model it using a Restricted Boltzmann Machine

License

Notifications You must be signed in to change notification settings

JacksonGlass04/ANNNI-Model-RBM-Cpp

Repository files navigation

ANNNI Ising + ML Model

Files: ANNNImodelfinal.cpp & RMBfinal.cpp

ANNNImodel.cpp runs 1000 simulations (int N) of length (int L) and saves each chain's initial and final state to InitialConfigurations.txt and FinalConfigurations.txt, and also computes the correlation C(x) between spins, outputting IsingCorrelation.txt

RBMfinal.cpp trains a restricted boltzmann machine on the final chain states from ANNNImodel.cpp. Once the weights of the model are determined, N initial chains are put through the model to be turned in to probable final chain states. Correlation C(x) is computed for the RBM and output under RBMCorrelation.txt for comparison to IsingCorrelation.txt

About

A set of c++ and python codes which simulate the ANNN Ising Model, and model it using a Restricted Boltzmann Machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published