SyTen
syten::MPS::Lattice::SSO Struct Reference

The representation of a single-site operator. More...

+ Collaboration diagram for syten::MPS::Lattice::SSO:

Public Member Functions

MemoryUsage::MemorySize allocSize () const
 Returns the amount of memory allocated for this SSO. More...
 
SSOoperator= (SSO &&)=default
 explicitly default move assignment op More...
 
SSOoperator= (SSO const &)=default
 explicitly default copy assignment op More...
 
template<class Archive >
void serialize (Archive &ar, const unsigned int in_version)
 Boost archiving. More...
 
 SSO ()=default
 explicitly default default ctor More...
 
 SSO (SSO &&)=default
 explicitly default move ctor More...
 
 SSO (SSO const &)=default
 explicitly default copy ctor More...
 
 ~SSO ()=default
 explicitly default dtor More...
 

Public Attributes

std::vector< std::vector< Tensor< 4 > > > left
 Single-site identity tensor to the left of the active tensor for each type of active site and each type of site on which a left-identitiy might be needed. More...
 
std::vector< Tensor< 4 > > oper
 Single-site active tensor for each type of site. More...
 
std::vector< std::vector< Tensor< 4 > > > right
 Single-site identity tensor to the right of the active tensor for each type of active site and each type of site on which a left-identity might be needed. More...
 

Static Public Attributes

static constexpr unsigned int version = 1
 Bump this if the above changes. More...
 

Detailed Description

The representation of a single-site operator.

Here, we only store the single-site operator, the identities used to the left of that operator/site and the identities used to the right of that operator/site. The MPO is then constructed as mpo = [ left Id, left Id, …, op, right Id, … right Id ].


The documentation for this struct was generated from the following file: