iqm-benchmarks 2.29__py3-none-any.whl → 2.30__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.

@@ -66,8 +66,8 @@ def plot_times(clops_data: xr.Dataset, observations: Dict[int, Dict[str, Dict[st
66
66
  """
67
67
  # Define the keys for different categories of times
68
68
  job_keys = ["submit_total", "compile_total", "execution_total"]
69
- user_keys = ["user_submit_total", "user_retrieve_total", "assign_parameters_total"]
70
69
  total_keys = ["job_total"]
70
+ user_keys = ["user_retrieve_total", "user_submit_total", "assign_parameters_total", "time_transpile"]
71
71
 
72
72
  # Define variables for dataset values
73
73
  qubits = clops_data.attrs["qubits"]
@@ -95,14 +95,10 @@ def plot_times(clops_data: xr.Dataset, observations: Dict[int, Dict[str, Dict[st
95
95
 
96
96
  fig_name = f"{num_qubits}_qubits_{tuple(qubits)}"
97
97
 
98
- # Plot total CLOPS time
99
- x_t = ax1.bar(4 * sep, clops_time, barsize, zorder=0, label="clops time", color=(colors[-1], alpha), edgecolor="k")
100
- ax1.bar_label(x_t, fmt=f"clops time: {clops_time:.2f}", fontsize=fontsize)
101
-
102
98
  # Plot user keys
103
99
  for i, (key, cumulative_value) in enumerate(zip(user_keys, np.cumsum([all_data[k] for k in user_keys]))):
104
100
  x = ax1.bar(
105
- 3 * sep,
101
+ 4 * sep,
106
102
  cumulative_value,
107
103
  barsize,
108
104
  zorder=1 - i / 10,
@@ -112,6 +108,10 @@ def plot_times(clops_data: xr.Dataset, observations: Dict[int, Dict[str, Dict[st
112
108
  )
113
109
  ax1.bar_label(x, fmt=f"{key.replace('_total', ' ').replace('_', ' ')}: {all_data[key]:.2f}", fontsize=fontsize)
114
110
 
111
+ # Plot total CLOPS time
112
+ x_t = ax1.bar(3 * sep, clops_time, barsize, zorder=0, color=(colors[-1], alpha), edgecolor="k")
113
+ ax1.bar_label(x_t, fmt=f"CLOPS time: {clops_time:.2f}", fontsize=fontsize)
114
+
115
115
  # Plot total keys
116
116
  for i, (key, cumulative_value) in enumerate(zip(total_keys, np.cumsum([all_data[k] for k in total_keys]))):
117
117
  x = ax1.bar(
@@ -139,13 +139,13 @@ def plot_times(clops_data: xr.Dataset, observations: Dict[int, Dict[str, Dict[st
139
139
  ax2.spines["bottom"].set_visible(False)
140
140
 
141
141
  # Set axis labels and limits
142
- ax1.set_ylabel("Total CLOPS time (seconds)")
143
- ax2.set_ylabel("Total CLOPS time (%)")
144
- ax1.set_ylim(-0.2, clops_time + 1)
142
+ ax1.set_ylabel("Total CLOPS experiment time (seconds)")
143
+ ax2.set_ylabel("Total CLOPS experiment time (%)")
144
+ ax1.set_ylim(-0.2, clops_time + all_data["assign_parameters_total"] + all_data["time_transpile"] + 1)
145
145
  ax2.set_ylim(-0.2, 100)
146
146
 
147
147
  # Set x-ticks and labels
148
- time_types = ["Remote (components)", "Remote (total)", "Wall-time (components)", "Wall-time (total)"]
148
+ time_types = ["Remote (components)", "Remote (total)", "Wall-time (CLOPS)", "Wall-time (all components)"]
149
149
  ax1.set_xticks([i * sep + 1 for i in range(4)], time_types, fontsize=fontsize)
150
150
 
151
151
  # Set plot title
@@ -671,7 +671,7 @@ class CLOPSBenchmark(Benchmark):
671
671
 
672
672
  dataset.attrs.update(
673
673
  {
674
- "clops_time": end_clops_timer - start_clops_timer,
674
+ "clops_time": end_clops_timer - start_clops_timer - sum(all_times_parameter_assign.values()),
675
675
  "all_times_parameter_assign": all_times_parameter_assign,
676
676
  "all_times_submit": all_times_submit,
677
677
  "all_times_retrieve": all_times_retrieve,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iqm-benchmarks
3
- Version: 2.29
3
+ Version: 2.30
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>, Adrian Auer <adrian.auer@meetiqm.com>, Raphael Brieger <raphael.brieger@meetiqm.com>, Alessio Calzona <alessio.calzona@meetiqm.com>, Pedro Figueroa Romero <pedro.romero@meetiqm.com>, Amin Hosseinkhani <amin.hosseinkhani@meetiqm.com>, Miikka Koistinen <miikka@meetiqm.com>, Nadia Milazzo <nadia.milazzo@meetiqm.com>, Vicente Pina Canelles <vicente.pina@meetiqm.com>, Aniket Rath <aniket.rath@meetiqm.com>, Jami Rönkkö <jami@meetiqm.com>, Stefan Seegerer <stefan.seegerer@meetiqm.com>
6
6
  Project-URL: Homepage, https://github.com/iqm-finland/iqm-benchmarks
@@ -16,7 +16,7 @@ iqm/benchmarks/entanglement/graph_states.py,sha256=7IlPocwHbi_K_KQqTSVEaDfB7wLH9
16
16
  iqm/benchmarks/optimization/__init__.py,sha256=_ajW_OibYLCtzU5AUv5c2zuuVYn8ZNeZUcUUSIGt51M,747
17
17
  iqm/benchmarks/optimization/qscore.py,sha256=KOw8fjXeMwCjYvKukpX7IiAqRQrVTkrnIgKjNCPVWdw,38130
18
18
  iqm/benchmarks/quantum_volume/__init__.py,sha256=i-Q4SpDWELBw7frXnxm1j4wJRcxbIyrS5uEK_v06YHo,951
19
- iqm/benchmarks/quantum_volume/clops.py,sha256=fD_eh10qHv_W-_mCA-PjPDIxNJ5sqD7yDkK1UjRsAAo,31474
19
+ iqm/benchmarks/quantum_volume/clops.py,sha256=9_4xljndh4iUcyPRPvYaslpeye1XPH2u5O1FMfhr9Mk,31608
20
20
  iqm/benchmarks/quantum_volume/quantum_volume.py,sha256=pro7Lz-A5pPpT9UZ8wtXKTyhdWmTjQjRHt4BylDR-3U,36553
21
21
  iqm/benchmarks/randomized_benchmarking/__init__.py,sha256=IkKo-7zUChxZZd3my_csQCJfJfZNsV3-JTvdG8uqys4,734
22
22
  iqm/benchmarks/randomized_benchmarking/clifford_1q.pkl,sha256=yrmSJqhv7Lb1yqiqU9-2baqTljJPNmTUPQR-AH6GGfc,7800
@@ -29,7 +29,7 @@ iqm/benchmarks/randomized_benchmarking/interleaved_rb/__init__.py,sha256=sq6MgN_
29
29
  iqm/benchmarks/randomized_benchmarking/interleaved_rb/interleaved_rb.py,sha256=TaR1YFWBhOgm1hmEQzuwLYpp0yl0Xpuo3jAT6YhiXpc,28471
30
30
  iqm/benchmarks/randomized_benchmarking/mirror_rb/__init__.py,sha256=ZekEqI_89nXzGO1vjM-b5Uwwicy59M4fYHXfA-f0MIg,674
31
31
  iqm/benchmarks/randomized_benchmarking/mirror_rb/mirror_rb.py,sha256=_xdp8XLPcZyuqy7Xz8-K8H7zjgRo9ZxFiDgCXE72gaE,34997
32
- iqm_benchmarks-2.29.dist-info/licenses/LICENSE,sha256=2Ncb40-hqkTil78RPv3-YiJfKaJ8te9USJgliKqIdSY,11558
32
+ iqm_benchmarks-2.30.dist-info/licenses/LICENSE,sha256=2Ncb40-hqkTil78RPv3-YiJfKaJ8te9USJgliKqIdSY,11558
33
33
  mGST/LICENSE,sha256=TtHNq55cUcbglb7uhVudeBLUh_qPdUoAEvU0BBwFz-k,1098
34
34
  mGST/README.md,sha256=v_5kw253csHF4-RfE-44KqFmBXIsSMRmOtN0AUPrRxE,5050
35
35
  mGST/additional_fns.py,sha256=_SEJ10FRNM7_CroysT8hCLZTfpm6ZhEIDCY5zPTnhjo,31390
@@ -40,7 +40,7 @@ mGST/optimization.py,sha256=YHwkzIkYvsZOPjclR-BCQWh24jeqjuXp0BB0WX5Lwow,10559
40
40
  mGST/qiskit_interface.py,sha256=ajx6Zn5FnrX_T7tMP8xnBLyG4c2ddFRm0Fu2_3r1t30,10118
41
41
  mGST/reporting/figure_gen.py,sha256=6Xd8vwfy09hLY1YbJY6TRevuMsQSU4MsWqemly3ZO0I,12970
42
42
  mGST/reporting/reporting.py,sha256=B8NWfpZrrSmyH7lwZxd0EbZMYLsAGK1YsHRB4D5qXH4,26002
43
- iqm_benchmarks-2.29.dist-info/METADATA,sha256=SY72V4WZ3XtM8E7x5jYmTn-7lScCOjbwd1he-TFOzuo,10710
44
- iqm_benchmarks-2.29.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
45
- iqm_benchmarks-2.29.dist-info/top_level.txt,sha256=3G23Z-1LGf-IOzTCUl6QwWqiQ3USz25Zt90Ihq192to,9
46
- iqm_benchmarks-2.29.dist-info/RECORD,,
43
+ iqm_benchmarks-2.30.dist-info/METADATA,sha256=GqWud1_3cmWLoX17dQSHSp4SfZNFsPHTO0C0ptkeuT4,10710
44
+ iqm_benchmarks-2.30.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
45
+ iqm_benchmarks-2.30.dist-info/top_level.txt,sha256=3G23Z-1LGf-IOzTCUl6QwWqiQ3USz25Zt90Ihq192to,9
46
+ iqm_benchmarks-2.30.dist-info/RECORD,,