Template Struct ApplySingleQubitOp

Struct Documentation

template<typename PrecisionT, size_t packed_size>
struct ApplySingleQubitOp

Public Types

using PrecisionAVXConcept = typename AVXConcept<PrecisionT, packed_size>::Type

Public Static Functions

template<size_t rev_wire>
static inline void applyInternal(std::complex<PrecisionT> *arr, const size_t num_qubits, const std::complex<PrecisionT> *matrix, bool inverse = false)
static inline void applyExternal(std::complex<PrecisionT> *arr, const size_t num_qubits, const size_t rev_wire, const std::complex<PrecisionT> *matrix, bool inverse = false)