The "smart" MPS needs to store both the local bases and the bond bases. More...
#include <smart_state.h>
Public Member Functions | |
SBasis const & | d (int const site) const |
Returns the physical basis between sites left and right. More... | |
SBasis const & | left_b () const |
Return left basis. More... | |
STensor const & | operator() (int const site) const |
Returns a constant reference to the site tensor. More... | |
SBasis const & | right_b () const |
Return right basis. More... | |
Index | size () const |
Returns size. More... | |
SState (State in) | |
Constructs smart MPS from regular one. More... | |
Private Attributes | |
Vec< SBasisId > | bond_bases |
vector of bond bases, incoming; 0-th entry is leftmost, length-th entry rightmost More... | |
SBasisId | left_most |
Vec< SBasisId > | phys_bases |
vector of physical bases. More... | |
SBasisId | right_most |
outer bases. More... | |
Vec< AsyncCached< STensor > > | tensors |
vector of tensors. More... | |
The "smart" MPS needs to store both the local bases and the bond bases.