SyTen
syten::IPEPSv2::ProdOp Struct Reference

iPEPSv2 operator representing a product of one- and two-site operators. More...

#include <operators.h>

+ Collaboration diagram for syten::IPEPSv2::ProdOp:

Public Member Functions

MemoryUsage::MemorySize allocSize () const
 syten::MemoryUsage::allocSize()/memory_size.h support. More...
 
void combine_neighbours ()
 Combines sequential neighbouring operators acting on identical sites. More...
 
ProdOpmult_first (AOneOp op)
 Multiplied the supplied operator op at the beginning of the operator list here, acting first on the physical state. More...
 
ProdOpmult_first (ATwoOp op)
 Multiplied the supplied operator op at the beginning of the operator list here, acting first on the physical state. More...
 
ProdOpmult_last (AOneOp op)
 Multiplies the supplied operator op at the end of the operator list here, acting last on the physical state. More...
 
ProdOpmult_last (ATwoOp op)
 Multiplies the supplied operator op at the end of the operator list here, acting last on the physical state. More...
 

Public Attributes

std::string desc = ""
 Brief description of the operator. More...
 
Vec< std::variant< AOneOp, ATwoOp > > ops = {}
 List of one- and two-site operators summing up to this SumOp. More...
 

Boost serialisation support.

static constexpr unsigned int version = 1
 Boost serialisation version. More...
 
template<typename Archive >
void serialize (Archive &ar, const unsigned int in_version)
 Boost serialisation. More...
 

Detailed Description

iPEPSv2 operator representing a product of one- and two-site operators.

The individual operators are stored in a vector of variants. The order of the operators is preserved, though sequential operators which can be expressed as a single one- or two-site operator are combined.


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