API Reference
The pairinteraction package provides a Python interface for easily accessing the functionality in a pythonic way. This
Python interface can be accessed via the pairinteraction
module by importing
import pairinteraction.real as pi
Alternatively, the same functionality can be accessed using complex data types via import pairinteraction.complex as
pi
. The two submodules are completely identical in their functionality, but only differ in the data type they use.
All the available classes, methods and functions are documented below:
Database
Class for a handling the databases for the pairinteraction package. |
Single Atom
Ket for an atomic basis state. |
|
Basis for a single atom. |
|
System of a single atom. |
Pair of Atoms
Ket for a pair state of two atoms. |
|
Basis for a pair of atoms. |
|
System of a pair of atoms. |
Convenience Functions
|
Diagonalize a list of systems in parallel using the C++ backend. |
Perturbative Calculations
|
Calculate the \(C_3\) coefficient for a list of two 2-tuples of single atom ket states. |
|
Calculate the \(C_6\) coefficient for a given tuple of ket states. |
Get the perturbative Hamiltonian at a desired order in Rayleigh-Schrödinger perturbation theory. |