SyTen
operators.cpp File Reference

Implementation for inc/ipeps2/operators.h More...

+ Include dependency graph for operators.cpp:

Namespaces

 syten::IPEPSv2
 Namespace for the second-generation iPEPS code (iPEPSv2).
 

Functions

Operator output
std::ostreamsyten::IPEPSv2::operator<< (std::ostream &out, OneOp const &op)
 Outputs an unapplied single-site operator. More...
 
std::ostreamsyten::IPEPSv2::operator<< (std::ostream &out, AOneOp const &op)
 Outputs a single-site operator applied to a specific site. More...
 
std::ostreamsyten::IPEPSv2::operator<< (std::ostream &out, ATwoOp const &op)
 Outputs a two-site operator applied to a specific site. More...
 
std::ostreamsyten::IPEPSv2::operator<< (std::ostream &out, A12Op const &op)
 Outputs a 1-2 operator applied to specific sites. More...
 
std::ostreamsyten::IPEPSv2::operator<< (std::ostream &out, SumOp const &op)
 Outputs a sum operator. More...
 
std::ostreamsyten::IPEPSv2::operator<< (std::ostream &out, ProdOp const &op)
 Outputs a product operator. More...
 
Single- and two-site operator addition and multiplication implementations.
AOneOp syten::IPEPSv2::add (AOneOp a, AOneOp const &b)
 Addition of two one-site operators acting on the same site. More...
 
ATwoOp syten::IPEPSv2::add (ATwoOp a, ATwoOp const &b)
 Addition of two two-site operators acting on the same sites. More...
 
AOneOp syten::IPEPSv2::lmult (AOneOp const &a, AOneOp const &b)
 Multiplication of two one-site operators acting on the same site, giving a new one-site operator. More...
 
ATwoOp syten::IPEPSv2::mult (AOneOp const &a, AOneOp const &b)
 Multiplication of two one-site operators acting on different sites forming a new two-site operator. More...
 
ATwoOp syten::IPEPSv2::mult (ATwoOp const &a, ATwoOp const &b)
 Multiplication of two two-site operators acting on the same sites forming a new two-site operator. More...
 
ATwoOp syten::IPEPSv2::mult (ATwoOp a, AOneOp const &b)
 Multiplication of one two-site operator and one one-site operator (acting on one of the sites of the former) giving a new two-site operator. More...
 
ATwoOp syten::IPEPSv2::mult (AOneOp const &a, ATwoOp b)
 Multiplication of one two-site operator and one one-site operator (acting on one of the sites of the former) giving a new two-site operator. More...
 
A12Op syten::IPEPSv2::make_12op (AOneOp const &a, ATwoOp const &b)
 Multiplication of an applied one-site and an applied two-site operator to yield an A12Op. More...
 
iPEPSv2 operator operators
AOneOp syten::IPEPSv2::operator+ (AOneOp a, AOneOp const &b)
 Evaluates \( \hat a + \hat b \) for a and b acting on the same site. More...
 
AOneOp & syten::IPEPSv2::operator+= (AOneOp &a, AOneOp const &b)
 Evaluates \( \hat a \gets \hat a + \hat b \) for a and b acting on the same site. More...
 
ATwoOp syten::IPEPSv2::operator+ (ATwoOp a, ATwoOp const &b)
 Evaluates \( \hat a + \hat b \) for a and b acting on the same sites. More...
 
ATwoOp & syten::IPEPSv2::operator+= (ATwoOp &a, ATwoOp const &b)
 Evaluates \( \hat a \gets \hat a + \hat b \) for a and b acting on the same sites. More...
 
AOneOp syten::IPEPSv2::operator- (AOneOp a, AOneOp const &b)
 Evaluates \( \hat a - \hat b \) for a and b acting on the same site. More...
 
AOneOp & syten::IPEPSv2::operator-= (AOneOp &a, AOneOp const &b)
 Evaluates \( \hat a \gets \hat a - \hat b \) for a and b acting on the same site. More...
 
ATwoOp syten::IPEPSv2::operator- (ATwoOp a, ATwoOp const &b)
 Evaluates \( \hat a \gets \hat a - \hat b \) for a and b acting on the same sites. More...
 
ATwoOp & syten::IPEPSv2::operator-= (ATwoOp &a, ATwoOp const &b)
 Evaluates \( \hat a \gets \hat a - \hat b \) for a and b acting on the same sites. More...
 
ATwoOp syten::IPEPSv2::operator* (AOneOp const &a, AOneOp const &b)
 Evaluates \( \hat b \hat a \) (a applied first) for a and b acting on different sites. More...
 
ATwoOp syten::IPEPSv2::operator* (ATwoOp const &a, ATwoOp const &b)
 Evaluates \( \hat b \hat a \) (a applied first) for a and b acting on the same sites. More...
 
