-
Notifications
You must be signed in to change notification settings - Fork 375
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
MPS simulator has global bond dimension and singular values truncation threshold #2286
Comments
Making those values non-static is not that easy, since there are a lot of static calls in the |
Perhaps you would like to open a PR to address this bug (and the rest you pointed out)? |
I planned to do that, I just need to find the time... I'll try to do it this weekend. |
Informations
What is the current behavior?
The Matrix Product State simulator has bond dimension and singular values truncation threshold as static values.
See here:
qiskit-aer/src/simulators/matrix_product_state/matrix_product_state_tensor.hpp
Line 182 in e26970a
The problem with this is that it affects all MPS simulators one creates.
Steps to reproduce the problem
Create a MPS simulator with default settings, execute a complex enough circuit in it, save its results.
Create two MPS simulators, set a low bond dimension and a big truncation threshold on one (which would introduce quite big errors for many circuits). Execute the same complex circuit from above with both. Compare results among themselves and with the ones previously saved.
What is the expected behavior?
Each MPS simulator should have its own settings.
Suggested solutions
Make them non static?
The text was updated successfully, but these errors were encountered: