Template Struct ApplySingleQubitOp

Struct Documentation

template<typename PrecisionT, std::size_t packed_size>
struct ApplySingleQubitOp

Public Types

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

Public Static Functions

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