Table of Contents
Fetching ...

TANGO: A Robust Qubit Mapping Algorithm via Two-Stage Search and Bidirectional Look

Kang Xu, Yukun Wang, Dandan Li

TL;DR

TANGO tackles the qubit mapping problem on connectivity-constrained quantum devices by jointly optimizing gate count and circuit depth. It introduces a dual-factor initial mapping to better place qubits and a two-stage routing with a bidirectional-look SWAP strategy, prioritizing the number of executable gates while considering distance, depth, and potential gate cancellations. The approach, augmented with adaptive SWAP decompositions and circuit optimizations, achieves multi-objective improvements across benchmarks on IBM Q20 and Rochester architectures, including significant gate-count and depth reductions in small to large circuits. This yields more faithful quantum circuit execution on NISQ devices and demonstrates scalable, architecture-robust qubit mapping with practical runtime characteristics.

Abstract

Current quantum devices typically lack full qubit connectivity, making it difficult to directly execute logical circuits on quantum devices. This limitation necessitates quantum circuit mapping algorithms to insert SWAP gates, dynamically remapping logical qubits to physical qubits and transforming logical circuits into physical circuits that comply with device connectivity constraints. However, the insertion of SWAP gates increases both the gate count and circuit depth, ultimately reducing the fidelity of quantum algorithms. To achieve a balanced optimization of these two objectives, we propose the TANGO algorithm. By incorporating a layer-weight allocation strategy, the algorithm first formulates an evaluation function that balances the impact of qubit mapping on both mapped and unmapped nodes, thereby enhancing the quality of the initial mapping. Next, we design an innovative two-stage routing algorithm that prioritizes the number of executable gates as the primary evaluation metric while also considering quantum gate distance, circuit depth, and a novel bidirectional-look SWAP strategy, which optimizes SWAP gate selection in conjunction with preceding gates, improving the effectiveness of the mapping algorithm. Finally, by integrating advanced quantum gate optimization techniques, the algorithm's overall performance is further enhanced. Experimental results demonstrate that, compared to state-of-the-art methods, the proposed algorithm achieves multi-objective co-optimization of gate count and circuit depth across various benchmarks and quantum devices, exhibiting significant performance advantages.

TANGO: A Robust Qubit Mapping Algorithm via Two-Stage Search and Bidirectional Look

TL;DR

TANGO tackles the qubit mapping problem on connectivity-constrained quantum devices by jointly optimizing gate count and circuit depth. It introduces a dual-factor initial mapping to better place qubits and a two-stage routing with a bidirectional-look SWAP strategy, prioritizing the number of executable gates while considering distance, depth, and potential gate cancellations. The approach, augmented with adaptive SWAP decompositions and circuit optimizations, achieves multi-objective improvements across benchmarks on IBM Q20 and Rochester architectures, including significant gate-count and depth reductions in small to large circuits. This yields more faithful quantum circuit execution on NISQ devices and demonstrates scalable, architecture-robust qubit mapping with practical runtime characteristics.

Abstract

Current quantum devices typically lack full qubit connectivity, making it difficult to directly execute logical circuits on quantum devices. This limitation necessitates quantum circuit mapping algorithms to insert SWAP gates, dynamically remapping logical qubits to physical qubits and transforming logical circuits into physical circuits that comply with device connectivity constraints. However, the insertion of SWAP gates increases both the gate count and circuit depth, ultimately reducing the fidelity of quantum algorithms. To achieve a balanced optimization of these two objectives, we propose the TANGO algorithm. By incorporating a layer-weight allocation strategy, the algorithm first formulates an evaluation function that balances the impact of qubit mapping on both mapped and unmapped nodes, thereby enhancing the quality of the initial mapping. Next, we design an innovative two-stage routing algorithm that prioritizes the number of executable gates as the primary evaluation metric while also considering quantum gate distance, circuit depth, and a novel bidirectional-look SWAP strategy, which optimizes SWAP gate selection in conjunction with preceding gates, improving the effectiveness of the mapping algorithm. Finally, by integrating advanced quantum gate optimization techniques, the algorithm's overall performance is further enhanced. Experimental results demonstrate that, compared to state-of-the-art methods, the proposed algorithm achieves multi-objective co-optimization of gate count and circuit depth across various benchmarks and quantum devices, exhibiting significant performance advantages.

Paper Structure

This paper contains 15 sections, 13 equations, 12 figures, 4 tables.

Figures (12)

  • Figure 1: Basic quantum gates in quantum computing
  • Figure 2: The coupling graphs of real quantum devices
  • Figure 3: The basic initial mapping relationship and the two given strategies for inserting SWAP gates
  • Figure 4: The workflow of the two-stage routing algorithm for searching SWAP gates
  • Figure 5: An example of the motivation for the bidirectional SWAP gate search
  • ...and 7 more figures