Commit eb2c98a
authored
Update
numpy 1.x supported a maximum of 32 dimensions and then raised an error .. this was an issue for large scale simulations with qubits up to 35 for state vector simulation and up to 18 qubits for density matrix simulations.
As a workaround to support these cases we worked with 1D and 2D arrays for these cases which was very inefficient.
now numpy 2.0 supports up to 64 dimensions_NPY_MAXDIMS
1 parent 8cde2ba commit eb2c98a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments