Template Struct SparseMV_KokkosFunctor¶
Defined in File LinearAlgebraKokkos.hpp
Struct Documentation¶
-
template<class PrecisionT>
struct SparseMV_KokkosFunctor¶ Sparse matrix vector multiply functor :math: y=A*x.
Public Types
-
using KokkosVector = Kokkos::View<Kokkos::complex<PrecisionT>*>¶
-
using KokkosSizeTVector = Kokkos::View<std::size_t*>¶
Public Functions
-
inline SparseMV_KokkosFunctor(KokkosVector x_, KokkosVector y_, const KokkosVector data_, const KokkosSizeTVector indices_, const KokkosSizeTVector indptr_)¶
- inline KOKKOS_INLINE_FUNCTION void operator() (const std::size_t row) const
-
using KokkosVector = Kokkos::View<Kokkos::complex<PrecisionT>*>¶
api/structPennylane_1_1LightningKokkos_1_1Util_1_1SparseMV__KokkosFunctor
Download Python script
Download Notebook
View on GitHub