SyTen

◆ overlap()

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

Calculates the overlap between two tensors as their scalar product.

References prod(), and syten::YesNo< struct _prod_conj >::y().

Referenced by do_expval(), eigenDavidson(), get_result(), syten::Pyten::init_tensor(), isParallel(), syten::MPS::normSqd(), orthogonalise(), orthogonalise_arithmetic_imp(), orthogonalise_inplace(), orthogonalise_run(), and orthogonalise_solve_svd().

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