You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The energy output during the optimisation in maxcut_qaoa.get_angles() (the line E => ...) approaches very different values for samples=None or setting a number of samples (e.g. samples=1000). The displayed value with samples=None doesn't seem to be the true expectation value of the cost Hamiltonian, whereas it matches the expected cost Hamiltonian when specifying a number of samples .
The text was updated successfully, but these errors were encountered:
The energy output during the optimisation in
maxcut_qaoa.get_angles()
(the lineE => ...
) approaches very different values forsamples=None
or setting a number of samples (e.g.samples=1000
). The displayed value withsamples=None
doesn't seem to be the true expectation value of the cost Hamiltonian, whereas it matches the expected cost Hamiltonian when specifying a number of samples .The text was updated successfully, but these errors were encountered: