Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions squidasm/sim/network/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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(
Expand Down
Loading