Skip to main content
QUICK REVIEW

[Paper Review] A QUBO Formulation for Qubit Allocation

Bryan Dury, Olivia Di Matteo|arXiv (Cornell University)|Aug 31, 2020
Quantum Computing Algorithms and ArchitectureComputer Science8 references9 citations
TL;DR

This paper formulates the quantum qubit allocation problem as a Quadratic Unconstrained Binary Optimization (QUBO) problem and solves it using simulated annealing, achieving improved circuit depth and reduced CX gate counts in over 50% of benchmark circuits compared to Qiskit and t|ket⟩. The method enables flexible cost-function design and scalable generation of high-quality initial allocations for NISQ-era devices with 50–100 qubits.

ABSTRACT

To run an algorithm on a quantum computer, one must choose an assignment from logical qubits in a circuit to physical qubits on quantum hardware. This task of initial qubit placement, or qubit allocation, is especially important on present-day quantum computers which have a limited number of qubits, connectivity constraints, and varying gate fidelities. In this work we formulate and implement the qubit placement problem as a quadratic, unconstrained binary optimization (QUBO) problem and solve it using simulated annealing to obtain a spectrum of initial placements. Compared to contemporary allocation methods available in t|ket$ angle $ and Qiskit, the QUBO method yields allocations with improved circuit depth for $>$50% of a large set of benchmark circuits, with many also requiring fewer CX gates.

Motivation & Objective

  • To address the NP-complete qubit allocation problem in NISQ-era quantum hardware with limited connectivity and varying gate fidelities.
  • To develop a flexible, scalable initial placement method that can incorporate diverse hardware metrics such as error rates and connectivity.
  • To improve circuit fidelity and reduce depth by formulating qubit allocation as a QUBO problem solvable via simulated annealing.
  • To enable efficient sampling of thousands of high-quality allocations for analysis and optimization.

Proposed method

  • Formulates qubit allocation as a QUBO problem using binary variables $ x_{ij} $ indicating whether logical qubit $ i $ is assigned to physical qubit $ j $.
  • Defines quadratic and linear coefficients $ Q_{ijkl} $ and $ b_{ij} $ to encode gate fidelity, connectivity, and operation count metrics.
  • Imposes constraints via penalty terms in the QUBO energy function to ensure each logical qubit is assigned to exactly one physical qubit.
  • Employs simulated annealing from the neal library to sample thousands of solutions efficiently, with default hyperparameters used in evaluation.
  • Uses hardware calibration data from IBM Quantum to inform coefficients, enabling realistic fidelity modeling.
  • Generates initial allocations without further circuit optimization, focusing solely on placement quality.

Experimental results

Research questions

  • RQ1Can a QUBO formulation with simulated annealing produce better initial qubit allocations than existing tools like Qiskit and t|ket⟩ in terms of circuit depth and CX gate count?
  • RQ2How does the flexibility of the QUBO cost function enable optimization for diverse hardware metrics such as error rates and connectivity?
  • RQ3What is the impact of increasing hardware size (e.g., 53-qubit Sycamore) on the ability of the QUBO method to find optimal allocations?
  • RQ4How do different numbers of simulated annealing samples affect allocation quality on larger hardware graphs?
  • RQ5To what extent do circuit composition and two-qubit gate distribution influence the performance of initial allocation methods?

Key findings

  • The QUBO method achieved improved circuit depth for more than 50% of a large set of benchmark circuits compared to Qiskit and t|ket⟩.
  • Many circuits using QUBO allocations required fewer CX gates, indicating better connectivity-aware placement.
  • The method generated 1,000 allocations in 30 minutes on a 53-qubit device (2 seconds per allocation), demonstrating scalability.
  • Performance varied significantly by hardware size, with larger devices (e.g., Sycamore) showing a larger gap from optimal depth than smaller ones (e.g., Aspen-4).
  • Simulated annealing with default settings produced high-quality solutions, but increasing sample count may improve results on larger hardware.
  • The method's flexibility allows integration of various metrics—such as success probability or gate fidelity—into the cost function, enabling targeted optimization.

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.