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