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