A JIT-compiled version of PythTB for solving tight-binding models
Project description
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.
Requirements
yeet-pythtb requires the following packages:
- numba
- matplotlib
- numpy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file yeet-pythtb-1.0.2.tar.gz.
File metadata
- Download URL: yeet-pythtb-1.0.2.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73fc73902d8eedfa337a426e73a7ba597677ed2422e86cab2d27c10269959407
|
|
| MD5 |
264b3a8014e8e60cad1135b23b36afe3
|
|
| BLAKE2b-256 |
0d409859bd26024a2ae1feb66df0e549d00caf88af977ce3d4d2f6dd341fc9b5
|