Giter Club home page Giter Club logo

1dvmc's Introduction

VMC-1D (Under Construction)

Variational Monte Carlo implemented for the 1D Heisenberg Model and the Haldane-Shastry Model using a Gutzwiller projected wave function as the initial ansatz. (Fortran90)

---------------------- Variational Monte Carlo 1D --------------------

Author: João Augusto Sobral da Silva / Github: @joaosds

The code is commented, and each subroutine has a brief description (B.D.) of its functionality. For any discussions you can contact me at Github!

History:

v1.0 (08/27/20) - First implementation in f90

Future intended changes:

  • implementation of modern fortran (>=2008);
  • python script for plots;
  • python interface to link both the fortran file and the plots automatically;
  • spin spin correlation for long range haldane-shastry;
  • Implement automatic routine to check if input matrix is ill conditioned and employ the svd - or other method - to obtain the pseudo-inverse/inverse matrix; ---------------------- Informations ---------------------------------

File 'random.f90' - All codes responsible for random generating numbers and related quantities.

File 'vmcvariables.f90' - Global variables

File 'modelvmc.f90' - retains the lattice definition, energy and spin-spin calculation and initial wavefunction.

File 'inputpar.dat': Input parameters as following: N, seed -> Chain Length and random seed; nz, sweep -> Number of next neighbors considered in the model / values used after the thermalization for the mean calculation; thermalization -> steps for themalization of the MC algorithm; Nbin - > Bin number for calculation of the means.

File 'meanene.dat': saves the energy obtained from nonlocal+local method and only local methods (best suitable for large N).

File 'spincor.dat': saves the z component of the spin-spin correlations;

Note: One can change line 116 and 117 to inversesvd if the input matrices are ill-conditioned. This may improve a little the accuracy of the algorithm.

1dvmc's People

Contributors

joaosds avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.