diff --git a/qiskit_optimization/__init__.py b/qiskit_optimization/__init__.py index d73b4af8..db2b7281 100644 --- a/qiskit_optimization/__init__.py +++ b/qiskit_optimization/__init__.py @@ -69,7 +69,7 @@ :toctree: ../stubs/ :nosignatures: - ~qiskit_optimization.infinity.INFINITY + ~infinity.INFINITY Submodules ========== diff --git a/requirements.txt b/requirements.txt index c7563715..244fc92a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ qiskit>=0.44 qiskit-algorithms>=0.2.0 -scipy>=1.9.0 -numpy>=1.17 +scipy>=1.9.0,<1.14 +numpy>=1.17,<2 docplex>=2.21.207,!=2.24.231 setuptools>=40.1.0 networkx>=2.6.3