Template Struct generatorCRXFunctor

Struct Documentation

template<class PrecisionT, bool adj = false>
struct generatorCRXFunctor

Public Functions

inline generatorCRXFunctor(Kokkos::View<Kokkos::complex<PrecisionT>*> &arr_, std::size_t num_qubits, const std::vector<size_t> &wires, [[maybe_unused]] const std::vector<PrecisionT> &params)
inline KOKKOS_INLINE_FUNCTION void operator() (const std::size_t k) const

Public Members

Kokkos::View<Kokkos::complex<PrecisionT>*> arr
std::size_t rev_wire0
std::size_t rev_wire1
std::size_t rev_wire0_shift
std::size_t rev_wire1_shift
std::size_t rev_wire_min
std::size_t rev_wire_max
std::size_t parity_low
std::size_t parity_high
std::size_t parity_middle