Skip to content

VQE should not converge prematurely if negative energy.

Benjamin Jaderberg requested to merge negative-cost-rotosolve into master

Currently, if the ground state energy of your system is negative, then average_recent_cost_reduction becomes negative. This causes it to finish prematurely since it is evaluated as being smaller than tol.

Edited by Benjamin Jaderberg

Merge request reports