The "smart" MPS needs to store both the local bases and the bond bases. More...
Public Member Functions | |
SBasis & | d (int site) |
Returns the physical basis between sites left and right. More... | |
SBasis & | m (int left, int right) |
Returns the bond basis between sites left and right. More... | |
STensor const & | operator() (int site) const |
Returns a constant reference to the site tensor. More... | |
SMPS & | set (STensor in, int site) |
Sets the site tensor and renames its indices to "l", "r" and "pX" respectively. More... | |
Public Attributes | |
Vec< SBasis > | bond_bases |
vector of bond bases, incoming; 0-th entry is leftmost, length-th entry rightmost More... | |
Vec< SBasis > | phys_bases |
vector of physical bases. More... | |
Vec< STensor > | tensors |
vector of tensors. More... | |
The "smart" MPS needs to store both the local bases and the bond bases.