Template Struct ApplyS¶
Defined in File ApplyS.hpp
Struct Documentation¶
-
template<typename PrecisionT, std::size_t packed_size>
struct ApplyS¶ Public Types
-
using Precision = PrecisionT¶
-
using PrecisionAVXConcept = AVXConceptType<PrecisionT, packed_size>¶
Public Static Functions
-
static inline constexpr auto applyInternalPermutation(std::size_t rev_wire)¶
Permutation for applying
i
to.FIXME: clang++-12 currently does not accept consteval here.
-
static inline auto createFactor(std::size_t rev_wire, bool inverse) -> AVXIntrinsicType<PrecisionT, packed_size>¶
-
template<std::size_t rev_wire>
static inline void applyInternal(std::complex<PrecisionT> *arr, const std::size_t num_qubits, bool inverse)¶
-
static inline void applyExternal(std::complex<PrecisionT> *arr, const std::size_t num_qubits, const std::size_t rev_wire, bool inverse)¶
Public Static Attributes
-
static constexpr std::size_t packed_size_ = packed_size¶
-
using Precision = PrecisionT¶
api/structPennylane_1_1LightningQubit_1_1Gates_1_1AVXCommon_1_1ApplyS
Download Python script
Download Notebook
View on GitHub