Template Struct getExpectationValueIdentityFunctor

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<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