Template Struct getExpVal4QubitOpFunctor¶
Defined in File ExpValFunctors.hpp
Struct Documentation¶
-
template<class PrecisionT>
struct getExpVal4QubitOpFunctor¶ Public Types
-
using ComplexT = Kokkos::complex<PrecisionT>¶
-
using KokkosIntVector = Kokkos::View<std::size_t*>¶
Public Functions
-
inline getExpVal4QubitOpFunctor(const KokkosComplexVector &arr_, const std::size_t num_qubits_, const KokkosComplexVector &matrix_, const std::vector<std::size_t> &wires_)¶
- inline KOKKOS_INLINE_FUNCTION void operator() (const std::size_t k, PrecisionT &expval) const
Public Members
-
KokkosComplexVector matrix¶
-
KokkosIntVector wires¶
-
KokkosIntVector parity¶
-
KokkosIntVector rev_wire_shifts¶
-
const std::size_t n_wires = 4¶
-
std::size_t num_qubits¶
-
using ComplexT = Kokkos::complex<PrecisionT>¶
api/structPennylane_1_1LightningKokkos_1_1Functors_1_1getExpVal4QubitOpFunctor
Download Python script
Download Notebook
View on GitHub