Template Class PauliGenerator¶
Defined in File PauliGenerator.hpp
Inheritance Relationships¶
Derived Types¶
public Pennylane::LightningQubit::Gates::GateImplementationsAVXCommon< GateImplementationsAVX2 >
(Template Class GateImplementationsAVXCommon)public Pennylane::LightningQubit::Gates::GateImplementationsAVXCommon< GateImplementationsAVX512 >
(Template Class GateImplementationsAVXCommon)
Class Documentation¶
-
template<class GateImplementation>
class PauliGenerator¶ Define generators of RX, RY, RZ using the Pauli gates.
A Generator for a unitary operator \(U\) is \(G\) such that \(e^{iGt} = U\).
Subclassed by Pennylane::LightningQubit::Gates::GateImplementationsAVXCommon< GateImplementationsAVX2 >, Pennylane::LightningQubit::Gates::GateImplementationsAVXCommon< GateImplementationsAVX512 >
Public Static Functions
-
template<class PrecisionT>
static inline auto applyGeneratorRX(std::complex<PrecisionT> *data, std::size_t num_qubits, const std::vector<std::size_t> &wires, bool adj) -> PrecisionT¶
-
template<class PrecisionT>
static inline auto applyGeneratorRY(std::complex<PrecisionT> *data, std::size_t num_qubits, const std::vector<std::size_t> &wires, bool adj) -> PrecisionT¶
-
template<class PrecisionT>
static inline auto applyGeneratorRZ(std::complex<PrecisionT> *data, std::size_t num_qubits, const std::vector<std::size_t> &wires, bool adj) -> PrecisionT¶
-
template<class PrecisionT>
api/classPennylane_1_1LightningQubit_1_1Gates_1_1PauliGenerator
Download Python script
Download Notebook
View on GitHub