Git Product home page Git Product logo

hubham's Introduction

DOI

HubHam

Hubbard Hamiltonian

(under GNU GENERAL PUBLIC LICENSE v2)

This program can perform Exact diagonalization calculations of various types of model Hamiltonians. It is especially optimized for the Hubbard Hamiltonian type model Hamiltonians. The core feature which the program is specialized for is the adressing of determinant in an efficient manner to quickly construct the Hamiltonian non-zero matrix-elements. Once the Hamiltonian is constructed in its sparse format, it is stored in distributed memory for all linear algebra operations.

The main work of diagonalizing the Hamiltonian is performed using PETSc and SLEPc helper functions. These functions return the eigenvectors which are not stored to disk by default due to their large size.

This project also contains subroutines which analyze the wavefunction in its distributed memory form and calculates the various observables. The output of the program are the energies and the various observables such as the total Spin, various Spin-Spin correlation functions, and one-and two-body density matrices.

Note: Caluculation of S2 can be deactivated to save memory and perform larger matrix diagonalizations.

Dependencies

  1. PETSc

  2. SLEPc

  3. IGraph

  4. slaterlib

Compiling

  1. Configure with explicit paths of installation directories of PETSc and SLEPc.
./autogen.sh
./configure CFLAGS="-I{PATH-TO-INCLUDE-SLEPC-PETSC-FILES} " LDFLAGS="-L{PATH-FOR-LIBRARY-FILES} -lpetsc -lslepc -lpetsc -lslater -ligraph -lm"  CC=mpicc
  1. Make the executable
make
make install

Using HubHam

  1. The HubHam program requires an input file which has is in the graphml format. A few sample files have been provided in the data/ directory.

  2. running HubHam

mpiexec -n [nprocs] ./bin/ex1 -eps_nev 10 -f data/c8h8_mma.graphml 

Publications using this code

  1. High-Spin Chains and Crowns from Double-Exchange Mechanism doi:10.3390/cryst6040039

hubham's People

Contributors

v1j4y avatar

Stargazers

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