SyTen
mp2t3n-translator.h File Reference

A helper object transferring the Tensors of an MPS or MPO to the STensors of an T3NS or T3NO. More...

#include "inc/mps/state.h"
#include "inc/mps/operator.h"
#include "state.h"
#include "operator.h"
+ Include dependency graph for mp2t3n-translator.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

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

Functions

T3N::Operator syten::T3N::translate (MPS::Operator const &mpo, Vec< SBasisId > const &phys_ids)
 Takes an MPO as input and produces an T3NO w/ the T3NO STensor structure. More...
 
T3N::State syten::T3N::translate (MPS::State const &mps, Vec< SBasisId > const &phys_ids={})
 Takes an MPS as input and produces an T3NS w/ the T3NS STensor structure. More...
 

Detailed Description

A helper object transferring the Tensors of an MPS or MPO to the STensors of an T3NS or T3NO.