SyTen
syten::BasisTransformation::SwapGate Class Reference
+ Collaboration diagram for syten::BasisTransformation::SwapGate:

Public Member Functions

void apply_local (T3N::Operator &op, T3N::Tree::Position const &pos1, T3N::Tree::Position const &pos2) const
 Contraction and local application for T3NO. More...
 
void apply_local (T3N::State &state, T3N::Tree::Position const &pos1, T3N::Tree::Position const &pos2, Truncation trunc=Truncation()) const
 Contraction and local application for T3NS. More...
 
STensor const & getDagger () const
 Returns the conjugate gate. More...
 
STensor const & getGate () const
 Returns the gate. More...
 
 SwapGate (SBasis const &p1_, SBasis const &p2_)
 Constructor. More...
 

Private Attributes

SBasis p1
 The physical bases. More...
 
SBasis p2
 
STensor U
 The gate to be applied. More...
 
STensor U_dagger
 Conjugate of the gate. More...
 

The documentation for this class was generated from the following files: