SyTen

◆ compat_exact_equal()

template<Rank rank>
bool syten::compat_exact_equal ( Tensor< rank > const &  a,
Tensor< rank > const &  b 
)
inline

Returns true if both tensors are compatible on every leg and their difference has norm zero.

References syten::Tensor< rank >::getBasisMap(), normSqd(), and rank().

Referenced by syten::MPS::dot().

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