Struct ED_basis¶
Defined in File ED_basis.hpp
Inheritance Relationships¶
Derived Types¶
public ED_factorized_basis(Struct ED_factorized_basis)public ED_mixed_basis(Struct ED_mixed_basis)
Struct Documentation¶
-
struct ED_basis¶
abstract class for a basis in a Hilbert space sector
Subclassed by ED_factorized_basis, ED_mixed_basis
Public Functions
-
ED_basis(const sector &_sec, int L)¶
Constructor of the basis in the sector the_sec.
- Parameters:
_sec – sector of the Hilbert space considered
_L – number of orbitals (sites)
-
virtual binary_state bin(uint32_t I) const = 0¶
-
virtual uint32_t index(const binary_state &b) const = 0¶
-
virtual void print_state(std::ostream &flux, uint32_t i) const = 0¶
Public Members
-
int L¶
number of orbitals of a given spin
-
std::string name¶
Name of basis (identifies the sector and the irrep)
-
uint32_t dim¶
dimension of the Hilbert space
Public Static Attributes
-
static bool verb = false¶
-
ED_basis(const sector &_sec, int L)¶