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.
References syten::T3N::Operator::aIdx_P, syten::T3N::Operator::rIdx, syten::T3N::Tree::Tree< T >::Root, std::vector< T >::size(), and SYTEN_ASSERT.