Adaptive Pole Fitting for Quantum Many-Body Physics
Project description
adapol: Adaptive Pole Fitting for Quantum Many-Body Physics
adapol
(pronounced "add a pole") is a python package for fitting Matsubara functions with the following form:
G(\mathrm i \omega_k) = \sum_l \frac{V_lV_l^{\dagger}}{\mathrm i\omega_k - E_l}.
Current applications include (1) hybridization fitting, (2) analytic continuation.
We also provide a TRIQS interface if the Matsubara functions are stored in triqs
Green's function container.
Installation
adapol
has numpy
and scipy
as its prerequisites. cvxpy
is also required for hybridization fitting of matrix-valued (instead of scalar-valued) Matsubara functions.
To install adapol
, run
pip install adapol
Documentation
See the detailed documentation for physical background, algorithms and user manual.
Adapol
is a stand-alone package. For TRIQS users, we also provide a TRIQS interface. See user manual for details.
Examples
In the tutorial
page, we provide two examples discrete.ipynb
and semicircle.ipynb
, showcasing how to use adapol
for both discrete spectrum and continuous spectrum.
In these notebooks, we also demonstrate how to use our code through the triqs interface.
References
To cite this work, please include a reference to this GitHub repository, and cite the following references:
- Huang, Zhen, Emanuel Gull, and Lin Lin. "Robust analytic continuation of Green's functions via projection, pole estimation, and semidefinite relaxation." Physical Review B 107.7 (2023): 075151.
- Mejuto-Zaera, Carlos, et al. "Efficient hybridization fitting for dynamical mean-field theory via semi-definite relaxation." Physical Review B 101.3 (2020): 035143.
- Nakatsukasa, Yuji, Olivier Sète, and Lloyd N. Trefethen. "The AAA algorithm for rational approximation." SIAM Journal on Scientific Computing 40.3 (2018): A1494-A1522.
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
Built Distribution
File details
Details for the file adapol-0.1.0.tar.gz
.
File metadata
- Download URL: adapol-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df09a238bc6f79a424dce68495bdfad3fe22fa2e39e8d43be53b01c44a9fcfaf |
|
MD5 | 69735fcf6e42673551b58f3938145e0a |
|
BLAKE2b-256 | 2e73f5f23286b858ba69bfbb041f70a330491fd6d92796173dd255cbf5a630f6 |
Provenance
File details
Details for the file adapol-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: adapol-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3cbedb798ca648b61d81a1bbf72ac26d80d963276731b6e923f22cc2aac7f0c |
|
MD5 | b86b136937ec073df89f3a9ddae5f34d |
|
BLAKE2b-256 | 205f664e90c7827e26a2bdcf1d886bdf356decd0c0f8b4cc7dec8a50eadca2a3 |