Learn to Use ITensor

main / classes / indexqn

IndexQN

An IndexQN is a struct holding an Index and a QN. Its primary purpose is for labeling individual sectors of an IQIndex.

IndexQN is defined in the header "itensor/iqindex.h".

Synopsis

auto i = Index("i",2);
auto q = QN(+1);

auto iq = IndexQN(i,q);

Print(iq.index); //prints: (i,2,Link)
Print(iq.qn); //prints: QN(1)

Public Data Members

Class Methods

Other Features of IndexQN


This page current as of version 2.0.6


Back to Classes
Back to Main