Template Struct ApplyHadamard

Struct Documentation

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

Public Types

using Precision = PrecisionT
using PrecisionAVXConcept = AVXConceptType<PrecisionT, packed_size>

Public Static Functions

template<std::size_t rev_wire>
static inline void applyInternal(std::complex<PrecisionT> *arr, const std::size_t num_qubits, [[maybe_unused]] bool inverse)
static inline void applyExternal(std::complex<PrecisionT> *arr, const std::size_t num_qubits, const std::size_t rev_wire, [[maybe_unused]] bool inverse)

Public Static Attributes

static constexpr std::size_t packed_size_ = packed_size