Giter Site home page Giter Site logo

gharib85 / hamiltonianpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from waltergu/hamiltonianpy

0.0 1.0 0.0 1.35 MB

Hamiltonian generator and several algorithms, including TBA, ED, CPT/VCA and DMRG, etc.

Home Page: https://github.com/waltergu/HamiltonianPy

License: Other

Python 98.34% Fortran 1.64% Batchfile 0.02%

hamiltonianpy's Introduction

HamiltonianPy

In this package, we provide a unified framework to make a generic quantum lattice system programmable. Two central concepts are proposed to acheive this:

  • unit-cell description ansatz (UCDA), and
  • engine-app framework (EAF).

UCDA incoporates the geometry of the latttice, the internal degrees of freedom of the Hilbert space and the terms of the Hamiltonian as a whole, and generates all the needed operators of the system. EAF handles the interactions between the core algotithms (engine) and the user-defined tasks (app) as well as the logging of the program and the recording of the results, etc. Fundamental classes and functions are offered in the subpackage Basics as the APIs. Based on this, several algorithms are implemented, including:

  • subpackage FreeSystem: tight binding approximation (TBA) and Bogoliubov de Gennes (BdG) equations for fermionic systems,
  • subpackage ED: exact diagonalization (ED) for electron and spin systems,
  • subpackage VCA: cluster pertubation theory (CPT) and variational cluster approach (VCA) for fermionic systems,
  • subpackage TensorNetwork: tensor network represetation of Hamiltonians (MPO) and states (MPS),
  • subpackage DMRG: density matrix renormalization group (DMRG) for electron and spin systems,
  • subpackage FBFM: spin wave theory for flat band ferromagnets (FBFM).

Dependency

It works with python 3.6, and requires several packages:

  • numpy latest version
  • scipy latest version
  • numba latest version
  • matplotlib latest version
  • mpi4py latest version

Notes

python 2.x is no longer supported.

Source code

https://github.com/waltergu/HamiltonianPy

Authors

  • Zhao-Long Gu (NJU)

Contact

[email protected]

hamiltonianpy's People

Contributors

waltergu avatar

Watchers

 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.