Skip to main content
QUICK REVIEW

[Paper Review] QUBO.jl: A Julia Ecosystem for Quadratic Unconstrained Binary Optimization

Pedro Maciel Xavier, Pedro Ripper|arXiv (Cornell University)|Jul 5, 2023
Quantum Computing Algorithms and ArchitectureComputer Science6 citations
TL;DR

QUBO.jl is a unified Julia ecosystem that enables seamless modeling, reformulation, and hardware interfacing for Quadratic Unconstrained Binary Optimization (QUBO) problems. Built as a JuMP/MOI layer, it integrates ToQUBO.jl for reformulating mixed-integer programs into QUBO, QUBODrivers.jl for hardware acceleration (e.g., quantum annealers, simulated bifurcation machines), and QUBOTools.jl for file format conversion—enabling end-to-end workflow support for quantum and classical solvers with improved usability and performance.

ABSTRACT

We present QUBO.jl, an end-to-end Julia package for working with QUBO (Quadratic Unconstrained Binary Optimization) instances. This tool aims to convert a broad range of JuMP problems for straightforward application in many physics and physics-inspired solution methods whose standard optimization form is equivalent to the QUBO. These methods include quantum annealing, quantum gate-circuit optimization algorithms (Quantum Optimization Alternating Ansatz, Variational Quantum Eigensolver), other hardware-accelerated platforms, such as Coherent Ising Machines and Simulated Bifurcation Machines, and more traditional methods such as simulated annealing. Besides working with reformulations, QUBO.jl allows its users to interface with the aforementioned hardware, sending QUBO models in various file formats and retrieving results for subsequent analysis. QUBO.jl was written as a JuMP / MathOptInterface (MOI) layer that automatically maps between the input and output frames, thus providing a smooth modeling experience.

Motivation & Objective

  • To address the growing need for accessible QUBO tooling in quantum and hybrid computing by providing a unified, user-friendly interface for operations researchers and developers.
  • To bridge the gap between traditional optimization modeling (via JuMP) and emerging hardware accelerators such as quantum annealers and Ising machines.
  • To streamline the entire QUBO pipeline—from problem formulation to result analysis—by integrating reformulation, driver abstraction, and file format handling.
  • To support diverse encoding techniques (e.g., arithmetic progression encoding) that reduce coefficient magnitude and improve solver performance.
  • To establish a reproducible benchmarking framework for evaluating QUBO solvers across multiple platforms and problem instances.

Proposed method

  • The framework is implemented as a JuMP/MOI layer that automatically maps standard optimization models into QUBO form, enabling a smooth modeling experience for users familiar with Julia’s optimization syntax.
  • ToQUBO.jl performs exact reformulations of nonlinear and mixed-integer programs into QUBO via variable encoding techniques, including a novel arithmetic progression encoding that bounds coefficient size.
  • QUBODrivers.jl abstracts hardware interfaces, allowing users to submit QUBO instances to diverse solvers (e.g., D-Wave, Simulated Bifurcation, Qiskit, OpenQAOA) using standardized input/output formats.
  • QUBOTools.jl handles conversion between multiple QUBO file formats (e.g., .qubo, .qbsf, .qbsolv) and provides utilities such as graphing recipes and solution pool analysis.
  • The system supports multiple variable encoding strategies, including unary, binary, and the proposed arithmetic progression encoding, with performance trade-offs analyzed in benchmarks.
  • Benchmarking is conducted using a standardized environment (Linux, Julia 1.9.0, Intel Xeon E5-2630 v4) to compare ToQUBO.jl against PyQUBO, qubovert, OpenQAOA, and other tools on reformulation speed and coefficient conditioning.

Experimental results

Research questions

  • RQ1How can a unified Julia-based ecosystem streamline the transition from general optimization models to QUBO-formulated problems suitable for quantum and classical hardware accelerators?
  • RQ2What is the impact of different variable encoding techniques—particularly arithmetic progression encoding—on coefficient conditioning and solver performance in QUBO reformulation?
  • RQ3How does the performance of ToQUBO.jl compare to existing tools like PyQUBO, qubovert, and OpenQAOA in terms of reformulation speed and numerical stability?
  • RQ4To what extent can a single interface (via JuMP/MOI) abstract the complexity of interfacing with diverse QUBO solvers, including quantum annealers and Ising machines?
  • RQ5What role can standardized benchmarking and file format support play in enabling reproducible evaluation of QUBO solvers across platforms?

Key findings

  • The arithmetic progression encoding proposed in the paper achieves bounded coefficients of size O(√n), offering a favorable trade-off between variable count and coefficient magnitude compared to standard binary or unary encodings.
  • Benchmark results show that ToQUBO.jl outperforms PyQUBO and qubovert in reformulation speed on the tested hardware, with consistent performance across multiple problem types.
  • The integration with JuMP via MOI enables a seamless modeling experience, allowing users to define problems in a high-level, human-readable syntax without low-level QUBO manipulation.
  • QUBODrivers.jl successfully abstracts hardware-specific interfaces, enabling transparent submission of QUBO instances to solvers such as D-Wave, Qiskit, OpenQAOA, and Amplify.
  • The ecosystem supports multiple file formats through QUBOTools.jl, enhancing interoperability and enabling standardized input/output workflows across diverse platforms.
  • The benchmarking environment, detailed in Appendix 11, ensures reproducibility and provides a foundation for future tracking of QUBO solver evolution and performance comparison.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.