diff --git a/CHANGELOG.md b/CHANGELOG.md index f9a3417..074e140 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ CHANGELOG ========= +2024-11-18 (0.13.3) +------------------ +- Relax scipy requirement to from <1.9 to <2.0 +- Relax numpy requirement from <1.23 to <2.0 +- Replace numpy.complex type with complex type + 2024-10-21 (0.13.2) ------------------ - Bugfix for link noise models depolarise and discrete depolarise in multithread variant diff --git a/setup.cfg b/setup.cfg index bdfcef7..21cbee6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,8 +16,8 @@ include_package_data = True install_requires = netsquid-netbuilder >=0.1.0, <0.2.0 click >=8.0, <9.0 - numpy >=1.22, <1.23 - scipy >=1.8, <1.9 + numpy >=1.22, <2.0 + scipy >=1.8, <2.0 pydantic >=1.8.2, < 3.0 pydynaa >=0.3, <2.0 netsquid >=1.1.2, <2.0 diff --git a/squidasm/sim/network/network.py b/squidasm/sim/network/network.py index 3d401a2..364a0c2 100644 --- a/squidasm/sim/network/network.py +++ b/squidasm/sim/network/network.py @@ -53,7 +53,7 @@ from squidasm.sim.glob import QubitInfo, get_running_backend from squidasm.sim.network.nv_config import NVConfig, build_nv_qdevice -T_SingleQubitState = Tuple[Tuple[np.complex, np.complex]] +T_SingleQubitState = Tuple[Tuple[complex, complex]] EprDeliveredEvent: EventType = EventType( "EPR_DELIVERED", @@ -626,11 +626,11 @@ def _delivery_func(model_params: LinearDepolariseModelParameters, **kwargs): """ epr_state = np.array( [[0.5, 0, 0, 0.5], [0, 0, 0, 0], [0, 0, 0, 0], [0.5, 0, 0, 0.5]], - dtype=np.complex, + dtype=complex, ) maximally_mixed = np.array( [[0.25, 0, 0, 0], [0, 0.25, 0, 0], [0, 0, 0.25, 0], [0, 0, 0, 0.25]], - dtype=np.complex, + dtype=complex, ) return ( StateSampler(