Template Function Pennylane::Gates::callGeneratorOps¶
Defined in File OpToMemberFuncPtr.hpp
Function Documentation¶
-
template<class PrecisionT>
inline PrecisionT Pennylane::Gates::callGeneratorOps(GeneratorFuncPtrT<PrecisionT> func, std::complex<PrecisionT> *data, size_t num_qubits, const std::vector<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_1Gates_1a582c3f26fd8e2348b170b80ce2b0852d
Download Python script
Download Notebook
View on GitHub