A Python package for quantum chemistry and physics.
QuantNBody is a Python package that facilitates the implementation and manipulation of quantum many-body systems composed of fermions or bosons. It provides a quick and easy way to build many-body operators and wavefunctions, enabling access (in just a few lines of Python code) to quantities and objects of interest for theoretical research and method development. This tool can also be greatly helpful for pedagogical purposes and to illustrate numerical methods for fermionic or bosonic systems.
How to install
Tutorials and examples
- A few remarks
- Tuto 1: first steps with the package
- Tuto 2: playing with many-body wavefunctions
- Tuto 3: electronic structure Hamiltonian and spin operators
- Tuto 4: the Bose-Hubbard system
- Introduction : the Bose-Hubbard system
- Importing the required libraries
- Defining the basic properties of the system
- Building the essential tools for the QuantNBody package
- All-in-one function
- Applying the function to get information from the system
- Visualizing the resulting wavefunction in the many-body basis
- Checking the implementation : comparing different ways to estimate the groundstate energy
- Tuto 5: Hybrid Fermion-Boson Systems
- Tuto 6: Hybrid fermion-boson Hamiltonians: Hubbard-Holstein and polaritonic chemistry
List of implemented functions
- Note on the structure of the package
- Fermionic systems
- Basic functions for the creation of many-fermion systems
- Many-body Hamiltonians and excitations operators
- Spin operators
- Creating/manipulating/visualizing many-body wavefunctions
- Reduced density matrices
- Functions to manipulate fermionic integrals
- Quantum embedding transformations (Householder)
- Psi4 calculation helper
- Orbital optimization
- Bosonic systems
- Fermionic-Bosonic hybrid systems
How to cite