mitiq icon indicating copy to clipboard operation
mitiq copied to clipboard

Check-type validation for ndarray with Numpy 1.22.2

Open nathanshammah opened this issue 2 years ago • 2 comments

Pre-Report Checklist

  • [x] I am running the latest version of mitiq
  • [x] I checked to make sure that this bug has not already been reported

Issue Description

Check-type validation raises several errors in [type-arg] for missing ndarray. See discussion in #1118.

How to Reproduce

If useful, provide a numbered list of the steps that result in the error.

Otherwise, just fill out the "Code Snippet" and "Error Output" sections below.

Code Snippet

Include a snippet of the mitiq code that produces the error here.

Error Output

Additionally, please copy and paste the output of the above code here.

Environment Context

Use the about() function to summarize information on operating system, python version and dependencies.

from mitiq import about
about()

Additional Python Environment Details (pip freeze or conda list):

Copy and paste the output of `pip freeze` or `conda list` here.

nathanshammah avatar Mar 04 '22 17:03 nathanshammah

Removed #1156 from 0.15.0 milestone - solve #1214 in 0.15.0 milestone instead (incremental fix).

Misty-W avatar Apr 12 '22 00:04 Misty-W

Upgrading numpy to a version greater than 1.21 will also fix the one security vulnerability we have open.

natestemen avatar Jun 06 '22 14:06 natestemen