Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent energy in maxcut_qaoa depending on samples argument #199

Open
mrosenkranz opened this issue Jan 1, 2019 · 0 comments
Open

Comments

@mrosenkranz
Copy link

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant