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.1.tar.gz (299.9 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.1-py3-none-any.whl (140.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ommx_quantum_benchmarks-0.0.1.tar.gz
Algorithm Hash digest
SHA256 578bc7bdb0d553811a51653e3fa9d9c58dcf7e174c7606b85792fcbe7d7074a9
MD5 0baa2f0478cb912e98de458053137499
BLAKE2b-256 22c40db2318caa21b355538b7385458859502ebaf611ca9915f7e6c3bfaf1a25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ommx_quantum_benchmarks-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d350d1580ad0e969560d8516ad26873acdd5d7a5009482b138b62b3e34bf531
MD5 4902f59739dcbe060273d16066a52f95
BLAKE2b-256 c018cf1cb832dd9a600222ae149c01520f502a9bb16747674205d3b19f4ca67c

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