Skip to main content

Quantum Benchmark dataset in OMMX format

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ommx_quantum_benchmarks-0.0.2.tar.gz (265.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ommx_quantum_benchmarks-0.0.2-py3-none-any.whl (141.0 kB view details)

Uploaded Python 3

File details

Details for the file ommx_quantum_benchmarks-0.0.2.tar.gz.

File metadata

  • Download URL: ommx_quantum_benchmarks-0.0.2.tar.gz
  • Upload date:
  • Size: 265.0 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for ommx_quantum_benchmarks-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fc29142ae32b7c7d3a29dff3aae409c8195c1092c3af71a6c16fdfbe60d93d26
MD5 9a103c689c9a4b7139057dd2b21f7afd
BLAKE2b-256 3e07601927fa870037ad19250bfb817859f8729ade340da41ef7ecd250c822aa

See more details on using hashes here.

File details

Details for the file ommx_quantum_benchmarks-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ommx_quantum_benchmarks-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 141.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for ommx_quantum_benchmarks-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f71283f0839da54dd2f36916e63524844335f9fa931d6bcc60c8be58ba7b32bd
MD5 06cf417546483bd8ce8de8ac12ad1e9f
BLAKE2b-256 6c2a3c67741cba180438b376ad9593da925962ee1ec121dd029bad11b68adb9a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page