chemical potential term
\[ \hat H_{\mu} = \sum_{i\sigma}\mu_{i} \hat n_{i\sigma} = -i\sum_{i\sigma} \frac{\mu_{i}}{2} \gamma_{i\sigma}^+ \gamma_{i\sigma}^- \]
More...
#include <ChemicalTerm.hpp>
|
static const std::string | name {"mu_potential"} |
|
static constexpr size_t | locality {1} |
|
chemical potential term
\[ \hat H_{\mu} = \sum_{i\sigma}\mu_{i} \hat n_{i\sigma} = -i\sum_{i\sigma} \frac{\mu_{i}}{2} \gamma_{i\sigma}^+ \gamma_{i\sigma}^- \]
◆ Fill()
template<class T >
static void Spinfull::ChemicalTerm::Fill |
( |
Hamiltonian< T > & |
ham, |
|
|
double |
mu, |
|
|
int |
i |
|
) |
| |
|
inlinestatic |
Filler.
- Template Parameters
-
T | matrix type, support for: arma::mat, arma::sp_mat |
- Parameters
-
ham | hamiltonian container |
i | site index |
mu | chemical potential value \(\mu_{i}\) |
◆ locality
constexpr size_t Spinfull::ChemicalTerm::locality {1} |
|
static |
◆ name
const std::string Spinfull::ChemicalTerm::name {"mu_potential"} |
|
static |
The documentation for this class was generated from the following file: