void syten::MPS::shift | ( | Tensor< 4 > & | input, |
std::vector< RDef > const & | shift, | ||
std::vector< Index > const & | whichs | ||
) |
Shifts virtual legs by desired amount.
References syten::genRepU1(), syten::Tensor< rank >::hasCGC(), shift(), std::vector< T >::size(), and SYTEN_ASSERT.
Referenced by shift().