Template Struct getExpValMultiQubitOpFunctor¶
Defined in File ExpValFunctors.hpp
Struct Documentation¶
-
template<class PrecisionT>
struct getExpValMultiQubitOpFunctor¶ Public Types
-
using ComplexT = Kokkos::complex<PrecisionT>¶
-
using KokkosIntVector = Kokkos::View<std::size_t*>¶
-
using ScratchViewComplex = Kokkos::View<ComplexT*, Kokkos::DefaultExecutionSpace::scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged>>¶
-
using MemberType = Kokkos::TeamPolicy<>::member_type¶
Public Functions
-
inline getExpValMultiQubitOpFunctor(const KokkosComplexVector &arr_, std::size_t num_qubits_, const KokkosComplexVector &matrix_, const std::vector<std::size_t> &wires_)¶
- inline KOKKOS_INLINE_FUNCTION void operator() (const MemberType &teamMember, PrecisionT &expval) const
Public Members
-
KokkosComplexVector matrix¶
-
KokkosIntVector wires¶
-
KokkosIntVector parity¶
-
KokkosIntVector rev_wire_shifts¶
-
std::size_t dim¶
-
std::size_t num_qubits¶
-
using ComplexT = Kokkos::complex<PrecisionT>¶
api/structPennylane_1_1LightningKokkos_1_1Functors_1_1getExpValMultiQubitOpFunctor
Download Python script
Download Notebook
View on GitHub