Template Function Pennylane::LightningKokkos::Util::axpy_Kokkos¶
Defined in File LinearAlgebraKokkos.hpp
Function Documentation¶
-
template<class PrecisionT>
inline auto Pennylane::LightningKokkos::Util::axpy_Kokkos(Kokkos::complex<PrecisionT> alpha, Kokkos::View<Kokkos::complex<PrecisionT>*> x, Kokkos::View<Kokkos::complex<PrecisionT>*> y, std::size_t length)¶ Kokkos implementation of the \(y+=\alpha*x\) operation.
- Parameters
alpha – Scalar to scale x
x – Vector to add
y – Vector to be added
length – number of elements in x
api/function_LinearAlgebraKokkos_8hpp_1a43b3a7fb0b6fb6cbb38eeb13f23dde6b
Download Python script
Download Notebook
View on GitHub