SyTen
operators.cpp File Reference

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

+ Include dependency graph for operators.cpp:

Namespaces

 syten
 Syten 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

Implementation for inc/ipeps/operators.h.