SyTen
operators.h File Reference

local and two-body operators for iPEPS More...

+ Include dependency graph for operators.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  syten::IPEPS::AOneOp
 A one-site operator acting on a single defined site. More...
 
struct  syten::IPEPS::ATwoOp
 Two-site gate acting on two defined sites. More...
 
struct  syten::IPEPS::OneOp
 A local operator acting on an undefined site. More...
 
struct  syten::IPEPS::ProdOp
 Represents a product of two-site gates acting on different sites, e.g. More...
 
struct  syten::IPEPS::SumOp
 Represents a sum of two-site gates acting on different sites, e.g. More...
 

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::IPEPS
 IPEPS-related functionality and tools.
 

Functions

ATwoOp syten::IPEPS::dot (AOneOp const &a, AOneOp const &b)
 Dot product of two AOneOp. More...
 
ATwoOp syten::IPEPS::dot (ATwoOp const &a, ATwoOp const &b)
 Calculates the dot product of two two-site gates. More...
 
AOneOp syten::IPEPS::ldot (AOneOp const &a, AOneOp const &b)
 Locally takes the dot product of two applied single-site operators. More...
 
AOneOp syten::IPEPS::lmult (AOneOp const &a, AOneOp const &b)
 Locally multiplies two applied single-site operators into a new single-site operator. More...
 
ATwoOp syten::IPEPS::mult (AOneOp const &a, AOneOp const &b)
 Multiplies two applied one-operators such that this is applied first. More...
 
ATwoOp syten::IPEPS::mult (ATwoOp const &a, ATwoOp const &b)
 Multiplies two applied two-site operators such that a is applied first and b is applied second. More...
 
ATwoOp syten::IPEPS::operator* (ATwoOp a, SDef const c)
 Evaluates the scalar-ATwoOp product and returns the scaled ATwoOp. More...
 
SumOp syten::IPEPS::operator* (SDef c, SumOp a)
 Returns a copy of the operator a scaled by a scalar factor c. More...
 
ATwoOp syten::IPEPS::operator* (SDef const c, ATwoOp a)
 Evaluates the scalar-ATwoOp product and returns the scaled ATwoOp. More...
 
SumOp syten::IPEPS::operator* (SumOp a, SDef c)
 Returns a copy of the operator a scaled by a scalar factor c. More...
 
SumOp syten::IPEPS::operator+ (ATwoOp other, SumOp a)
 Adds the applied two-site operator other to a. More...
 
SumOp syten::IPEPS::operator+ (SumOp a, ATwoOp other)
 Adds the applied two-site operator other to a. More...
 
SumOp syten::IPEPS::operator+ (SumOp a, SumOp b)
 Adds two sum operators together. More...
 
std::ostreamsyten::IPEPS::operator<< (std::ostream &out, AOneOp const &op)
 Pretty-prints an applied one-site operator. More...
 
std::ostreamsyten::IPEPS::operator<< (std::ostream &out, ATwoOp const &op)
 Pretty-prints a two-site operator to the specified stream. More...
 
std::ostreamsyten::IPEPS::operator<< (std::ostream &out, ProdOp const &op)
 Pretty-printing of a ProdOp. More...
 
std::ostreamsyten::IPEPS::operator<< (std::ostream &out, SumOp const &op)
 Pretty-printing of a SumOp. More...
 

Detailed Description

local and two-body operators for iPEPS