Template Struct globalPhaseFunctor¶
Defined in File GateFunctorsParam.hpp
Struct Documentation¶
-
template<class PrecisionT, bool inverse = false>
struct globalPhaseFunctor¶ Public Functions
-
inline globalPhaseFunctor(Kokkos::View<Kokkos::complex<PrecisionT>*> &arr_, [[maybe_unused]] size_t num_qubits, [[maybe_unused]] const std::vector<size_t> &wires, const std::vector<PrecisionT> ¶ms)¶
- inline KOKKOS_INLINE_FUNCTION void operator() (const size_t k) const
-
inline globalPhaseFunctor(Kokkos::View<Kokkos::complex<PrecisionT>*> &arr_, [[maybe_unused]] size_t num_qubits, [[maybe_unused]] const std::vector<size_t> &wires, const std::vector<PrecisionT> ¶ms)¶
api/structPennylane_1_1LightningKokkos_1_1Functors_1_1globalPhaseFunctor
Download Python script
Download Notebook
View on GitHub