Template Struct ApplyGeneratorPhaseShift¶
Defined in File ApplyGeneratorPhaseShift.hpp
Struct Documentation¶
-
template<typename PrecisionT, size_t packed_size>
struct ApplyGeneratorPhaseShift¶ Public Types
-
using Precision = PrecisionT¶
-
using PrecisionAVXConcept = typename AVXConcept<PrecisionT, packed_size>::Type¶
Public Static Functions
-
template<size_t rev_wire>
static inline consteval auto factorInternal() -> typename PrecisionAVXConcept::IntrinsicType¶
-
template<size_t rev_wire>
static inline auto applyInternal(std::complex<PrecisionT> *arr, const size_t num_qubits, [[maybe_unused]] bool inverse) -> PrecisionT¶
-
static inline auto applyExternal(std::complex<PrecisionT> *arr, const size_t num_qubits, const size_t rev_wire, [[maybe_unused]] bool inverse) -> PrecisionT¶
Public Static Attributes
-
static constexpr size_t packed_size_ = packed_size¶
-
using Precision = PrecisionT¶
api/structPennylane_1_1LightningQubit_1_1Gates_1_1AVXCommon_1_1ApplyGeneratorPhaseShift
Download Python script
Download Notebook
View on GitHub