Skip to main content

OMMX Quantum Benchmarks

OMMX Quantum Benchmarks provides access to quantum optimization benchmark datasets in OMMX format for easier integration with quantum and classical optimization workflows.

Documentation: https://jij-inc.github.io/OmmxQuantumBenchmarks/

Quick Start

Installation

# Clone and install
pip install ommx-quantum-benchmarks

Basic Usage

from ommx_quantum_benchmarks.qoblib import Labs

# Load a dataset
dataset = Labs()
instance, solution = dataset("integer", "labs002")

# Evaluate the solution
evaluated = instance.evaluate(solution.state)
print(f"Objective: {evaluated.objective}, Feasible: {evaluated.feasible}")

You should get the following result.

Objective: 1.0, Feasible: True

The instance is ommx.v1.Instance. OMMX (Open Mathematical prograMming eXchange) is an open data format and SDK designed to simplify data exchange between software and people when applying mathematical optimization to real-world problems. For more details about OMMX, please have a look at the documentation: Documentation.

Datasets

Note that, although this repository currently contains only one dataset, QOBLIB, we are planning to add more datasets for quantum optimisation in OMMX format.

QOBLIB

QOBLIB stands for Quantum Optimization Benchmarking Library. In this repository we provide instance data given in the original QOBLIB repository in ommx format leveraging the power of Github Container Registry. Note that currently, this directory does not provide all datasets, such as the fourth dataset Steiner Tree Packing pointed out in issue 8. One can see which instance data are available accessing available_instances property.

Data Attribution

This project includes data derived from QOBLIB - Quantum Optimization Benchmarking Library:

  • Original authors: Thorsten Koch, David E. Bernal Neira, Ying Chen, Giorgio Cortiana, Daniel J. Egger, Raoul Heese, Narendra N. Hegade, Alejandro Gomez Cadavid, Rhea Huang, Toshinari Itoko, Thomas Kleinert, Pedro Maciel Xavier, Naeimeh Mohseni, Jhon A. Montanez-Barrera, Koji Nakano, Giacomo Nannicini, Corey O’Meara, Justin Pauckert, Manuel Proissl, Anurag Ramesh, Maximilian Schicker, Noriaki Shimada, Mitsuharu Takeori, Victor Valls, David Van Bulck, Stefan Woerner, and Christa Zoufal.
  • License: CC BY 4.0

The instance data has been converted to ommx format with additional modifications if needed.

Best-practice for solution reporting

Please refer to the original contribution guidelines for further information.

Best-practice for hardware implementation

A collection of guidelines to run quantum optimization algorithms with Qiskit on hardware that is based on superconducting qubits can be found here.

Metadata

Release files for ommx-quantum-benchmarks 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ommx-quantum-benchmarks 0.0.2
File Size Uploaded
ommx_quantum_benchmarks-0.0.2.tar.gz 265.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ommx-quantum-benchmarks 0.0.2
File Interpreter ABI Platform
ommx_quantum_benchmarks-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 406.0 kB

Release files / ommx_quantum_benchmarks-0.0.2.tar.gz

Download URL ommx_quantum_benchmarks-0.0.2.tar.gz
Size 265.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fc29142ae32b7c7d3a29dff3aae409c8195c1092c3af71a6c16fdfbe60d93d26
BLAKE2b-256 checksum
How to use checksums
3e07601927fa870037ad19250bfb817859f8729ade340da41ef7ecd250c822aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ommx_quantum_benchmarks-0.0.2-py3-none-any.whl

Download URL ommx_quantum_benchmarks-0.0.2-py3-none-any.whl
Size 141.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f71283f0839da54dd2f36916e63524844335f9fa931d6bcc60c8be58ba7b32bd
BLAKE2b-256 checksum
How to use checksums
6c2a3c67741cba180438b376ad9593da925962ee1ec121dd029bad11b68adb9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page