Skip to content

Commit

Permalink
Add explicit numpy dependency (#286)
Browse files Browse the repository at this point in the history
* Add explicit numpy dependency

* Add release note
  • Loading branch information
garrison authored Jun 25, 2023
1 parent dec72a0 commit 0f08ee8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers = [
requires-python = ">=3.8"

dependencies = [
"numpy>=1.23.0",
"qiskit-aer>=0.12.0",
"qiskit-terra>=0.24.0",
"qiskit-nature>=0.6.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
upgrade:
- |
Numpy 1.23.0 or later is now required. The :func:`~numpy.kron`
method in earlier versions `has known performance issues
<https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/pull/70#issuecomment-1500514513>`__,
and this method is used heavily by the CutQC wire cutting module.

0 comments on commit 0f08ee8

Please sign in to comment.