SyTen
syten::MPS::SState Class Reference

The "smart" MPS needs to store both the local bases and the bond bases. More...

#include <smart_state.h>

+ Collaboration diagram for syten::MPS::SState:

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< SBasisIdbond_bases
 vector of bond bases, incoming; 0-th entry is leftmost, length-th entry rightmost More...
 
SBasisId left_most
 
Vec< SBasisIdphys_bases
 vector of physical bases. More...
 
SBasisId right_most
 outer bases. More...
 
Vec< AsyncCached< STensor > > tensors
 vector of tensors. More...
 

Detailed Description

The "smart" MPS needs to store both the local bases and the bond bases.


The documentation for this class was generated from the following files: