SyTen
btt_operator.cpp File Reference

Implementation for btt_operator.h. More...

+ Include dependency graph for btt_operator.cpp:

Namespaces

 syten
 The topmost namespace for this project.
 
 syten::BTT
 The namespace containing binary tree tensor networks.
 

Functions

Operator syten::BTT::dot (Operator const &a, Operator const &b, Sector const &sec)
 Scalar product of two operators, e.g. \( G \cdot F \) is dot(f, g, vacuum), \( G \) will be taken to lie in the dual space in the process. More...
 
Operator syten::BTT::dot (Operator const &a, Operator const &b)
 Scalar product of two operators with guessing of correct quantum number sector from the upper basis of the root element of the first argument. More...
 
void syten::BTT::dot_rec (Operator::Ptr tptr, const Operator::Ptr aptr, const Operator::Ptr bptr, Basis const &target)
 Recursive helper for the dot product. More...
 
Tensor< 5 > syten::BTT::genBTTOCmp (Basis const &p_basis, Basis const &a_basis, Basis const &b_basis, Basis const &r_basis)
 Generates an local operator in a tree tensor network matching the specified basis. More...
 
Tensor< 5 > syten::BTT::genBTTOId (Basis const &p_basis, Basis const &a_basis, Basis const &b_basis)
 Generates an identity local operator in a tree tensor network. More...
 
Operator syten::BTT::operator* (Operator const &a, SDef const b)
 Scale a BTTO by a scalar, \( \hat r = b \hat a \). More...
 
Operator syten::BTT::operator* (SDef const b, Operator const &a)
 Scale a BTTO by a scalar, \( \hat r = b \hat a \). More...
 
Operator syten::BTT::operator* (Operator const &a, Operator const &b)
 Product of two BTTO, \( \hat r = \hat b \hat a \), i.e. b is applied after a if r is applied to a state. More...
 
Operator & syten::BTT::operator*= (Operator &o, SDef const c)
 Product of a scalar and an operator, \( c \hat O \). More...
 
Operator syten::BTT::operator+ (Operator const &a, Operator const &b)
 Sum of two BTTO, \( \hat r = \hat b + \hat a \). More...
 
Operator syten::BTT::operator- (Operator const &a, Operator const &b)
 Difference of two BTT, \( \hat r = \hat a - \hat b \). More...
 

Detailed Description

Implementation for btt_operator.h.