Template Function Pennylane::LightningQubit::NanoBindings::registerVJP¶
Defined in File LQubitBindings.hpp
Function Documentation¶
-
template<class StateVectorT>
auto Pennylane::LightningQubit::NanoBindings::registerVJP(VectorJacobianProduct<StateVectorT> &calculate_vjp, const StateVectorT &sv, const OpsData<StateVectorT> &operations, const nb::ndarray<const typename StateVectorT::ComplexT, nb::c_contig> &dy, const std::vector<std::size_t> &trainableParams) -> nb::ndarray<typename StateVectorT::ComplexT, nb::numpy, nb::c_contig>¶ Register Vector Jacobian Product.
api/function_LQubitBindings_8hpp_1a454eb12942c4bcc2d3e0781b463295c6
Download Python script
Download Notebook
View on GitHub