Struct ED_basis

Inheritance Relationships

Derived Types

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
template<typename T>
inline void print_state(std::ostream &flux, const vector<T> &psi) const

Public Members

int L

number of orbitals of a given spin

sector sec

sector of the Hilbert space

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