iqm-benchmarks 1.4__tar.gz → 1.6__tar.gz

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.

Files changed (72) hide show
  1. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/CHANGELOG.rst +10 -0
  2. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/PKG-INFO +3 -3
  3. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/pyproject.toml +2 -2
  4. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/clifford_rb/clifford_rb.py +3 -3
  5. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/interleaved_rb/interleaved_rb.py +3 -3
  6. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/mirror_rb/mirror_rb.py +3 -3
  7. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/randomized_benchmarking_common.py +7 -6
  8. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm_benchmarks.egg-info/PKG-INFO +3 -3
  9. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm_benchmarks.egg-info/requires.txt +2 -2
  10. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/.github/workflows/main.yml +0 -0
  11. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/.github/workflows/publish.yml +0 -0
  12. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/.github/workflows/tag_and_release.yml +0 -0
  13. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/.gitignore +0 -0
  14. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/LICENSE +0 -0
  15. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/README.md +0 -0
  16. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/benchmark_runner.py +0 -0
  17. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_clifford_rb.ipynb +0 -0
  18. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_clops.ipynb +0 -0
  19. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_experiment_all.ipynb +0 -0
  20. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_gst.ipynb +0 -0
  21. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_interleaved_rb.ipynb +0 -0
  22. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_mirror_rb.ipynb +0 -0
  23. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_qscore.ipynb +0 -0
  24. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/example_quantum_volume.ipynb +0 -0
  25. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/generate_2qubit_cliffords.ipynb +0 -0
  26. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/examples/how_to_make_your_own_benchmark.ipynb +0 -0
  27. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/scheduled_experiments/adonis/__init__.py +0 -0
  28. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/scheduled_experiments/adonis/weekly.py +0 -0
  29. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/setup.cfg +0 -0
  30. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/__init__.py +0 -0
  31. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/benchmark.py +0 -0
  32. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/benchmark_definition.py +0 -0
  33. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/benchmark_experiment.py +0 -0
  34. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/compressive_gst/__init__.py +0 -0
  35. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/compressive_gst/compressive_gst.py +0 -0
  36. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/entanglement/__init__.py +0 -0
  37. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/entanglement/ghz.py +0 -0
  38. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/logging_config.py +0 -0
  39. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/optimization/__init__.py +0 -0
  40. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/optimization/qscore.py +0 -0
  41. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/quantum_volume/__init__.py +0 -0
  42. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/quantum_volume/clops.py +0 -0
  43. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/quantum_volume/quantum_volume.py +0 -0
  44. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/__init__.py +0 -0
  45. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/clifford_1q.pkl +0 -0
  46. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/clifford_2q.pkl +0 -0
  47. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/clifford_rb/__init__.py +0 -0
  48. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/interleaved_rb/__init__.py +0 -0
  49. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/mirror_rb/__init__.py +0 -0
  50. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/randomized_benchmarking/multi_lmfit.py +0 -0
  51. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/readout_mitigation.py +0 -0
  52. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm/benchmarks/utils.py +0 -0
  53. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm_benchmarks.egg-info/SOURCES.txt +0 -0
  54. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm_benchmarks.egg-info/dependency_links.txt +0 -0
  55. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/iqm_benchmarks.egg-info/top_level.txt +0 -0
  56. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/LICENSE +0 -0
  57. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/README.md +0 -0
  58. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/additional_fns.py +0 -0
  59. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/algorithm.py +0 -0
  60. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/compatibility.py +0 -0
  61. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/low_level_jit.py +0 -0
  62. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/optimization.py +0 -0
  63. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/qiskit_interface.py +0 -0
  64. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/reporting/figure_gen.py +0 -0
  65. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/src/mGST/reporting/reporting.py +0 -0
  66. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/tag-from-pipeline.sh +0 -0
  67. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/tests/test_ghz.py +0 -0
  68. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/tests/test_gst.py +0 -0
  69. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/tests/test_qscore.py +0 -0
  70. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/tests/test_qv.py +0 -0
  71. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/tests/test_rb.py +0 -0
  72. {iqm_benchmarks-1.4 → iqm_benchmarks-1.6}/tox.ini +0 -0
