Template Class PauliGenerator

Inheritance Relationships

Derived Types

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