Template Struct globalPhaseFunctor

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> &params)
inline KOKKOS_INLINE_FUNCTION void operator() (const size_t k) const

Public Members

Kokkos::View<Kokkos::complex<PrecisionT>*> arr
Kokkos::complex<PrecisionT> phase