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

SciPy 1.14 removed H for sparse arrays #190

Closed
wants to merge 1 commit into from

Conversation

1ucian0
Copy link
Contributor

@1ucian0 1ucian0 commented Jul 16, 2024

Fixes #189

With the release of SciPy 1.14 (released on Jun 14) the property H for sparse arrays was removed. This PR replace it with the recommended T.conj().

Thanks @kevinsung for the fix suggestion and @twobombs to bring the attention to the problem during the Qiskit Community call.

The tests in test.eigensolvers.test_numpy_eigensolver.TestNumPyEigensolver also were not passing because of this issue and it was used for testing this fix.

@1ucian0
Copy link
Contributor Author

1ucian0 commented Jul 16, 2024

This was already fixed by #184 ! Closing as duplicated.

@1ucian0 1ucian0 closed this Jul 16, 2024
@1ucian0 1ucian0 deleted the fix/189/1 branch July 16, 2024 11:11
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

Successfully merging this pull request may close these issues.

qiskit docs tutorial examples 01 and 03 fail with 'csr matrix has no attribute H'
1 participant