SyTen
tensor_gen.h File Reference

Generation of symmetry-protected Tensor objects. More...

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

Namespaces

 syten
 Syten namespace.
 

Functions

Tensor< 2 > syten::genCombinator (Basis const &b1)
 Creates a combinator summing up individual contributions in each symmetry sector into a single entry. More...
 
Tensor< 3 > syten::genFuse (Basis const &unsorted_b1, Basis const &unsorted_b2, Index maxBlocksize=std::numeric_limits< Index >::max(), SRDef ratio=1., Index minBlocksize=1, bool make_special=false)
 Generates a fusing half-isometry map. More...
 
Tensor< 2 > syten::genIINode (Basis const &b1)
 Generates a node with two identical incoming bases b1. More...
 
Tensor< 2 > syten::genIINode (Basis const &b1, Basis const &b2)
 Generates a node with two incoming bases b1 and b2. More...
 
Tensor< 2 > syten::genIONode (Basis const &b1)
 Generates a node with one incoming and one outgoing index. More...
 
Tensor< 2 > syten::genOONode (Basis const &b1)
 Generates a node with two identical outgoing bases b1. More...
 
Tensor< 2 > syten::genOONode (Basis const &b1, Basis const &b2)
 Generates a node with two outgoing bases b1 and b2. More...
 
Tensor< 3 > syten::genRandom (Basis const &firstBasis, Basis const &secondBasis, Basis const &thirdBasis, bool not_random=false)
 Generates a random rank-3 tensor where the product basis of firstBasis and secondBasis is projected onto thirdBasis More...
 
Tensor< 3 > syten::genRandom (Basis const &firstBasis, Basis const &secondBasis, Index maxBlockSize=200, Ordinal const &resultIndex=Ordinal::Second)
 Generates a random rank-3 tensor. More...
 
Tensor< 3 > syten::genSplit (Basis const &b1, Basis const &b2, Index maxBlocksize=std::numeric_limits< Index >::max(), SRDef ratio=1., Index minBlocksize=1, bool make_special=false)
 Generates a splitting half-isometry map. More...
 
Tensor< 4 > syten::genSwap (Basis const &firstBasis, Basis const &secondBasis)
 Constructs a fermionic swap gate of two bases. More...
 
Tensor< 3 > syten::gM (Basis const &b1, Basis const &b2, Index maxBlocksize=std::numeric_limits< Index >::max(), SRDef ratio=1., Index minBlocksize=1, bool make_special=false)
 Generates either a splitting or fusing half-isometry map. More...
 
Tensor< 3 > syten::gME (Basis const &b1, Basis const &b2)
 Forwards to gM(), setting the ethereal-boolean to true. More...
 

Detailed Description

Generation of symmetry-protected Tensor objects.