SyTen

◆ split()

template<Rank irank>
Tensor<irank + 1> syten::MPS::TEBD::split ( Tensor< irank > const &  itensor,
MergeConfig const &  bases,
int const  split_at = irank 
)
inline

Takes a Tensor with rank irank and splits the leg with index split_at into two legs with indices split_at and split_at+1.

All indices greater than split_at will be shifted by 1.

Parameters
[in]itensorTensor of rank \( irank \)
[in]basesmerge configuration (from merge function)
[in]split_atwhere to split at
Returns
split tensor

References syten::Basis::dir, syten::MPS::TEBD::MergeConfig::first(), syten::genFuse(), syten::genSplit(), syten::Inc, syten::MPS::TEBD::MergeConfig::second(), and syten::MPS::TEBD::MergeConfig::switch_bases.

Referenced by build_local_T().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: