Template Struct getExpectationValueIdentityFunctor¶
Defined in File ExpValFunctors.hpp
Struct Documentation¶
-
template<class PrecisionT>
struct getExpectationValueIdentityFunctor¶ Public Functions
-
inline getExpectationValueIdentityFunctor(Kokkos::View<Kokkos::complex<PrecisionT>*> arr_, [[maybe_unused]] std::size_t num_qubits, [[maybe_unused]] const std::vector<std::size_t> &wires)¶
- inline KOKKOS_INLINE_FUNCTION void operator() (const std::size_t k, PrecisionT &expval) const
Public Members
-
Kokkos::View<Kokkos::complex<PrecisionT>*> arr¶
-
inline getExpectationValueIdentityFunctor(Kokkos::View<Kokkos::complex<PrecisionT>*> arr_, [[maybe_unused]] std::size_t num_qubits, [[maybe_unused]] const std::vector<std::size_t> &wires)¶
api/structPennylane_1_1LightningKokkos_1_1Functors_1_1getExpectationValueIdentityFunctor
Download Python script
Download Notebook
View on GitHub