We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CuPy also has eigsh and it makes computation much faster, the code should be almost identical to what is alraedy there
if method == 'eigsh': from scipy.sparse.linalg import eigsh # Note: uses shift-invert trick for stability finding low-lying states # Ref: https://docs.scipy.org/doc/scipy/reference/tutorial/arpack.html#shift-invert-mode eigenvalues, eigenvectors = eigsh(H, k=max_states, which='LM', sigma=min(0, self.E_min))
Simply change the import (and condition) and it should work.
The text was updated successfully, but these errors were encountered:
Added this and pushed in a new PR.
Sorry, something went wrong.
No branches or pull requests
CuPy also has eigsh and it makes computation much faster, the code should be almost identical to what is alraedy there
Simply change the import (and condition) and it should work.
The text was updated successfully, but these errors were encountered: