Skip to main content
KetQat

Appearance

Definition · intermediate

Qubit mapping and routing problem

Given a circuit on logical qubits and a device connectivity graph, choose an initial placement of logical on physical qubits and insert SWAPs (or other movement) so that every two-qubit gate acts on adjacent physical qubits, minimising added gates, depth or error.

Established definitionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Let G=(V,E)G = (V, E) be the device's connectivity graph and let CC be a circuit on logical qubits QQ, ∣Q∣≤∣V∣\abs Q \le \abs V, whose two-qubit gates g1,…,gmg_1, \dots, g_m act on pairs {q,q′}⊆Q\{q, q'\} \subseteq Q and are partially ordered by the circuit's dependency DAG. A layout is an injective map π:Q→V\pi: Q \to V. A SWAP on an edge {u,v}∈E\{u, v\} \in E changes the layout by exchanging the logical qubits held at uu and vv.

A mapping and routing solution is an initial layout π0\pi_0 together with a sequence of gates, consisting of the gates of CC in an order compatible with the DAG interleaved with SWAPs, such that each two-qubit gate gg on {q,q′}\{q, q'\} is scheduled at a time when the current layout π\pi satisfies {π(q),π(q′)}∈E\{\pi(q), \pi(q')\} \in E. The resulting circuit implements CC followed by the permutation of qubits given by the final layout, which is tracked classically rather than undone. The objective is to minimise the number of SWAPs (each typically three CNOTs, by the SWAP identity), the depth, or an estimated success probability built from per-edge error rates.

The problem was posed for cloud superconducting processors as qubit allocation by Siraichi et al.. Widely used heuristics include the bidirectional search SABRE of Li, Ding and Xie, the A*-based layer-by-layer method of Zulehner, Paler and Wille, and the architecture-agnostic routing of Cowtan et al..

Holds when

  • Two-qubit gates only between adjacent physical qubits; single-qubit gates anywhere; data moved only by SWAP gates (other movement primitives change the cost model).
Builds on
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Marcos Yukio Siraichi, Vinícius Fernandes dos Santos, Caroline Collange, Fernando Magno Quintão Pereira (2018). Qubit allocation. Proceedings of the 2018 International Symposium on Code Generation and Optimization (CGO), 113-125. doi:10.1145/3168822
  2. Gushu Li, Yufei Ding, Yuan Xie (2019). Tackling the Qubit Mapping Problem for NISQ-Era Quantum Devices. Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 1001-1014. doi:10.1145/3297858.3304023arXiv:1809.02573
  3. Alexander Cowtan, Silas Dilkes, Ross Duncan, … Seyon Sivarajah (2019). On the qubit routing problem. 14th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2019), LIPIcs 135, 5. arXiv:1902.08091doi.org
  4. Alwin Zulehner, Alexandru Paler, Robert Wille (2019). An Efficient Methodology for Mapping Quantum Circuits to the IBM QX Architectures. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 38, 1226-1236. doi:10.1109/TCAD.2018.2846658arXiv:1712.04722

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Definition checked for internal consistency (injective layout, SWAP action, DAG-compatible schedule, final permutation tracked classically). Attributions compared: Siraichi et al., CGO 2018 (Crossref metadata; title Qubit allocation); SABRE as SWAP-based bidirectional heuristic search in Li, Ding and Xie, arXiv 1809.02573 abstract; A* search with layer-based partitioning in Zulehner, Paler and Wille, arXiv 1712.04722 full text (Sec. IV); architecture-agnostic routing in Cowtan et al., arXiv 1902.08091 abstract (LIPIcs TQC 2019). Crossref metadata of DOI entries match.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 1026e6d473b1e981. Source file knowledge/records/definition/qubit-mapping-and-routing.md in the content repository (readable there once it is public).