SyTen
syten::IPEPS::SumOp Struct Reference

Represents a sum of two-site gates acting on different sites, e.g. More...

#include <operators.h>

+ Collaboration diagram for syten::IPEPS::SumOp:

Public Member Functions

SumOpoperator*= (SDef c)
 Multiplies this operator by a scalar. More...
 
SumOpoperator+= (ATwoOp other)
 Adds another ATwoOp to this SumOp. More...
 
SumOpoperator+= (SumOp other)
 Adds two SumOp together. More...
 
void reduce ()
 Removes elements whose tensors have zero norm. More...
 
template<typename Archive >
void serialize (Archive &ar, const unsigned int in_version)
 Boost archiving. More...
 
 SumOp (std::string desc_="", std::vector< ATwoOp > ops_={})
 Standard and default ctor. More...
 

Public Attributes

std::string description = ""
 brief descriptions of the operator. More...
 
std::vector< ATwoOpops = {}
 list of two-site gates. More...
 

Static Public Attributes

static constexpr unsigned int version = 1
 current version, bump if you change one of the data structures here More...
 

Detailed Description

Represents a sum of two-site gates acting on different sites, e.g.

a Hamiltonian.


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