Template Struct ApplySingleQubitOp¶
Defined in File ApplySingleQubitOp.hpp
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)¶
-
using PrecisionAVXConcept = typename AVXConcept<PrecisionT, packed_size>::Type¶
api/structPennylane_1_1LightningQubit_1_1Gates_1_1AVXCommon_1_1ApplySingleQubitOp
Download Python script
Download Notebook
View on GitHub