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)
api/function_LinearAlgebraKokkos_8hpp_1a2975da4dc6ed0908f41cd9ea0b1b26f0
Download Python script
Download Notebook
View on GitHub