Template Function Pennylane::LightningQubit::registerVJP¶
Defined in File LQubitBindings.hpp
Function Documentation¶
-
template<class StateVectorT, class np_arr_c>
auto Pennylane::LightningQubit::registerVJP(VectorJacobianProduct<StateVectorT> &calculate_vjp, const StateVectorT &sv, const OpsData<StateVectorT> &operations, const np_arr_c &dy, const std::vector<std::size_t> &trainableParams) -> py::array_t<std::complex<typename StateVectorT::PrecisionT>>¶ Register Vector Jacobian Product.
api/function_LQubitBindings_8hpp_1a5c80c8d18685e01aa288e46b6dd0d0c1
Download Python script
Download Notebook
View on GitHub