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