@@ -2,12 +2,22 @@
2
2
  Changelog
3
3
  =========
4
4
 
5
+ Version 1.6
6
+ ===========
7
+ * Minor change in dependencies for compatibility.
8
+
9
+ Version 1.5
10
+ ===========
11
+ * fit results are no longer `BenchmarkObservation`, and instead are moved into the datasets.
12
+
5
13
  Version 1.4
6
14
  ===========
7
15
 
8
16
  * Renames:
17
+
9
18
  * AnalysisResult -> BenchmarkAnalysisResult
10
19
  * RunResult -> BenchmarkRunResult
20
+
11
21
  * Adds BenchmarkObservation class, and modifies BenchmarkAnalysisResult so observations now accepts a list[BenchmarkObservation].
12
22
  * Adds BenchmarkObservationIdentifier class.
13
23
  * Rebases RandomizedBenchmarking benchmarks, QuantumVolume, GHZ and CLOPS to use the new Observation class.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-benchmarks
3
- Version: 1.4
3
+ Version: 1.6
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
@@ -11,7 +11,7 @@ Classifier: Intended Audience :: Science/Research
11
11
  Requires-Python: >=3.11
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: lmfit==1.3.1
14
+ Requires-Dist: lmfit>=1.2
15
15
  Requires-Dist: matplotlib==3.9.0
16
16
  Requires-Dist: more-itertools==10.1.0
17
17
  Requires-Dist: mthree==2.6.3
@@ -22,7 +22,7 @@ Requires-Dist: qiskit-aer==0.13.3
22
22
  Requires-Dist: qiskit-iqm==15.1
23
23
  Requires-Dist: scikit-optimize==0.10.2
24
24
  Requires-Dist: tabulate==0.9.0
25
- Requires-Dist: uncertainties==3.2.1
25
+ Requires-Dist: uncertainties==3.2.2
26
26
  Requires-Dist: pycurl==7.45.3
27
27
  Requires-Dist: xarray==2024.6.0
28
28
  Requires-Dist: types-pycurl
@@ -27,7 +27,7 @@ classifiers = [
27
27
  ]
28
28
  requires-python = ">=3.11"
