iqm-benchmarks 2.7__py3-none-any.whl → 2.8__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.
Potentially problematic release.
This version of iqm-benchmarks might be problematic. Click here for more details.
- iqm/benchmarks/__init__.py +9 -1
- iqm/benchmarks/compressive_gst/compressive_gst.py +3 -5
- {iqm_benchmarks-2.7.dist-info → iqm_benchmarks-2.8.dist-info}/METADATA +3 -5
- {iqm_benchmarks-2.7.dist-info → iqm_benchmarks-2.8.dist-info}/RECORD +7 -7
- {iqm_benchmarks-2.7.dist-info → iqm_benchmarks-2.8.dist-info}/LICENSE +0 -0
- {iqm_benchmarks-2.7.dist-info → iqm_benchmarks-2.8.dist-info}/WHEEL +0 -0
- {iqm_benchmarks-2.7.dist-info → iqm_benchmarks-2.8.dist-info}/top_level.txt +0 -0
iqm/benchmarks/__init__.py
CHANGED
|
@@ -26,7 +26,6 @@ from .benchmark_definition import (
|
|
|
26
26
|
BenchmarkRunResult,
|
|
27
27
|
)
|
|
28
28
|
from .circuit_containers import BenchmarkCircuit, CircuitGroup, Circuits
|
|
29
|
-
from .compressive_gst.compressive_gst import CompressiveGST, GSTConfiguration
|
|
30
29
|
from .entanglement.ghz import GHZBenchmark, GHZConfiguration
|
|
31
30
|
from .quantum_volume.clops import CLOPSBenchmark, CLOPSConfiguration
|
|
32
31
|
from .quantum_volume.quantum_volume import QuantumVolumeBenchmark, QuantumVolumeConfiguration
|
|
@@ -47,6 +46,15 @@ AVAILABLE_BENCHMARKS = {
|
|
|
47
46
|
MirrorRandomizedBenchmarking.name: MirrorRandomizedBenchmarking,
|
|
48
47
|
}
|
|
49
48
|
|
|
49
|
+
try:
|
|
50
|
+
# Requires dependencies from "project.optional-dependencies.mgst" section to be installed. See "pyproject.toml"
|
|
51
|
+
# file
|
|
52
|
+
from .compressive_gst.compressive_gst import CompressiveGST, GSTConfiguration
|
|
53
|
+
|
|
54
|
+
AVAILABLE_BENCHMARKS.update({CompressiveGST.name: CompressiveGST})
|
|
55
|
+
except ModuleNotFoundError:
|
|
56
|
+
pass
|
|
57
|
+
|
|
50
58
|
try:
|
|
51
59
|
# Change here if project is renamed and does not equal the package name
|
|
52
60
|
dist_name = "iqm-benchmarks"
|
|
@@ -58,6 +58,8 @@ class CompressiveGST(Benchmark):
|
|
|
58
58
|
|
|
59
59
|
analysis_function = staticmethod(mgst_analysis)
|
|
60
60
|
|
|
61
|
+
name: str = "compressive_gst"
|
|
62
|
+
|
|
61
63
|
def __init__(self, backend: IQMBackendBase, configuration: "GSTConfiguration"):
|
|
62
64
|
"""Construct the compressive_gst class.
|
|
63
65
|
|
|
@@ -102,10 +104,6 @@ class CompressiveGST(Benchmark):
|
|
|
102
104
|
self.J = np.empty((self.configuration.num_circuits, self.num_povm))
|
|
103
105
|
self.bootstrap_results = List[Tuple[np.ndarray]] # List of GST outcomes from bootstrapping
|
|
104
106
|
|
|
105
|
-
@staticmethod
|
|
106
|
-
def name() -> str:
|
|
107
|
-
return "compressive_GST"
|
|
108
|
-
|
|
109
107
|
@timeit
|
|
110
108
|
def generate_meas_circuits(self) -> None:
|
|
111
109
|
"""Generate random circuits from the gate set
|
|
@@ -172,7 +170,7 @@ class CompressiveGST(Benchmark):
|
|
|
172
170
|
# Adding configuration entries and class variables, prioritizing the latter in case of conflicts
|
|
173
171
|
for key, value in (self.configuration.__dict__ | self.__dict__).items():
|
|
174
172
|
if key == "benchmark": # Avoid saving the class objects
|
|
175
|
-
dataset.attrs[key] = value.name
|
|
173
|
+
dataset.attrs[key] = value.name
|
|
176
174
|
elif key == "backend":
|
|
177
175
|
dataset.attrs[key] = value.name
|
|
178
176
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: iqm-benchmarks
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8
|
|
4
4
|
Summary: A package for implementation of Quantum Characterization, Verification and Validation (QCVV) techniques on IQM's hardware at gate level abstraction
|
|
5
5
|
Author-email: IQM Finland Oy <developers@meetiqm.com>, Aniket Rath <aniket.rath@meetiqm.com>, Jami Rönkkö <jami@meetiqm.com>, Pedro Figueroa Romero <pedro.romero@meetiqm.com>, Vicente Pina Canelles <vicente.pina@meetiqm.com>, Raphael Brieger <raphael.brieger@meetiqm.com>, Stefan Seegerer <stefan.seegerer@meetiqm.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/iqm-finland/iqm-benchmarks
|
|
@@ -31,11 +31,9 @@ Requires-Dist: tox==4.16.0; extra == "develop"
|
|
|
31
31
|
Provides-Extra: examples
|
|
32
32
|
Requires-Dist: notebook==7.2.1; extra == "examples"
|
|
33
33
|
Provides-Extra: mgst
|
|
34
|
-
Requires-Dist: numpy<2.0; extra == "mgst"
|
|
35
|
-
Requires-Dist: cvxpy==1.5.3; extra == "mgst"
|
|
36
|
-
Requires-Dist: pygsti==0.9.12.3; extra == "mgst"
|
|
37
|
-
Requires-Dist: tqdm==4.66.5; extra == "mgst"
|
|
38
34
|
Requires-Dist: numba==0.60.0; extra == "mgst"
|
|
35
|
+
Requires-Dist: pygsti[diamond_norm]==0.9.12.3; extra == "mgst"
|
|
36
|
+
Requires-Dist: tqdm==4.66.5; extra == "mgst"
|
|
39
37
|
Provides-Extra: test
|
|
40
38
|
Requires-Dist: black==24.4.2; extra == "test"
|
|
41
39
|
Requires-Dist: isort==5.13.2; extra == "test"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
iqm/benchmarks/__init__.py,sha256=
|
|
1
|
+
iqm/benchmarks/__init__.py,sha256=Hc0oxTTjCA2QlLJeD7lBBt84l1tFbAF5WkAhP92JmgA,2525
|
|
2
2
|
iqm/benchmarks/benchmark.py,sha256=SGhBcSxLPUu-cVXAjG4Db2TRobFCRBYoE1NtTDK1lJg,4432
|
|
3
3
|
iqm/benchmarks/benchmark_definition.py,sha256=AZkvANrf0_0glbq_P_uo_YqbBU9IZa2gJlMVz6qT6VU,10500
|
|
4
4
|
iqm/benchmarks/circuit_containers.py,sha256=anEtZEsodYqOX-34oZRmuKGeEpp_VfgG5045Mz4-4hI,7562
|
|
@@ -6,7 +6,7 @@ iqm/benchmarks/logging_config.py,sha256=U7olP5Kr75AcLJqNODf9VBhJLVqIvA4AYR6J39D5
|
|
|
6
6
|
iqm/benchmarks/readout_mitigation.py,sha256=7FlbSH-RJTtQuRYLChwkQV_vBv0ZfMQTH519cAbyxQ4,12252
|
|
7
7
|
iqm/benchmarks/utils.py,sha256=MrGWVB4X037u0XZY68PtIEG8Xud3T0ZKldv2JpeLYD0,20500
|
|
8
8
|
iqm/benchmarks/compressive_gst/__init__.py,sha256=LneifgYXtcwo2jcXo7GdUEHL6_peipukShhkrdaTRCA,929
|
|
9
|
-
iqm/benchmarks/compressive_gst/compressive_gst.py,sha256=
|
|
9
|
+
iqm/benchmarks/compressive_gst/compressive_gst.py,sha256=bG-NdSbiYTqfTGpBZtHqsjepNwUU04VB0wrqg9KH8OA,22104
|
|
10
10
|
iqm/benchmarks/compressive_gst/gst_analysis.py,sha256=wMsomKcD5bUhfzAsi9NGw5YMkkcZ-pOFYsZvuCyGHRM,35282
|
|
11
11
|
iqm/benchmarks/entanglement/__init__.py,sha256=9T7prOwqMmFWdb4t6ETAHZXKK5o6FvU2DvVb6WhNi-U,682
|
|
12
12
|
iqm/benchmarks/entanglement/ghz.py,sha256=e97DMjH-uAuoO7cqoDS_6k7yDr-DjU9soWL2GyTgp8U,40257
|
|
@@ -36,8 +36,8 @@ mGST/optimization.py,sha256=YHwkzIkYvsZOPjclR-BCQWh24jeqjuXp0BB0WX5Lwow,10559
|
|
|
36
36
|
mGST/qiskit_interface.py,sha256=L4H-4SdhP_bjSFFvpQoF1E7EyGbIJ_CI_y4a7_YEwmU,10102
|
|
37
37
|
mGST/reporting/figure_gen.py,sha256=6Xd8vwfy09hLY1YbJY6TRevuMsQSU4MsWqemly3ZO0I,12970
|
|
38
38
|
mGST/reporting/reporting.py,sha256=We1cccz9BKbITYcSlZHdmBGdjMWAa1xNZe5tKP-yh_E,26004
|
|
39
|
-
iqm_benchmarks-2.
|
|
40
|
-
iqm_benchmarks-2.
|
|
41
|
-
iqm_benchmarks-2.
|
|
42
|
-
iqm_benchmarks-2.
|
|
43
|
-
iqm_benchmarks-2.
|
|
39
|
+
iqm_benchmarks-2.8.dist-info/LICENSE,sha256=2Ncb40-hqkTil78RPv3-YiJfKaJ8te9USJgliKqIdSY,11558
|
|
40
|
+
iqm_benchmarks-2.8.dist-info/METADATA,sha256=neTH_5NYUnCBrsllhR-T130J7lpkG7FnFjoD7JHOewg,9433
|
|
41
|
+
iqm_benchmarks-2.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
42
|
+
iqm_benchmarks-2.8.dist-info/top_level.txt,sha256=3G23Z-1LGf-IOzTCUl6QwWqiQ3USz25Zt90Ihq192to,9
|
|
43
|
+
iqm_benchmarks-2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|