Revisiting the Mapping of Quantum Circuits: Entering the Multi-core Era

Pau Escofet, Anabel Ovide, Medina Bandic, Luise Prielinger, Hans van Someren, Sebastian Feld, Eduard Alarcon, Sergi Abadal, Carmen Almudever · DOI · OpenReview

TL;DR

This paper tackles the critical challenge of mapping quantum circuits onto multi-core quantum processors, a necessary step for scaling quantum computing. They introduce a novel algorithm, Hungarian Qubit Assignment (HQA), that significantly reduces non-local communications and execution time compared to existing methods, paving the way for more efficient large-scale quantum computation.

What Problem Does This Paper Address?

Quantum computing holds immense promise, but current processors are limited in qubit count. Scaling up to the millions of qubits needed for real-world problems requires moving beyond monolithic chip designs to modular, multi-core architectures. A key hurdle in these modular systems is "quantum circuit mapping" – essentially, figuring out how to best assign qubits and operations across different processing cores. This mapping is crucial because inter-core communication is far more expensive and error-prone than communication within a single core. Existing mapping algorithms often struggle with this, leading to inefficiencies. This paper aims to address this by developing and evaluating a more effective mapping strategy that minimizes these costly inter-core communications.

Methods

The authors propose a new algorithm called the Hungarian Qubit Assignment (HQA). Unlike previous methods that often treat mapping as a graph partitioning problem, HQA focuses directly on minimizing non-local communications by assigning "unfeasible" two-qubit gates (those that would require inter-core communication) to cores. They achieve this by constructing a cost matrix that considers factors like whether qubits are already in the target core and an "attraction force" that accounts for future qubit interactions. They also derive theoretical bounds for non-local communications in random quantum circuits, providing a benchmark for evaluating other algorithms.

Datasets

Not discussed in the paper. The authors use simulated quantum circuits for evaluation.

Key Insights and Ideas

  • Shifting the Paradigm: The core insight is moving from a graph-partitioning approach to directly assigning unfeasible two-qubit gates. This direct focus on the bottleneck (inter-core communication) proves more effective.
  • Theoretical Bounds Matter: Establishing theoretical upper and lower bounds for non-local communications provides a crucial yardstick to assess the optimality of mapping algorithms.
  • Future Interactions are Key: Considering how qubits will interact in future time-slices (the "attraction force") significantly improves mapping performance, reducing the need for costly future movements.
  • Naive is a Good Baseline: The "Naive Mapping Approach" serves as a useful baseline, demonstrating that even simple strategies can be competitive, and highlighting the room for improvement in more sophisticated methods.

Key Results

The HQA algorithm demonstrated significant improvements:

  • Reduced Non-local Communications: HQA achieved a 1.6x improvement in non-local communications compared to the best-performing state-of-the-art algorithm (FGP-rOEE).
  • Faster Execution Time: HQA offered a substantial speedup, reducing execution time by 4.9x on average compared to FGP-rOEE.
  • Scalability: The algorithm showed promising scalability across different architectures and circuit sizes, outperforming other methods in various scaling scenarios (virtual, weak, and strong scaling).
  • Theoretical Bounds: The derived theoretical bounds for random quantum circuits provided valuable insights into the optimal number of non-local communications.

Limitations and Future Work

The authors acknowledge that their approach focuses on modular architectures based on EPR pair generation and distribution. Other modular architectures might require different mapping algorithms and communication primitives. Future work could explore incorporating other communication primitives into the mapping algorithm to leverage all types of quantum communications. Additionally, investigating the impact of quantum error correction (QEC) and fault-tolerant techniques on runtime and compiler support for these modular architectures is highlighted as a crucial next step.

Summary updated

Abstract

Quantum computing represents a paradigm shift in computation, offering the potential to solve complex problems intractable for classical computers. Although current quantum processors already consist of a few hundred of qubits, their scalability remains a significant challenge. Modular quantum computing architectures have emerged as a promising approach to scale up quantum computing systems. This paper delves into the critical aspects of distributed multi-core quantum computing, focusing on quantum circuit mapping, a fundamental task to successfully execute quantum algorithms across cores while minimizing inter-core communications. We derive the theoretical bounds on the number of non-local communications needed for random quantum circuits and introduce the Hungarian Qubit Assignment (HQA) algorithm, a multi-core mapping algorithm designed to optimize qubit assignments to cores with the aim of reducing inter-core communications. Our exhaustive evaluation of HQA against state-of-the-art circuit mapping algorithms for modular architectures reveals a $4.9\times$ and $1.6\times$ improvement in terms of execution time and non-local communications, respectively, compared to the best performing algorithm. HQA emerges as a very promising scalable approach for mapping quantum circuits into multi-core architectures, positioning it as a valuable tool for harnessing the potential of quantum computing at scale.
BibTeX
@article{escofet2024revisiting,
  author = {Pau Escofet and Anabel Ovide and Medina Bandic and Luise Prielinger and Hans van Someren and Sebastian Feld and Eduard Alarcon and Sergi Abadal and Carmen Almudever},
  title = {{Revisiting the Mapping of Quantum Circuits: Entering the Multi-core Era}},
  journal = {ACM Transactions on Quantum Computing},
  year = {2024},
  doi = {10.1145/3655029},
}

Loading related content...

Figure