Skip to main content
QUICK REVIEW

[Paper Review] An Efficient Methodology for Mapping Quantum Circuits to the IBM QX Architectures

Alwin Zulehner, Alexandru Paler|arXiv (Cornell University)|Dec 13, 2017
Quantum Computing Algorithms and ArchitectureComputer Science7 citations
TL;DR

This paper proposes an efficient, A*-based methodology for mapping quantum circuits to IBM QX architectures, leveraging depth-based partitioning, look-ahead optimization, and dynamic qubit mapping initialization. It outperforms IBM’s native QISKit mapping by reducing gate count by 27.5% on average and achieving mappings in seconds versus IBM’s timeout in 10 out of 60 cases.

ABSTRACT

In the past years, quantum computers more and more have evolved from an academic idea to an upcoming reality. IBM's project IBM Q can be seen as evidence of this progress. Launched in March 2017 with the goal to provide access to quantum computers for a broad audience, this allowed users to conduct quantum experiments on a 5-qubit and, since June 2017, also on a 16-qubit quantum computer (called IBM QX2 and IBM QX3, respectively). Revised versions of these 5-qubit and 16-qubit quantum computers (named IBM QX4 and IBM QX5, respectively) are available since September 2017. In order to use these, the desired quantum functionality (e.g. provided in terms of a quantum circuit) has to be properly mapped so that the underlying physical constraints are satisfied - a complex task. This demands solutions to automatically and efficiently conduct this mapping process. In this paper, we propose a methodology which addresses this problem, i.e. maps the given quantum functionality to a realization which satisfies all constraints given by the architecture and, at the same time, keeps the overhead in terms of additionally required quantum gates minimal. The proposed methodology is generic, can easily be configured for similar future architectures, and is fully integrated into IBM's SDK. Experimental evaluations show that the proposed approach clearly outperforms IBM's own mapping solution. In fact, for many quantum circuits, the proposed approach determines a mapping to the IBM architecture within minutes, while IBM's solution suffers from long runtimes and runs into a timeout of 1 hour in several cases. As an additional benefit, the proposed approach yields mapped circuits with smaller costs (i.e. fewer additional gates are required). All implementations of the proposed methodology is publicly available at http://iic.jku.at/eda/research/ibm_qx_mapping.

Motivation & Objective

  • To address the challenge of mapping quantum circuits to IBM QX architectures under physical constraints, such as limited CNOT gate connectivity.
  • To reduce the overhead of additional gates (e.g., SWAPs) introduced during mapping, which degrade circuit fidelity and runtime.
  • To develop a scalable, generic, and efficient mapping solution that outperforms existing tools like IBM’s QISKit in both speed and circuit quality.
  • To integrate the proposed methodology into IBM’s QISKit SDK for realistic performance evaluation and broader adoption.

Proposed method

  • The method employs depth-based partitioning to divide the quantum circuit into manageable segments, reducing the search space for mapping.
  • It uses the A* search algorithm with a custom heuristic to efficiently explore valid qubit mappings while minimizing additional gate count.
  • A look-ahead scheme predicts future constraints and guides the search toward more promising mappings early in the process.
  • The initial qubit mapping is not fixed at the start but dynamically determined during the search, improving solution quality and adaptability.
  • The approach integrates seamlessly with IBM’s QISKit SDK, enabling consistent comparison with IBM’s native mapping and post-mapping optimizations.
  • The framework is generic and can be adapted to future IBM QX-like architectures with similar connectivity constraints.

Experimental results

Research questions

  • RQ1Can a systematic, search-based approach outperform random or heuristic-based mapping in terms of gate count and runtime for IBM QX architectures?
  • RQ2How does dynamic qubit mapping initialization affect the quality and efficiency of quantum circuit mapping?
  • RQ3To what extent can depth-based partitioning and look-ahead techniques reduce the search space and improve mapping scalability?
  • RQ4Can the proposed methodology be effectively integrated into existing quantum software stacks like QISKit while maintaining compatibility and performance?

Key findings

  • The proposed methodology mapped all 60 benchmark circuits to IBM QX5 within seconds, while IBM’s QISKit solution timed out in 10 cases after one hour.
  • On average, the proposed method reduced gate count by 27.5% compared to IBM’s average and by 24.0% compared to IBM’s best (minimum) result.
  • The method achieved an average reduction of 22.0% in circuit depth compared to IBM’s average and 18.3% compared to IBM’s best result.
  • The approach demonstrated significant speed improvements, with runtimes consistently under one minute, whereas IBM’s solution often exceeded the one-hour timeout.
  • The integration into QISKit enabled fair comparison, confirming that improvements stem from the mapping logic, not post-processing optimizations.
  • The methodology is generic and reusable for future IBM QX-like architectures with similar connectivity constraints.

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.