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 syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::apply_energy_truncation(), do_expval(), eigenDavidson(), get_result(), isParallel(), syten::MPS::normSqd(), orthogonalise(), orthogonalise_arithmetic_imp(), orthogonalise_inplace(), orthogonalise_run(), orthogonalise_solve_svd(), and syten::EnergyTruncation::EnergyTruncationPolicy::sp_result().

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