GithubHelp home page GithubHelp logo

mikelgda / yeet-pythtb Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 2.0 1.01 MB

An accelerated version of PythTB powered by numba for solving tight-binding models in Condensed Matter Physics.

Home Page: https://pypi.org/project/yeet-pythtb/1.0.2/

License: GNU General Public License v2.0

Python 100.00%
physics

yeet-pythtb's Introduction

yeet-pythtb

This package is a modification of the original PythTB, developed and mantained by by Sinisa Coh (University of California at Riverside), David Vanderbilt (Rutgers University) and others. All credit of the essential implementation goes to the original developers. For documentation, please visit the PythTB page, as the interface is identical.

This modification implements the most performance-critical routines in a JIT-compiled way by using Numba. In particular, the functions that solve the Hamiltonian are compiled and parallelized. This affects essential computations such as the calculation of bandstructures and Wannier charge centers, etc. The speed gains are more noticeable in large tight-binding models, such as those obtained through the Wannier90 interface. For really simple models, the JIT-compilation overhead may not be worth it, although is a one-time delay for each routine.

The package succesfully runs all the examples for the original PythTB, so it is expected to work without issues.

Installation

Install using pip

pip install yeet-pythtb

Requirements

yeet-pythtb requires the following packages:

  • numba
  • matplotlib
  • numpy

yeet-pythtb's People

Contributors

mikelgda avatar

Stargazers

 avatar Qi Zhang avatar Omar Ashour avatar NJ Yang avatar  avatar Yueqing Chang avatar  avatar Anbing avatar  avatar Rafael Gonzalez avatar Ziang Wang avatar Chengcheng Xiao avatar John Bonini avatar  avatar Gabriele Bellomia avatar Aitor Calvo Fernández avatar

Watchers

 avatar

Forkers

g158279 oashour

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.