SyTen

◆ translate() [2/2]

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.

References syten::T3N::State::aIdx, syten::rank(), syten::T3N::State::rIdx, syten::T3N::Tree::Tree< T >::Root, syten::MPS::State::size(), std::vector< T >::size(), and SYTEN_ASSERT.

+ Here is the call graph for this function: