Template Function Pennylane::LightningQubit::Gates::callGateOps(GateFuncPtrT<PrecisionT, ParamT, 1>, std::complex<PrecisionT> *, std::size_t, const std::vector<std::size_t>&, bool, const std::vector<ParamT>&)¶
Defined in File OpToMemberFuncPtr.hpp
Function Documentation¶
-
template<class PrecisionT, class ParamT>
inline void Pennylane::LightningQubit::Gates::callGateOps(GateFuncPtrT<PrecisionT, ParamT, 1> func, std::complex<PrecisionT> *data, std::size_t num_qubits, const std::vector<std::size_t> &wires, bool inverse, const std::vector<ParamT> ¶ms)¶ Overload for a gate operation for a single parameter.
api/function_group__Call_1ga91bb12c0637770765ecdfa3d071dcfcb
Download Python script
Download Notebook
View on GitHub