-
Notifications
You must be signed in to change notification settings - Fork 616
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
qml.lie_closure
often raises LinAlgError: Singular matrix
#6065
Comments
@josh146 Sorry for the blank description, I thought this was going to be a very quick fix that is not even worth triaging. We need to re-triage this issue, in my opinion, as it was found that neither @Qottmann nor I can guarantee to work on this soon. |
Thanks! I guess one question; does the open PR improve the behaviour even if it doesn't resolve it fully? |
Yep I think so, because a previously failing case is fixed by it (see test addition). |
Got it, thanks @dwierichs! |
Running into this problem a lot when using sums of paulis, wonder how we can make this more reliable and stable (ideally with no significant performance regression).
In instances where the code breaks, I often find myself with large sums of Paulis with large coefficients, which makes me wonder whether picking up this old suggestion by @vincentmr could help?
An example:
The text was updated successfully, but these errors were encountered: