Quantum Circuit Compilation

Computationally expensive applications, including machine learning, chemical simulations, and financial modeling, are promising candidates for noisy intermediate scale quantum (NISQ) computers.

In these problems, one important challenge is mapping a quantum circuit onto NISQ hardware while satisfying physical constraints of an underlying quantum architecture.

Quantum circuit compilation (QCC) aims to generate feasible mappings such that a quantum circuit can be executed in a given hardware platform with acceptable confidence in outcomes. Physical constraints of a NISQ computer change frequently, requiring QCC process to be repeated often. When a circuit cannot directly be executed on a quantum hardware due to its physical limitations, it is necessary to modify the circuit by adding new quantum gates and auxiliary qubits, increasing its space and time complexity. An inefficient QCC may significantly increase error rate and circuit latency for even the simplest algorithms.

In this article, we present artificial intelligence (AI)-based and heuristic-based methods recently reported in the literature that attempt to address these QCC challenges. We group them based on underlying techniques that they implement, such as AI algorithms including genetic algorithms, genetic programming, ant colony optimization and AI planning, and heuristics methods employing greedy algorithms, satisfiability problem solvers, dynamic, and graph optimization techniques. We discuss performance of each QCC technique and evaluate its potential limitations.

FIGURE 1. Basic quantum gates and operations used for building a quantum circuit.

There are a large number of mappings to be considered for Implementing the Circuit shown in Fig. 4(a).

FIGURE 4. Grover search: (a) IR format, (b) NISQ circuit [blue boxes are cnot(p0, p1)], (c) circuit satisfying IBM Q16 constraints for M1 (swap is in red box), (d) combining consecutive single-qubits (orange boxes), (e) final circuit.

~

KUSYK, Janusz, SAEED, Samah M. and UYAR, Muharrem Umit, 2021. Survey on quantum circuit compilation for noisy intermediate-scale quantum computers: Artificial intelligence to heuristics. IEEE Transactions on Quantum Engineering. 2021. Vol. 2, p. 1–16. Available from: https://ieeexplore.ieee.org/abstract/document/9384317/ [Accessed 4 January 2024].