SyTen

◆ validateTensorEdge()

template<typename Base >
void syten::validateTensorEdge ( Base const &  ,
Index const  ,
Rank const  ,
bool const  = false 
)
inline

Validates that the supplied tensor is a valid edge tensor of a MPS or MPO.

Parameters
  • Base: base container of tensor to check, the tensor is acquired via operator()
  • Index: argument to operator() on call to retrieve the actual tensor
  • Rank: leg of the tensor that is supposed to be the "edge"
  • bool: true if the tensor is supposed to sit on the vacuum (instead of physical sector) edge Empty call for non-debug builds

Referenced by syten::MPS::apply_op_itrunc(), syten::MPS::apply_op_naive(), and syten::MPS::State::operator+=().

+ Here is the caller graph for this function: