SyTen
tensor_swaps.h File Reference

insertSwap() function which inserts a swap gate on two tensor legs. More...

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

Namespaces

namespace  syten
 Syten namespace.
 

Functions

template<Rank rank>
Tensor< rank > syten::insertSwap (Tensor< rank > in, Index const a, Index const b, bool const conjugate=false)
 Inserts a swap gate on the two specified tensor legs, which need to point in the same direction. More...
 

Detailed Description

insertSwap() function which inserts a swap gate on two tensor legs.