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

Problem with the 'return_all' parameter in the 'vqe_run' #219

Open
altaranus opened this issue Dec 17, 2019 · 0 comments
Open

Problem with the 'return_all' parameter in the 'vqe_run' #219

altaranus opened this issue Dec 17, 2019 · 0 comments

Comments

@altaranus
Copy link

Hello.

While running the
'result = vqe_inst.vqe_run(.....)' function, in accordance with the documentation I set the parameter 'return_all = True' in order to get the intermediate values (of expectations and ansatz parameters) in all iterations. However, when I ask for the result['expectation_vals'] , I get the empty array.
The same for the 'iteration_params'

What is the problem? Is it a bug?
Thanks

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