{"title":"Codebase release 1.0 Worm","authors":"Nicolas Sadoune, L. Pollet","doi":"10.21468/scipostphyscodeb.9-r1.0","DOIUrl":null,"url":null,"abstract":"We present a novel and open-source implementation of the worm\nalgorithm, which is an algorithm to simulate Bose-Hubbard and\nsign-positive spin models using a path-integral representation of the\npartition function. The code can deal with arbitrary lattice structures\nand assumes spin-exchange terms, or bosonic hopping amplitudes, between\nnearest-neighbor sites, and local or nearest-neighbor interactions of\nthe density-density type. We explicitly demonstrate the near-linear\nscaling of the algorithm with respect to the system volume and the\ninverse temperature and analyze the autocorrelation times in the\nvicinity of a U(1)U(1)\nsecond order phase transition. The code is written in such a way that\nextensions to other lattice models as well as closely-related\nsign-positive models can be done straightforwardly on top of the\nprovided framework.","PeriodicalId":430271,"journal":{"name":"SciPost Physics Codebases","volume":"53 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SciPost Physics Codebases","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21468/scipostphyscodeb.9-r1.0","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We present a novel and open-source implementation of the worm
algorithm, which is an algorithm to simulate Bose-Hubbard and
sign-positive spin models using a path-integral representation of the
partition function. The code can deal with arbitrary lattice structures
and assumes spin-exchange terms, or bosonic hopping amplitudes, between
nearest-neighbor sites, and local or nearest-neighbor interactions of
the density-density type. We explicitly demonstrate the near-linear
scaling of the algorithm with respect to the system volume and the
inverse temperature and analyze the autocorrelation times in the
vicinity of a U(1)U(1)
second order phase transition. The code is written in such a way that
extensions to other lattice models as well as closely-related
sign-positive models can be done straightforwardly on top of the
provided framework.