Template Struct hadamardFunctor¶
Defined in File GateFunctorsNonparam.hpp
Struct Documentation¶
-
template<class PrecisionT, bool inverse = false>
struct hadamardFunctor¶ Public Functions
-
inline hadamardFunctor(Kokkos::View<Kokkos::complex<PrecisionT>*> &arr_, std::size_t num_qubits, const std::vector<size_t> &wires, [[maybe_unused]] const std::vector<PrecisionT> ¶ms)¶
- inline KOKKOS_INLINE_FUNCTION void operator() (const std::size_t k) const
-
inline hadamardFunctor(Kokkos::View<Kokkos::complex<PrecisionT>*> &arr_, std::size_t num_qubits, const std::vector<size_t> &wires, [[maybe_unused]] const std::vector<PrecisionT> ¶ms)¶
api/structPennylane_1_1LightningKokkos_1_1Functors_1_1hadamardFunctor
Download Python script
Download Notebook
View on GitHub