29
29
  dependencies = [
30
- "lmfit == 1.3.1",
30
+ "lmfit >= 1.2",
31
31
  "matplotlib == 3.9.0",
32
32
  "more-itertools == 10.1.0",
33
33
  "mthree == 2.6.3",
@@ -38,7 +38,7 @@ dependencies = [
38
38
  "qiskit-iqm == 15.1",
39
39
  "scikit-optimize == 0.10.2",
40
40
  "tabulate == 0.9.0",
41
- "uncertainties == 3.2.1",
41
+ "uncertainties == 3.2.2",
42
42
  "pycurl == 7.45.3",
43
43
  "xarray == 2024.6.0",
44
44
  "types-pycurl",
@@ -125,13 +125,13 @@ def clifford_rb_analysis(run: BenchmarkRunResult) -> BenchmarkAnalysisResult:
125
125
 
126
126
  processed_results = {
127
127
  "avg_gate_fidelity": {"value": fidelity.value, "uncertainty": fidelity.stderr},
128
- "decay_rate": {"value": popt["decay_rate"].value, "uncertainty": popt["decay_rate"].stderr},
129
- "fit_amplitude": {"value": popt["amplitude"].value, "uncertainty": popt["amplitude"].stderr},
130
- "fit_offset": {"value": popt["offset"].value, "uncertainty": popt["offset"].stderr},
131
128
  }
132
129
 
133
130
  dataset.attrs[qubits_idx].update(
134
131
  {
132
+ "decay_rate": {"value": popt["decay_rate"].value, "uncertainty": popt["decay_rate"].stderr},
133
+ "fit_amplitude": {"value": popt["amplitude"].value, "uncertainty": popt["amplitude"].stderr},
134
+ "fit_offset": {"value": popt["offset"].value, "uncertainty": popt["offset"].stderr},
135
135
  "fidelities": fidelities[str(qubits)],
136
136
  "avg_fidelities_nominal_values": average_fidelities,
137
137
  "avg_fidelities_stderr": stddevs_from_mean,
@@ -167,9 +167,6 @@ def interleaved_rb_analysis(run: BenchmarkRunResult) -> BenchmarkAnalysisResult:
167
167
 
168
168
  processed_results[rb_type] = {
169
169
  "avg_gate_fidelity": {"value": fidelity.value, "uncertainty": fidelity.stderr},
170
- "decay_rate": {"value": popt["decay_rate"].value, "uncertainty": popt["decay_rate"].stderr},
171
- "fit_amplitude": {"value": popt["amplitude"].value, "uncertainty": popt["amplitude"].stderr},
172
- "fit_offset": {"value": popt["offset"].value, "uncertainty": popt["offset"].stderr},
173
170
  }
174
171
 
175
172
  observations.extend(
@@ -187,6 +184,9 @@ def interleaved_rb_analysis(run: BenchmarkRunResult) -> BenchmarkAnalysisResult:
187
184
  dataset.attrs[qubits_idx].update(
188
185
  {
189
186
  rb_type: {
187
+ "decay_rate": {"value": popt["decay_rate"].value, "uncertainty": popt["decay_rate"].stderr},
188
+ "fit_amplitude": {"value": popt["amplitude"].value, "uncertainty": popt["amplitude"].stderr},
189
+ "fit_offset": {"value": popt["offset"].value, "uncertainty": popt["offset"].stderr},
190
190
  "fidelities": fidelities[str(qubits)][rb_type],
191
191
  "avg_fidelities_nominal_values": average_fidelities,
192
192
  "avg_fidelities_stderr": stddevs_from_mean,
@@ -508,13 +508,13 @@ def mrb_analysis(run: BenchmarkRunResult) -> BenchmarkAnalysisResult:
508
508
 
509
509
  processed_results = {
510
510
  "avg_gate_fidelity": {"value": fidelity.value, "uncertainty": fidelity.stderr},
511
- "decay_rate": {"value": popt["decay_rate"].value, "uncertainty": popt["decay_rate"].stderr},
512
- "fit_amplitude": {"value": popt["amplitude"].value, "uncertainty": popt["amplitude"].stderr},
513
- "fit_offset": {"value": popt["offset"].value, "uncertainty": popt["offset"].stderr},
514
511
  }
515
512
 
516
513
  dataset.attrs[qubits_idx].update(
517
514
  {
515
+ "decay_rate": {"value": popt["decay_rate"].value, "uncertainty": popt["decay_rate"].stderr},
516
+ "fit_amplitude": {"value": popt["amplitude"].value, "uncertainty": popt["amplitude"].stderr},
517
+ "fit_offset": {"value": popt["offset"].value, "uncertainty": popt["offset"].stderr},
518
518
  "polarizations": polarizations,
519
519
  "avg_polarization_nominal_values": average_polarizations,
520
520
  "avg_polatization_stderr": stddevs_from_mean,
@@ -614,13 +614,13 @@ def plot_rb_decay(
614
614
  str(q): observations[q_idx]["avg_gate_fidelity"]["uncertainty"] for q_idx, q in enumerate(qubits_array)
615
615
  }
616
616
  decay_rate[identifier] = {
617
- str(q): observations[q_idx]["decay_rate"]["value"] for q_idx, q in enumerate(qubits_array)
617
+ str(q): dataset.attrs[q_idx]["decay_rate"]["value"] for q_idx, q in enumerate(qubits_array)
618
618
  }
619
619
  offset[identifier] = {
620
- str(q): observations[q_idx]["fit_offset"]["value"] for q_idx, q in enumerate(qubits_array)
620
+ str(q): dataset.attrs[q_idx]["fit_offset"]["value"] for q_idx, q in enumerate(qubits_array)
621
621
  }
622
622
  amplitude[identifier] = {
623
- str(q): observations[q_idx]["fit_amplitude"]["value"] for q_idx, q in enumerate(qubits_array)
623
+ str(q): dataset.attrs[q_idx]["fit_amplitude"]["value"] for q_idx, q in enumerate(qubits_array)
624
624
  }
625
625
  else:
626
626
  rb_type_keys = list(observations[0].keys())
@@ -648,13 +648,14 @@ def plot_rb_decay(
648
648
  for q_idx, q in enumerate(qubits_array)
649
649
  }
650
650
  decay_rate[rb_type] = {
651
- str(q): observations[q_idx][rb_type]["decay_rate"]["value"] for q_idx, q in enumerate(qubits_array)
651
+ str(q): dataset.attrs[q_idx][rb_type]["decay_rate"]["value"] for q_idx, q in enumerate(qubits_array)
652
652
  }
653
+ print(dataset.attrs)
653
654
  offset[rb_type] = {
654
- str(q): observations[q_idx][rb_type]["fit_offset"]["value"] for q_idx, q in enumerate(qubits_array)
655
+ str(q): dataset.attrs[q_idx][rb_type]["fit_offset"]["value"] for q_idx, q in enumerate(qubits_array)
655
656
  }
656
657
  amplitude[rb_type] = {
657
- str(q): observations[q_idx][rb_type]["fit_amplitude"]["value"] for q_idx, q in enumerate(qubits_array)
658
+ str(q): dataset.attrs[q_idx][rb_type]["fit_amplitude"]["value"] for q_idx, q in enumerate(qubits_array)
658
659
  }
659
660
 
660
661
  for index_irb, key in enumerate(rb_type_keys):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-benchmarks
3
- Version: 1.4
3
+ Version: 1.6
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
@@ -11,7 +11,7 @@ Classifier: Intended Audience :: Science/Research
11
11
  Requires-Python: >=3.11
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: lmfit==1.3.1
14
+ Requires-Dist: lmfit>=1.2
15
15
  Requires-Dist: matplotlib==3.9.0
16
16
  Requires-Dist: more-itertools==10.1.0
17
17
  Requires-Dist: mthree==2.6.3
@@ -22,7 +22,7 @@ Requires-Dist: qiskit-aer==0.13.3
22
22
  Requires-Dist: qiskit-iqm==15.1
23
23
  Requires-Dist: scikit-optimize==0.10.2
24
24
  Requires-Dist: tabulate==0.9.0
25
- Requires-Dist: uncertainties==3.2.1
25
+ Requires-Dist: uncertainties==3.2.2
26
26
  Requires-Dist: pycurl==7.45.3
27
27
  Requires-Dist: xarray==2024.6.0
28
28
  Requires-Dist: types-pycurl
@@ -1,4 +1,4 @@
1
- lmfit==1.3.1
1
+ lmfit>=1.2
2
2
  matplotlib==3.9.0
3
3
  more-itertools==10.1.0
4
4
  mthree==2.6.3
@@ -9,7 +9,7 @@ qiskit-aer==0.13.3
9
9
  qiskit-iqm==15.1
10
10
  scikit-optimize==0.10.2
11
11
  tabulate==0.9.0
12
- uncertainties==3.2.1
12
+ uncertainties==3.2.2
13
13
  pycurl==7.45.3
14
14
  xarray==2024.6.0
15
15
  types-pycurl
File without changes
File without changes
File without changes
File without changes
File without changes