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

MLE tomography is exceeding max func evals in scipy.optimize.leastsq #29

Closed
dannypaulson opened this issue Jan 3, 2023 · 3 comments
Closed

Comments

@dannypaulson
Copy link

Hi there,

I'm a new user of your package and wanted to ask a question about an issue I've encountered. For some relatively simple tomography examples on 1 or 2 qubits, I am getting warnings from scipy.optimize.leastsq that the maximum number of function evaluations has been exceeded, meaning the optimization exited before it converged. The leastsq function has a parameter maxfeval that can be used to set the number of allowed evaluations to some higher number to let the optimization converge, but this parameter is not exposed in the StateTomography method of the Tomography class or anywhere else that I can see. Do you see a fix for this?

Thanks for your help!

Danny

@smturro2
Copy link
Contributor

smturro2 commented Jan 9, 2023 via email

@smturro2
Copy link
Contributor

smturro2 commented Feb 6, 2023

@dannypaulson A new version has been published. version 1.05.0 will allow you to pass the parameters in through the config

@smturro2 smturro2 closed this as completed Feb 6, 2023
@dannypaulson
Copy link
Author

Thanks so much!

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

2 participants