Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.13 KB

README.md

File metadata and controls

16 lines (12 loc) · 1.13 KB

MC Sampling for Half-filling Hubbard Model.

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.

System Requirements:

  1. C++ (g++ -std=c++14)
  2. Eigen Library
  3. Lapack Library (llapack, llapacke)

Installation Instruction for Eigen

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".