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(), and syten::MPS::apply_op_naive().

+ Here is the caller graph for this function: