iqm-benchmarks 2.45__tar.gz → 2.46__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.
Files changed (112) hide show
  1. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/CHANGELOG.rst +4 -0
  2. {iqm_benchmarks-2.45/src/iqm_benchmarks.egg-info → iqm_benchmarks-2.46}/PKG-INFO +1 -1
  3. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/optimization/qscore.py +5 -4
  4. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46/src/iqm_benchmarks.egg-info}/PKG-INFO +1 -1
  5. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/.github/workflows/main.yml +0 -0
  6. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/.github/workflows/publish.yml +0 -0
  7. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/.github/workflows/tag_and_release.yml +0 -0
  8. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/.gitignore +0 -0
  9. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/LICENSE +0 -0
  10. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/MANIFEST.in +0 -0
  11. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/README.md +0 -0
  12. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/benchmark_runner.py +0 -0
  13. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docbuild +0 -0
  14. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/API.rst +0 -0
  15. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/Makefile +0 -0
  16. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/_static/images/favicon.ico +0 -0
  17. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/_static/images/logo.png +0 -0
  18. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/_templates/autosummary-class-template.rst +0 -0
  19. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/_templates/autosummary-module-template.rst +0 -0
  20. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/changelog.rst +0 -0
  21. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/conf.py +0 -0
  22. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/development/development.rst +0 -0
  23. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/development/generate_2qubit_cliffords.ipynb +0 -0
  24. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/development/how_to_make_your_own_benchmark.ipynb +0 -0
  25. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/devices/devices.rst +0 -0
  26. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/devices/spark.ipynb +0 -0
  27. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/devices/star.ipynb +0 -0
  28. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_clifford_rb.ipynb +0 -0
  29. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_clops.ipynb +0 -0
  30. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_coherence.ipynb +0 -0
  31. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_eplg.ipynb +0 -0
  32. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_experiment_all.ipynb +0 -0
  33. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_ghz.ipynb +0 -0
  34. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_graphstate.ipynb +0 -0
  35. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_gst.ipynb +0 -0
  36. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_interleaved_rb.ipynb +0 -0
  37. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_mirror_rb.ipynb +0 -0
  38. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_qscore.ipynb +0 -0
  39. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/example_quantum_volume.ipynb +0 -0
  40. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/examples/examples.rst +0 -0
  41. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/index.rst +0 -0
  42. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/license.rst +0 -0
  43. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/docs/readme.md +0 -0
  44. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/format +0 -0
  45. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/pyproject.toml +0 -0
  46. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/requirements.txt +0 -0
  47. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/scheduled_experiments/adonis/__init__.py +0 -0
  48. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/scheduled_experiments/adonis/weekly.py +0 -0
  49. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/setup.cfg +0 -0
  50. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/__init__.py +0 -0
  51. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/benchmark.py +0 -0
  52. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/benchmark_definition.py +0 -0
  53. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/circuit_containers.py +0 -0
  54. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/coherence/__init__.py +0 -0
  55. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/coherence/coherence.py +0 -0
  56. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/compressive_gst/__init__.py +0 -0
  57. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/compressive_gst/compressive_gst.py +0 -0
  58. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/compressive_gst/gst_analysis.py +0 -0
  59. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/entanglement/__init__.py +0 -0
  60. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/entanglement/ghz.py +0 -0
  61. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/entanglement/graph_states.py +0 -0
  62. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/logging_config.py +0 -0
  63. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/optimization/__init__.py +0 -0
  64. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/quantum_volume/__init__.py +0 -0
  65. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/quantum_volume/clops.py +0 -0
  66. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/quantum_volume/quantum_volume.py +0 -0
  67. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/__init__.py +0 -0
  68. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/clifford_1q.pkl +0 -0
  69. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/clifford_2q.pkl +0 -0
  70. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/clifford_rb/__init__.py +0 -0
  71. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/clifford_rb/clifford_rb.py +0 -0
  72. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/direct_rb/__init__.py +0 -0
  73. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/direct_rb/direct_rb.py +0 -0
  74. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/eplg/__init__.py +0 -0
  75. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/eplg/eplg.py +0 -0
  76. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/interleaved_rb/__init__.py +0 -0
  77. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/interleaved_rb/interleaved_rb.py +0 -0
  78. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/mirror_rb/__init__.py +0 -0
  79. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/mirror_rb/mirror_rb.py +0 -0
  80. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/multi_lmfit.py +0 -0
  81. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/randomized_benchmarking/randomized_benchmarking_common.py +0 -0
  82. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/readout_mitigation.py +0 -0
  83. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/utils.py +0 -0
  84. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/utils_plots.py +0 -0
  85. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm/benchmarks/utils_shadows.py +0 -0
  86. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm_benchmarks.egg-info/SOURCES.txt +0 -0
  87. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm_benchmarks.egg-info/dependency_links.txt +0 -0
  88. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm_benchmarks.egg-info/requires.txt +0 -0
  89. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/iqm_benchmarks.egg-info/top_level.txt +0 -0
  90. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/LICENSE +0 -0
  91. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/README.md +0 -0
  92. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/additional_fns.py +0 -0
  93. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/algorithm.py +0 -0
  94. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/compatibility.py +0 -0
  95. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/low_level_jit.py +0 -0
  96. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/optimization.py +0 -0
  97. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/qiskit_interface.py +0 -0
  98. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/reporting/figure_gen.py +0 -0
  99. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/src/mGST/reporting/reporting.py +0 -0
  100. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tag-from-pipeline.sh +0 -0
  101. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/test +0 -0
  102. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/test_coherence.py +0 -0
  103. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/test_ghz.py +0 -0
  104. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/test_graph_states.py +0 -0
  105. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/test_gst.py +0 -0
  106. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/test_qscore.py +0 -0
  107. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/test_qv.py +0 -0
  108. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/test_rb.py +0 -0
  109. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/unit/test_backend_transpilation.py +0 -0
  110. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/unit/test_benchmark_circuit.py +0 -0
  111. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/tests/unit/test_submit_execute.py +0 -0
  112. {iqm_benchmarks-2.45 → iqm_benchmarks-2.46}/update-requirements.py +0 -0
@@ -2,6 +2,10 @@
2
2
  Changelog
3
3
  =========
4
4
 
5
+ Version 2.46
6
+ ============
7
+ * Bug fixes encorporated for Q-score benchmark.
8
+
5
9
  Version 2.45
6
10
  ============
7
11
  * GST overhaul:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iqm-benchmarks
3
- Version: 2.45
3
+ Version: 2.46
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
@@ -436,12 +436,11 @@ def qscore_analysis(run: BenchmarkRunResult) -> BenchmarkAnalysisResult:
436
436
  instances_with_edges = set(range(num_instances)) - set(no_edge_instances)
437
437
  num_instances_with_edges = len(instances_with_edges)
438
438
  execution_results = xrvariable_to_counts(dataset, num_nodes, num_instances_with_edges)
439
-
440
439
  for inst_idx, instance in enumerate(list(instances_with_edges)):
441
440
  cut_sizes = run_QAOA(
442
441
  execution_results[inst_idx],
443
442
  graph_list[instance],
444
- qubit_to_node_list[instance],
443
+ qubit_to_node_list[inst_idx],
445
444
  use_classically_optimized_angles,
446
445
  num_qaoa_layers,
447
446
  virtual_node_list[instance],
@@ -790,6 +789,7 @@ class QScoreBenchmark(Benchmark):
790
789
  qubit_to_node_list = []
791
790
  no_edge_instances = []
792
791
  qc_all = [] # all circuits, including those with no edges
792
+ start_seed = seed
793
793
  for instance in range(self.num_instances):
794
794
  qcvv_logger.debug(f"Executing graph {instance} with {num_nodes} nodes.")
795
795
  graph = nx.generators.erdos_renyi_graph(num_nodes, 0.5, seed=seed)
@@ -848,6 +848,7 @@ class QScoreBenchmark(Benchmark):
848
848
  qubit_to_node_list.append(qubit_to_node_copy)
849
849
  else:
850
850
  qc_all.append([])
851
+ no_edge_instances.append(instance)
851
852
 
852
853
  seed += 1
853
854
  qcvv_logger.debug(f"Solved the MaxCut on graph {instance+1}/{self.num_instances}.")
@@ -902,7 +903,7 @@ class QScoreBenchmark(Benchmark):
902
903
  {
903
904
  num_nodes: {
904
905
  "qubit_set": qubit_set_list,
905
- "seed_start": seed,
906
+ "seed_start": start_seed,
906
907
  "graph": graph_list,
907
908
  "virtual_nodes": virtual_node_list,
908
909
  "qubit_to_node": qubit_to_node_list,
@@ -914,7 +915,7 @@ class QScoreBenchmark(Benchmark):
914
915
 
915
916
  qcvv_logger.debug(f"Adding counts for the random graph for {num_nodes} nodes to the dataset")
916
917
  dataset, _ = add_counts_to_dataset(execution_results, str(num_nodes), dataset)
917
- self.untranspiled_circuits.circuit_groups.append(CircuitGroup(name=str(num_nodes), circuits=qc_all))
918
+ self.untranspiled_circuits.circuit_groups.append(CircuitGroup(name=str(num_nodes), circuits=qc_list))
918
919
  self.transpiled_circuits.circuit_groups.append(
919
920
  CircuitGroup(name=str(num_nodes), circuits=qc_transpiled_list)
920
921
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iqm-benchmarks
3
- Version: 2.45
3
+ Version: 2.46
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes