Please cite the code uising the citation file provided in the repository. https://doi.org/10.5281/zenodo.10034200
Implementation of Stochastic Series Expansion (SSE) Monte Carlo method for the spin-S XXZ model. This version uses the Directed Loops [1] method for the loop update. The Hamiltonian of the simulated system is given by
where
where
The implementation uses binnig for the estimation of the standard deviations of the sampled quantities. It is possible to run each bin in parallel mode, using openMP.
To use and run the implementation, it is required that you have a C and fortran90 compilers and a version of Python3 installed with numpy.
To compile the code, run
$ source build.sh
in the main directory. This will compile the code and set the enviroment variable $SSE_DIR
. To run the code, create a new directory and copy the parameter file (found in scripts_and_parameters/Start/
) to the directory and type
$ $SSE_DIR/src/main n_threads $SSE_DIR
This will run the a SSE simulation with the paramertes specified in the parameter file using n_threads
threads. To analyse the observables,
$ $SSE_DIR/src/ana obs_1 obs_2 ...
[1] - "Directed loop updates for quantum lattice models", Olav F. Syljuåsen, 2003, Phys. Rev. E 67, 046701, https://doi.org/10.1103/PhysRevE.67.046701