Class fermionBasis#
Defined in File fermionBasis.hpp
Inheritance Relationships#
Derived Types#
public freeModel
(Class freeModel)public kondoTwoImpuritySC
(Class kondoTwoImpuritySC)public rabiAndersonSC
(Class rabiAndersonSC)
Class Documentation#
-
class fermionBasis#
This is the main basis class for the electrons or fermions. Every other fermion model class is derived from this class. We normally dont inherit from this class. Just use as a local object. See for example spinhalf.
Subclassed by freeModel, kondoTwoImpuritySC, rabiAndersonSC
Public Types
-
enum modelSymmetry#
Symmetries used used in the proble chargeOnly: Only charge of the system is conserved. spinOnly : Only \(S_z\) component of the total spin is coserved. This is use for the superconducting Bath. chargeAndSpin: Both charge and spin is conserved.
Values:
-
enumerator chargeOnly#
-
enumerator spinOnly#
-
enumerator chargeAndSpin#
-
enumerator chargeOnly#
Public Functions
-
inline fermionBasis(size_t dof, modelSymmetry l)#
- Parameters:
dof – : Fermion degree of freedom
l – : Symmetries of the system
-
inline auto get_raw_f_dag_operator() const#
Get the full Matrix of the
f
operators.- Returns:
-
inline auto get_f_dag_operator() const#
Get
f
operators of the site in terms of theqmatrix
notations.- Returns:
-
inline void create_QuantumNChargeonly()#
-
inline void create_QuantumNspinCharge()#
-
inline void create_QuantumSpinOnly(std::vector<std::vector<size_t>> &qsymmetry)#
-
inline void createQNumbers(const std::vector<std::vector<size_t>> &qsymmetry)#
-
inline void create_Block_structure()#
-
inline auto get_unique_Qnumbers()#
-
inline auto get_basis() const#
-
inline void setDebugMode(bool debug = true)#
-
inline void createFermionBasis(size_t ldof)#
-
inline void set_f_dag_operators()#
-
enum modelSymmetry#