Collection of 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 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.4b3.tar.gz
(56.7 kB
view hashes)
Built Distributions
Close
Hashes for green_mbtools-0.2.4b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada84fe56880699f2bd0307f4876b372e4f54a8b7ed58913784b0b032b4fc34f |
|
MD5 | 97a5e737eaf8a5ef079280dd03271717 |
|
BLAKE2b-256 | 3ac8857ff0a672611ea94497b2342a005dd55126a35ad5658142fe9ac606d69d |
Close
Hashes for green_mbtools-0.2.4b3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b40973fbfc0c9ce28ec71e6bdef62e147b0d03fb84b745b5f005cd73f6f58f7b |
|
MD5 | 5e0f3d77604a30c9f4cfe108cb093968 |
|
BLAKE2b-256 | b84df95cb398d70f33dec11f92cc37052bb89a6f02b59d0b6787701e1529dced |
Close
Hashes for green_mbtools-0.2.4b3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601a28e8da9b6d4fe8d989b9cf961198ea947d99d7fd0b7a67c259b5efcf2d9e |
|
MD5 | c3bb7e4c4f3d5aa297506e10c32d9797 |
|
BLAKE2b-256 | 870cd9813e0d79eaeba2d8a610d01c8950821ea1c3cde0c46e1878f4c53ec71d |
Close
Hashes for green_mbtools-0.2.4b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fd0a339a4beaab1b333f98fbee9473304f20333024e28eb0ba29c618d9a7a0a |
|
MD5 | 39e254003018c34ac2a97c71b2489ece |
|
BLAKE2b-256 | 9cd2930efb6ec06bf8ebb62e98acb5bb2f5e39377dc5b237f931a05f5d0cf91c |
Close
Hashes for green_mbtools-0.2.4b3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f7be8fc40b76195c81a760e35688e8c28b8abd145d82ae9e440cf94e61f7b9 |
|
MD5 | b88ff28c9a5104da7880391d569a51cd |
|
BLAKE2b-256 | dec101dc33bfe036c64428f6093b8a6a50ade35fe95276fdbb71f66948196b5a |
Close
Hashes for green_mbtools-0.2.4b3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e7b95ac870c5242d3a3284aec81621244e614810ab097dd55adc5194c3f4863 |
|
MD5 | 0ce59b7ea2e308274898ce8787e33ca7 |
|
BLAKE2b-256 | 753ed5e300e6ded096fe1f96a8157429550dd1c1d3eb474cdab5df4dd683f057 |
Close
Hashes for green_mbtools-0.2.4b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6805c45e2ba65d032b37dfca85e9ccd754686032b37c99e7802036d25dee0d8 |
|
MD5 | 91fe2f36d76742e15ac43c16e74c9a5d |
|
BLAKE2b-256 | 6d707b5027480e39768b30b48fbcf8d0d3e3992667e307d4da8e82db2f80f1de |
Close
Hashes for green_mbtools-0.2.4b3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aa5c35b38f3f065f3b7944625e3dc3450d6505f3bfd2b021bdbda95060ad18e |
|
MD5 | fa375930e42230a387507e901e84ecee |
|
BLAKE2b-256 | f284ba730ef0016f2e6b947d6476335fd4c229e73ee6274390efb4ff1cb44c80 |
Close
Hashes for green_mbtools-0.2.4b3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ac68aad4cb9426b23dce7bd8389943adf44bcf12a9bbcd9a747f2f8ce96db00 |
|
MD5 | 2ef0801396ff90923687544a2164b8a6 |
|
BLAKE2b-256 | 84cb99b49924409ef09049371b0642f79bfa63609acabc1250c48698314a025f |