AOneOp syten::IPEPSv2::operator* (AOneOp a, SDef c)
 Evaluates \( c \hat a \). More...
 
AOneOp syten::IPEPSv2::operator* (SDef c, AOneOp a)
 Evaluates \( c \hat a \). More...
 
ATwoOp syten::IPEPSv2::operator* (ATwoOp a, SDef c)
 Evaluates \( c \hat a \). More...
 
ATwoOp syten::IPEPSv2::operator* (SDef c, ATwoOp a)
 Evaluates \( c \hat a \). More...
 
A12Op syten::IPEPSv2::operator* (A12Op a, SDef c)
 Evaluates \( c \hat a \). More...
 
A12Op syten::IPEPSv2::operator* (SDef c, A12Op a)
 Evaluates \( c \hat a \). More...
 
SumOp & syten::IPEPSv2::operator+= (SumOp &a, ATwoOp b)
 Evaluates \( \hat a \gets \hat a + \hat b \). More...
 
SumOp & syten::IPEPSv2::operator+= (SumOp &a, AOneOp b)
 Evaluates \( \hat a \gets \hat a + \hat b \). More...
 
SumOp & syten::IPEPSv2::operator+= (SumOp &a, A12Op b)
 Evaluates \( \hat a \gets \hat a + \hat b \). More...
 
SumOp & syten::IPEPSv2::operator+= (SumOp &a, SumOp b)
 Evaluates \( \hat a \gets \hat a + \hat b \). More...
 
SumOp & syten::IPEPSv2::operator-= (SumOp &a, ATwoOp const &b)
 Evaluates \( \hat a \gets \hat a - \hat b \). More...
 
SumOp & syten::IPEPSv2::operator-= (SumOp &a, AOneOp const &b)
 Evaluates \( \hat a \gets \hat a - \hat b \). More...
 
SumOp & syten::IPEPSv2::operator-= (SumOp &a, A12Op const &b)
 Evaluates \( \hat a \gets \hat a - \hat b \). More...
 
SumOp & syten::IPEPSv2::operator-= (SumOp &a, SumOp const &b)
 Evaluates \( \hat a \gets \hat a - \hat b \). More...
 
SumOp & syten::IPEPSv2::operator*= (SumOp &a, SDef c)
 Evaluates \( \hat a \gets c \hat a \). More...
 
SumOp syten::IPEPSv2::operator+ (SumOp a, SumOp b)
 Evaluates \( \hat a + \hat b \). More...
 
SumOp syten::IPEPSv2::operator+ (SumOp a, ATwoOp b)
 Evaluates \( \hat a + \hat b \). More...
 
SumOp syten::IPEPSv2::operator+ (ATwoOp b, SumOp a)
 Evaluates \( \hat a + \hat b \). More...
 
SumOp syten::IPEPSv2::operator+ (SumOp a, AOneOp b)
 Evaluates \( \hat a + \hat b \). More...
 
SumOp syten::IPEPSv2::operator+ (AOneOp b, SumOp a)
 Evaluates \( \hat a + \hat b \). More...
 
SumOp syten::IPEPSv2::operator+ (SumOp a, A12Op b)
 Evaluates \( \hat a + \hat b \). More...
 
SumOp syten::IPEPSv2::operator+ (A12Op b, SumOp a)
 Evaluates \( \hat a + \hat b \). More...
 
SumOp syten::IPEPSv2::operator- (SumOp a, SumOp const &b)
 Evaluates \( \hat a - \hat b \). More...
 
SumOp syten::IPEPSv2::operator- (SumOp a, ATwoOp const &b)
 Evaluates \( \hat a - \hat b \). More...
 
SumOp syten::IPEPSv2::operator- (ATwoOp b, SumOp a)
 Evaluates \( \hat b - \hat a \). More...
 
SumOp syten::IPEPSv2::operator- (SumOp a, AOneOp const &b)
 Evaluates \( \hat a - \hat b \). More...
 
SumOp syten::IPEPSv2::operator- (AOneOp b, SumOp a)
 Evaluates \( \hat b - \hat a \). More...
 
SumOp syten::IPEPSv2::operator- (SumOp a, A12Op const &b)
 Evaluates \( \hat a - \hat b \). More...
 
SumOp syten::IPEPSv2::operator- (A12Op b, SumOp a)
 Evaluates \( \hat b - \hat a \). More...
 
SumOp syten::IPEPSv2::operator* (SumOp a, SDef c)
 Evaluates \( c \hat a \). More...
 
SumOp syten::IPEPSv2::operator* (SDef c, SumOp a)
 Evaluates \( c \hat a \). More...
 

Detailed Description

Implementation for inc/ipeps2/operators.h