Skip to main content
QUICK REVIEW

[Paper Review] Using Reinforcement Learning to find Efficient Qubit Routing Policies for Deployment in Near-term Quantum Computers

Steven Herbert, Akash Sengupta|arXiv (Cornell University)|Dec 30, 2018
Quantum Computing Algorithms and ArchitectureComputer Science14 citations
TL;DR

This paper proposes a reinforcement learning (RL) framework with a combinatorial action space to discover optimal qubit routing policies for near-term quantum computers, where swap gates are used to enable two-qubit interactions on limited connectivity architectures. The method outperforms sorting networks by minimizing depth overhead, with numerical results showing improved quantum circuit efficiency.

ABSTRACT

This paper addresses the problem of qubit routing in first-generation and other near-term quantum computers. In particular, it is asserted that the qubit routing problem can be formulated as a reinforcement learning (RL) problem, and that this is sufficient, in principle, to discover the optimal qubit routing policy for any given quantum computer architecture. In order to achieve this, it is necessary to alter the conventional RL framework to allow combinatorial action space, and this represents a second contribution of this paper, which is expected to find additional application, beyond the qubit routing problem addressed herein. Numerical results are included demonstrating the advantage of the RL-trained qubit routing policy over using a sorting network.

Motivation & Objective

  • To address the challenge of qubit routing in near-term quantum computers with limited qubit connectivity, which increases circuit depth due to required swap operations.
  • To formulate the qubit routing problem as a reinforcement learning (RL) problem, enabling automated discovery of efficient routing policies.
  • To extend the conventional RL framework to handle combinatorial action spaces—specifically, the selection of multiple non-overlapping swap gates simultaneously—thereby enabling optimal routing decisions.
  • To demonstrate that the proposed RL framework can, in principle, discover any optimal routing policy, making it a general-purpose solution for diverse quantum architectures.
  • To explore the potential of using RL-trained agents to generate supervised fine-tuning data for faster inference models, enabling direct state-to-action mapping.

Proposed method

  • The RL agent operates in a state space defined by the current qubit layout and the current layer of the quantum circuit, with the action space consisting of all valid, non-overlapping swap gate combinations on the interaction graph.
  • The state representation is extended to include a truncated portion of the future quantum circuit (e.g., the next few layers), enabling the agent to make decisions based on long-term interaction patterns rather than just immediate rewards.
  • A deep Q-network (DQN) is used to approximate the Q-value function, with the network trained using experience replay and target networks to stabilize learning.
  • The reward function is designed to penalize circuit depth increase, encouraging minimal depth overhead, with the long-term reward shaped by future interactions.
  • The action selection process accounts for combinatorial actions—simultaneous swaps on disjoint edges—by treating the action space as a set of valid swap configurations rather than individual swaps.
  • The framework is evaluated on benchmark quantum circuits, comparing depth overhead and quantum volume against sorting network-based routing.

Experimental results

Research questions

  • RQ1Can reinforcement learning with a combinatorial action space effectively discover low-depth qubit routing policies for near-term quantum computers with limited connectivity?
  • RQ2How does incorporating future circuit information into the state representation affect the quality of routing decisions compared to reactive, immediate-reward-based methods?
  • RQ3To what extent can the proposed RL framework discover and outperform existing routing heuristics, such as sorting networks, in terms of depth overhead?
  • RQ4Is the RL framework generalizable across different quantum computer architectures, or is it limited to specific interaction graph topologies?
  • RQ5Can RL-trained agents be used to generate labeled data for supervised fine-tuning, enabling faster inference via direct state-to-combination-action mapping?

Key findings

  • The RL-based routing policy significantly reduces circuit depth overhead compared to sorting network-based routing, demonstrating improved efficiency in executing quantum circuits.
  • Including a truncated future circuit in the state vector enables the agent to make decisions that consider long-term interaction patterns, leading to better routing choices than those based solely on current-layer interactions.
  • The proposed RL framework with combinatorial action space is capable of discovering optimal routing policies in principle, as it fully captures the qubit routing problem’s action space and constraints.
  • Numerical results confirm that the RL-trained policy achieves lower depth overhead than baseline methods, which directly translates to higher quantum volume and longer viable computation times.
  • The framework enables the generation of labeled data (state-action pairs) from RL training, which can be used to train a separate supervised model for faster inference, suggesting a path toward real-time deployment.
  • The method is general and applicable to any quantum architecture with a defined interaction graph, making it a scalable solution for diverse near-term quantum hardware platforms.

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.