emu-base 2.4.0__py3-none-any.whl → 2.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
emu_base/__init__.py
CHANGED
emu_base/pulser_adapter.py
CHANGED
|
@@ -90,7 +90,8 @@ def _extract_omega_delta_phi(
|
|
|
90
90
|
# The sampled values correspond to the start of each interval
|
|
91
91
|
# To maximize the order of the solver, we need the values in the middle
|
|
92
92
|
if math.ceil(t) < max_duration:
|
|
93
|
-
# If we're not the final step, approximate this using linear
|
|
93
|
+
# If we're not the final step, approximate this using linear
|
|
94
|
+
# interpolation
|
|
94
95
|
# Note that for dt even, t1=t2
|
|
95
96
|
t1 = math.floor(t)
|
|
96
97
|
t2 = math.ceil(t)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: emu-base
|
|
3
|
-
Version: 2.4.
|
|
3
|
+
Version: 2.4.1
|
|
4
4
|
Summary: Pasqal base classes for emulators
|
|
5
5
|
Project-URL: Documentation, https://pasqal-io.github.io/emulators/
|
|
6
6
|
Project-URL: Repository, https://github.com/pasqal-io/emulators
|
|
@@ -26,7 +26,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
27
27
|
Requires-Python: >=3.10
|
|
28
28
|
Requires-Dist: pulser-core==1.6.*
|
|
29
|
-
Requires-Dist: torch
|
|
29
|
+
Requires-Dist: torch>=2.8.0
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
32
32
|
<div align="center">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
emu_base/__init__.py,sha256=
|
|
1
|
+
emu_base/__init__.py,sha256=hxXLbvqH2yhva3QXRtTws6oSFnVPMndrgvENXzze9Rw,725
|
|
2
2
|
emu_base/constants.py,sha256=41LYkKLUCz-oxPbd-j7nUDZuhIbUrnez6prT0uR0jcE,56
|
|
3
3
|
emu_base/jump_lindblad_operators.py,sha256=Y30f8emVFS4Dazljc_Rh4lX9qU4QQY_AxPNahnzcsfY,2101
|
|
4
|
-
emu_base/pulser_adapter.py,sha256=
|
|
4
|
+
emu_base/pulser_adapter.py,sha256=bb529P2tspLgX_EcJxCT4bJjFM8SOIttgsFIznTeN58,6979
|
|
5
5
|
emu_base/utils.py,sha256=OoJ0GjL1K8m9Jq-BeBfmbWuFp9bvwXp8UcI3BMW94Js,2974
|
|
6
6
|
emu_base/math/__init__.py,sha256=6BbIytYV5uC-e5jLMtIErkcUl_PvfSNnhmVFY9Il8uQ,97
|
|
7
7
|
emu_base/math/brents_root_finding.py,sha256=AVx6L1Il6rpPJWrLJ7cn6oNmJyZOPRgEaaZaubC9lsU,3711
|
|
@@ -9,6 +9,6 @@ emu_base/math/double_krylov.py,sha256=X16dyCbyzdP7fFK-hmKS03Q-DJtC6TZ8sJrGTJ6akI
|
|
|
9
9
|
emu_base/math/krylov_energy_min.py,sha256=iR4hmE0eXptbAg3opikd5d4Zv7dhnDrawH-n_4KG-cc,4009
|
|
10
10
|
emu_base/math/krylov_exp.py,sha256=mGFddVQ8mEbwypbZtnlRPFpi4Nf8JZT6OKLHloIwCDQ,3934
|
|
11
11
|
emu_base/math/matmul.py,sha256=lEAnV0b5z_f1xEA-9p-WXxA8bM3QbShiHdXQ3ZkZFcQ,877
|
|
12
|
-
emu_base-2.4.
|
|
13
|
-
emu_base-2.4.
|
|
14
|
-
emu_base-2.4.
|
|
12
|
+
emu_base-2.4.1.dist-info/METADATA,sha256=8ikaKvc4pjqEikcqgoCUj4WnRUlClI5xBQfIPDRuFO8,3604
|
|
13
|
+
emu_base-2.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
+
emu_base-2.4.1.dist-info/RECORD,,
|
|
File without changes
|