Collection of Python tools for quantum many-body simulation using Green Software Package
Project description
█▀▀█ █▀▀█ █▀▀ █▀▀ █▀▀▄
█ ▄▄ █▄▄▀ █▀▀ █▀▀ █ █
█▄▄█ ▀ ▀▀ ▀▀▀ ▀▀▀ ▀ ▀
█▀▄▀█ █▀▀█ █▀▀▄ █ █ █▀▀█ █▀▀█ █▀▀▄ █ █ ▀▀█▀▀ █▀▀█ █▀▀█ █ █▀▀
█ █ █ █▄▄█ █ █ █▄▄█ ▀▀ █▀▀▄ █ █ █ █ █▄▄█ █ █ █ █ █ █ ▀▀█
█ █ ▀ ▀ ▀ ▀ ▄▄▄█ █▄▄█ ▀▀▀▀ ▀▀▀ ▄▄▄█ █ ▀▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀
===================
Python Tool Suite for Green's-function-based many-body calculations using Green Software Package.
Package contains two main modules:
- mint (Mean-feald INput generation Toolkit): generates input files for Green/WeakCoupling using PySCF, ASE and SPGLib
- pesto (Post-processing Evaluation Software TOols): provides access to various post-processing tools such as analytical continuation, and Mulliken analysis.
Installation
- To install the
green-mbtools
binary package simply execute:
pip install green-mbtools
- To build from sources download the source code either from github or from PyPI and run:
python -m build
This will automatically build the Nevanlinna and Caratheodory extensions, which are written in C++.
Dependencies:
- Python packages:
numpy
,scipy
,h5py
,pyscf
,ase
,spglib
,irbasis
,cvxpy
, andbaryrat
. - C++ libraries:
Eigen
,GMP
,MPFR
pytest
for testing- Maxent external C++ librar needs to be built separately to run analytic continuation tasks using the maxent method.
Features
- Generate input for Green/WeakCoupling.
- Compute molecular/natural orbitals.
- Mulliken analyasis based on symmetrical atomic orbitals.
- Fourier transformation between real and reciprocal space.
- Fourier transformation between imaginary-time and Matsuabara frequency domain on IR grids.
- Wannier interpolation
- Maxent analytical continuation (External C++ library required: https://github.com/CQMP/Maxent)
- Nevanlinna analytical continuation, based on Fei et.al. Phys. Rev. Lett. 126, 056402 (2021).
- PES analytical continuation, based on Phys. Rev. B 107, 075151 (2023).
- Caratheodory analytical continuation for complex valued matrices (External C++ library in
Caratheodory
, authored by Fei et.al. Phys. Rev. B 104, 165111 (2021).
To-Do-List
- Migrate to newer IR grid format
- Improved README and documentation on where to find examples (perhaps a sub-README in the examples folder),
- (for current implementation of Nevanlinna) re-integrate Hardy optimization
- Fix
examples/winter*.py
: The original example for Silicon has been modified to Hydrogen (for which test data is available). The high-symmetry points in the interpolation need to be readjusted accordingly.
Contirbutions to the code
- Most of the
pesto
source code was written by @cnyeh - Nevanlinna analytic continuation was implemented by @jianiOnly
- Clean up and packaging of the code and extension modules, including Nevanlinna and Caratheodory, was performed by by @gauravharsha
- ES analytic continuation implemented by @gauravharsha
- Example for spaghetti diagrams for occupation numbers added by @pavel-po
- C++ wrapper to GMP and MPFR float numbers and packaging @iskakoff
- Green/WeakCoupling input generation @cnyeh and @iskakoff
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
green_mbtools-0.2.4b5.tar.gz
(56.8 kB
view hashes)
Built Distributions
Close
Hashes for green_mbtools-0.2.4b5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f0b0c4c4b879431a6c48183189a03e873592b87c2f767c95527b83171a77e95 |
|
MD5 | 441d2f071fc6b066ac3b27ae5975c949 |
|
BLAKE2b-256 | f5e203d57c69262891de14b43e8bb7d010467c6834ecd81dd0a9fc705ce3d853 |
Close
Hashes for green_mbtools-0.2.4b5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f1f83addb83527ec92aed87eae1309f39b461961c3147f214dc9ab6235320ca |
|
MD5 | 6225d8963714fe29ed33a3f0a22c0437 |
|
BLAKE2b-256 | 2507b1cbe97e0698d0eb49c99738824e653133f8b619ddbbf2537af10a21ef3b |
Close
Hashes for green_mbtools-0.2.4b5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09dbd217fe809d0701674ebabfb3970e88896bbb3f0a4def80f533305ceeaa2c |
|
MD5 | 7227b238933eac83b7d0dc96f3911901 |
|
BLAKE2b-256 | cd0597a99be919f725b29d7c4c842e084a21a540d1fc77128871700431a47256 |
Close
Hashes for green_mbtools-0.2.4b5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18b2261d22a956498f5d2692d5bb948bbd4faa7edf49a3e2c3216866c777ab58 |
|
MD5 | ae1268eacb795a8870d58b912c46bb2c |
|
BLAKE2b-256 | e50ea61e2f9d81d72339e3ab6aa51ffe5d43c0bc65b8b49c27ad2f11a286f61b |
Close
Hashes for green_mbtools-0.2.4b5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2619e3db01d80fb0514d9a0b3f718b04d55fc88098ee4fdc0a2311e72b2fff22 |
|
MD5 | e10da5e923be5d24f645bc48c059749f |
|
BLAKE2b-256 | beb3f201725a2a60fd9ae85060bc053eef5845c9a589177799f5595c4b029ab8 |
Close
Hashes for green_mbtools-0.2.4b5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fdcc102c4ef5abf59e612c0f3943f97b8cd22f9ba28664974f92b4bb28fd67 |
|
MD5 | 8e4e5b94a2d3aedb07b13162e2bd91d7 |
|
BLAKE2b-256 | b7f1457918fb241a598e27638957a95c1051eaff50c4df8aa0a68d217f3b42f9 |
Close
Hashes for green_mbtools-0.2.4b5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42fc6f3be813efe452608ecab4c51f8c8219d2d19118e49cd435dffc59f77cbe |
|
MD5 | 90daa32cd942de75748a488df3591749 |
|
BLAKE2b-256 | fe0bf4ca7131aa6ffba30aea4d52d2542459d1443ed520a3db9bfc2bbfdf583e |
Close
Hashes for green_mbtools-0.2.4b5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 862c4ea55172a5f8b09e784fb59a090643f6f33abed1c6e90d4bbe31ac362783 |
|
MD5 | 0d1e56a67b92bc61d99173bec6c591bb |
|
BLAKE2b-256 | 7dfa870dcb48d749f0c1f158a25ea3b8bdaf2350f66ed3b25236a90620295190 |
Close
Hashes for green_mbtools-0.2.4b5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 353b5ac11615c5d6137fcf970b4b6fd8e659154ff42337be1f0d367196b06b5e |
|
MD5 | 8862b4fdd79a42ab701a3fad0e9e0f47 |
|
BLAKE2b-256 | 94c81fc837222d56bcceb7adbab1c89848d141d298d81c0b1ea05024ac24205a |