|
inline |
Validates that the supplied tensor is a valid edge tensor of a MPS or MPO.
Base
: base container of tensor to check, the tensor is acquired via operator()
Index
: argument to operator()
on call to retrieve the actual tensorRank
: 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().