Template Function Pennylane::LightningQubit::Gates::callGeneratorOps(GeneratorFuncPtrT<PrecisionT>, std::complex<PrecisionT> *, std::size_t, const std::vector<std::size_t>&, bool)¶
Defined in File OpToMemberFuncPtr.hpp
Function Documentation¶
-
template<class PrecisionT>
inline PrecisionT Pennylane::LightningQubit::Gates::callGeneratorOps(GeneratorFuncPtrT<PrecisionT> func, std::complex<PrecisionT> *data, std::size_t num_qubits, const std::vector<std::size_t> &wires, bool adj)¶ Call a generator operation.
- Template Parameters
PrecisionT – Floating point type for the state-vector.
- Returns
Scaling factor
api/function_namespacePennylane_1_1LightningQubit_1_1Gates_1a9bc0f8a358494a08e336e0a7eb283da2
Download Python script
Download Notebook
View on GitHub