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 as pi
Alternatively, the same functionality can be accessed using real data types via import pairinteraction.real as pi
which can accelerate the calculations if no complex numbers are needed (i.e. no fields in y-direction). The classes and
functionality in both cases are identical, only the data type used internally differs.
All the available classes, methods and functions for pairinteraction (as well as for pairinteraction.real) are
documented below:
Database
Class for handling the databases for the PairInteraction package. |
Single Atom
Ket for an atomic basis state. |
|
State of a single atom. |
|
Basis for a single atom. |
|
System of a single atom. |
Pair of Atoms
Ket for a pair state of two atoms. |
|
Pair state of two atoms. |
|
Basis for a pair of atoms. |
|
System of a pair of atoms. |
|
Green tensor for the multipole pair interactions. |
Convenience Functions
|
Diagonalize a list of systems in parallel using the C++ backend. |
Perturbative Calculations
Class for creating an effective SystemPair object and calculating the effective Hamiltonian. |
|
Class for calculating the C3 coefficient between two states. |
|
Class for calculating the C6 coefficient for a two-atom state |