diff --git a/pyproject.toml b/pyproject.toml index 1f1a79e2..1bd72f29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,15 +42,14 @@ dependencies = [ "z3-solver>=4.12,<4.14", "qecsim", "ldpc>=0.1.53", - "numpy>=1.26; python_version > '3.11'", - "numpy>=1.24; python_version <= '3.11'", + "numpy>=1.26,<2.0; python_version > '3.11'", + "numpy>=1.24,<2.0; python_version <= '3.11'", "qiskit[qasm3-import]>=1.0.0", "qiskit-aer>=0.15.0", "stim >= 1.13.0", "multiprocess >= 0.70.16", "bposd>=1.6", "numba>=0.59; python_version > '3.11'", - "numpy>=0.57; python_version <= '3.11'", "pymatching>=2.2; python_version > '3.11'", "pymatching>=2; python_version <= '3.11'", ]