Template Function Pennylane::LightningKokkos::Util::getRealOfComplexInnerProduct¶
Defined in File LinearAlgebraKokkos.hpp
Function Documentation¶
-
template<class PrecisionT>
inline auto Pennylane::LightningKokkos::Util::getRealOfComplexInnerProduct(Kokkos::View<Kokkos::complex<PrecisionT>*> x, Kokkos::View<Kokkos::complex<PrecisionT>*> y) -> PrecisionT¶ Kokkos implementation of the real(conj(x)∗y) operation.
- Parameters
x – Input vector
y – Input vector
- Returns
:math:
real(conj(x)*y)