SyTen
operator.cpp File Reference

Implementation for a T3N operator.h. More...

+ Include dependency graph for operator.cpp:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::T3N
 Namespace for T3N.
 

Typedefs

using syten::T3N::IterDirection = syten::T3N::Tree::IterDirection
 

Functions

Operator syten::T3N::dagger (Operator const &a)
 Daggers operator. More...
 
void syten::T3N::dagger_rec (Operator::Ptr p)
 Recursive helper. More...
 
Operator syten::T3N::dot (Operator const &a, Operator const &b, Sector const &target)
 Scalar product of two operators, w/out explicit quantum number declaration. More...
 
void syten::T3N::dot_rec (Operator::Ptrc tptr, Operator::cPtrc const bptr, Sector const &target)
 Dot operator recursive helper. More...
 
STensor syten::T3N::genBranchCmp (SBasis const &a_basis, SBasis const &b_basis, SBasis const &r_basis)
 Generates an local operator in a T3N network matching the specified basis for a branching Node. More...
 
std::tuple< STensor, SBasisId > syten::T3N::genBranchId (SBasis const &a_basis, SBasis const &b_basis)
 Generates an identity local operator in a T3N network for a physical Node. More...
 
STensor syten::T3N::genPhysCmp (SBasis const &p_basis, SBasis const &a_basis, SBasis const &r_basis)
 Generates an local operator in a T3N network matching the specified basis for a physical Node. More...
 
Tensor< 4 > syten::T3N::genPhysId (Basis const &p_basis, Basis const &a_basis)
 Overload for Tensor. More...
 
std::tuple< STensor, SBasisId > syten::T3N::genPhysId (SBasis const &p_basis, SBasis const &a_basis)
 Generates an identity local operator in a T3N network for a physical Node. More...
 
SRDef syten::T3N::norm (Operator const &op)
 Computes norm of operator. More...
 
Operator syten::T3N::operator* (Operator const &a, Operator const &b)
 Product of two T3NO, \( \hat r = \hat b \hat a \), i.e. b is applied after a if r is applied to a state. More...
 
Operator syten::T3N::operator* (Operator const &a, SDef const b)
 Scale a T3NO by a scalar, \( \hat r = b \hat a \). More...
 
Operator syten::T3N::operator* (SDef const b, Operator const &a)
 Scale a T3NO by a scalar, \( \hat r = b \hat a \)
More...
 
Operator & syten::T3N::operator*= (Operator &o, SDef const c)
 Product of a scalar and an operator, \( c \hat O \). More...
 
Operator syten::T3N::operator+ (Operator const &a, Operator const &b)
 Sum of two T3NO, \( \hat r = \hat b + \hat a \)
More...
 
Operator syten::T3N::operator- (Operator const &a, Operator const &b)
 Difference of two operators, \( \hat r = \hat a - \hat b \). More...
 
Operator syten::T3N::operator/ (Operator const &op, SDef const c)
 Divides by a const. More...
 
Operator & syten::T3N::operator/= (Operator &op, SDef const c)
 Divides by a const. More...
 
std::ostreamsyten::T3N::operator<< (std::ostream &out, Operator const &op)
 
SDef syten::T3N::overlap (Operator const &a, Operator const &b)
 Computes the overlap of two operators. More...
 
STensor syten::T3N::overlap_rec (Operator::cPtrc a, Operator::cPtrc b)
 Helper function for overlap. More...
 

Detailed Description

Implementation for a T3N operator.h.