dwavesystems / dwavesystems/dwave-system
Is there a way to access the energy for solution states to create a graph of how the energy converges to minima?
- Dominant language
- Python
- Stars
- 98
- Forks
- 67
- Avg merge
- 7m
- Merged PRs (30d)
- 1
Description
## **Current Problem**
We have a direct need to be able to plot how the energy of the states converges to local minima (ground-state of Ising Hamiltonian for which the CQM is constructed from) when using the LeapHybridCQMSampler.
Perhaps this is not possible due to how the hybrid solvers work. And if that's the case, is there anywhere I could read **exactly** how the hybrid solvers work so I know why we can't access the energies? Perhaps it's not at all an iterative solving process, and then of course, this would not be possible.
## **Additional context**
Context: when solving the optimization problem with VQE using qiskit SDK we can define a callback for the solver. In this callback we are able to store the average energy for the states for each iteration of optimization. Is there any way to do something similar when solving on a Leap Hybrid Solver?
## Closing words
I would be very appreciative if anyone could look at this and see whether or not this would be possible to do. Otherwise, please refer me to a place where this has been done already, or, refer me to an explanation as to why its not possible :)
Regards,
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.