VMPS++
|
Array of quantum numbers corresponding to Abelian or non Abelian symmetries. Just a thin wrapper over std::array<int,Nq>
with some bracket operators, boolean functions, coefficient-wise arithmetics and output to with a streaming operator.
Nq | amount of conserved quantum numbers: - Nq=1 : Heisenberg ( ) - Nq=2 : Hubbard ( , ), Kondo ( , ) |
qarray2<Nq>
= std::array<qarray<Nq>
,2> : pair of quantum numbers in a two-legged tensor Bipedqarray3<Nq>
= std::array<qarray<Nq>
,3> : triplet of quantum numbers in a three-legged tensor Tripod
(see Multipede)qarray4<Nq>
= std::array<qarray<Nq>
,4> : quadruplet of quantum numbers in a four-legged tensor Quadruped
(see Multipede) #include <qarray.h>
Public Member Functions | |
constexpr | qarray () |
constexpr | qarray (const std::array< int, Nq > &in) |
qarray (std::initializer_list< int > a) | |
int & | operator[] (size_t i) |
int & | operator() (size_t i) |
const int & | operator[] (size_t i) const |
const int & | operator() (size_t i) const |
int | distance (const qarray< Nq > &other) |
Public Attributes | |
std::array< int, Nq > | data |
|
inline |
|
inline |
|
inline |
|
inline |