Template Function Pennylane::registerAdjointJacobianMPI

Function Documentation

template<class StateVectorT>
auto Pennylane::registerAdjointJacobianMPI(AdjointJacobianMPI<StateVectorT> &adjoint_jacobian, const StateVectorT &sv, const std::vector<std::shared_ptr<Observable<StateVectorT>>> &observables, const OpsData<StateVectorT> &operations, const std::vector<size_t> &trainableParams) -> py::array_t<typename StateVectorT::PrecisionT>

Register the adjoint Jacobian method.