Struct lattice_matrix_element

Struct Documentation

struct lattice_matrix_element

Matrix element of a lattice operator.

Public Functions

inline lattice_matrix_element()

constructor

inline lattice_matrix_element(const int &_site1, const int &_spin1, const int &_site2, const int &_spin2, const int _neighbor, complex<double> _v)

constructor

inline string str() const

Public Members

size_t site1

row site index

size_t spin1

rwo spin index

size_t site2

column site index

size_t spin2

column spin index

size_t neighbor

index of the neighboring SUC

complex<double> v

value of the matrix element

Friends

inline friend std::ostream &operator<<(std::ostream &flux, const lattice_matrix_element &s)