This is a C++ implementation of Monte-Carlo sampling for SPA Hamiltonian of a Half-filling Hubbard Model. The project uses Eigen Library for Matrix Manipulation.
- C++ (g++ -std=c++14)
- Eigen Library
- Lapack Library (llapack, llapacke)
Please download Eigen tarball from http://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2 . Follow the instruction manual regarding installation of Eigen. (Linux and Mac OS X users: download and extract the tar ball, then create a symlink in /usr/local/include to the "Eigen" folder.)
Install Lapack library, if not already installed. Most Linux distributions have made Lapack available their official repositories. You can follow this guide for installation in Windows. (Ubuntu users can install with apt-get: sudo apt-get install liblapack-dev liblapack3 liblapacke liblapacke-dev)
To build the program compile using "g++ -std=c++14 corresponding source file -llapack -llapacke".