2
$\begingroup$

I'm new to using Qiskit Aqua, and I'm trying to get the intermediate values in the VQE algorithm to study the convergence. The documentation mentions an internal callback function, but I can't figure out how to use it. Any help is appreciated.

$\endgroup$
1
$\begingroup$

Check out this tutorial notebook https://github.com/Qiskit/qiskit-community-tutorials/blob/master/aqua/vqe_convergence.ipynb which should answer what you need

| improve this answer | |
$\endgroup$
  • $\begingroup$ Thanks. This is exactly what I needed $\endgroup$ – Jason Apr 30 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.