I have been following the tutorial in the following url to set up a VQC:
However, it is not obvious to me if one could compute the gradients and the hessian. Is there any shortcut to use existing libraries to compute the gradients and hessians?
qiskit.algorithms.gradients does not seem to work with the VQC setup. And the hessian computation appears to have been deprecated now.