From 0f08ee84c3cc8de3619db7e34c815a9892bad15f Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Sat, 24 Jun 2023 22:19:01 -0400 Subject: [PATCH] Add explicit numpy dependency (#286) * Add explicit numpy dependency * Add release note --- pyproject.toml | 1 + .../notes/explicit-numpy-dependency-fdd89846b37a8d4c.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/explicit-numpy-dependency-fdd89846b37a8d4c.yaml diff --git a/pyproject.toml b/pyproject.toml index f6668005b..3db6a0132 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/releasenotes/notes/explicit-numpy-dependency-fdd89846b37a8d4c.yaml b/releasenotes/notes/explicit-numpy-dependency-fdd89846b37a8d4c.yaml new file mode 100644 index 000000000..239126109 --- /dev/null +++ b/releasenotes/notes/explicit-numpy-dependency-fdd89846b37a8d4c.yaml @@ -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 + `__, + and this method is used heavily by the CutQC wire cutting module.