Optimal Qubit Assignment and Routing via Integer Programming

We consider the problem of mapping a logical quantum circuit onto a given hardware with limited two-qubit connectivity. We model this problem as an integer linear program, using a network flow formulation with binary variables that includes the initial allocation of qubits and their routing. We consider several cost functions: an approximation of the fidelity of the circuit, its total depth, and a measure of cross-talk, all of which can be incorporated in the model. Numerical experiments on synthetic data and different hardware topologies indicate that the error rate and depth can be optimized simultaneously without significant loss. We test our algorithm on a large number of quantum volume circuits, optimizing for error rate and depth; our algorithm significantly reduces the number of CNOTs compared to Qiskit’s default transpiler SABRE [13], and produces circuits that, when executed on hardware, exhibit higher fidelity.

[1]  Markus Brink,et al.  Demonstration of quantum volume 64 on a superconducting quantum computing system , 2020, Quantum Science and Technology.

[2]  William J. Cook,et al.  The Traveling Salesman Problem: A Computational Study , 2007 .

[3]  R. van Houte,et al.  Mathematical formulation of quantum circuit design problems in networks of quantum computers , 2020, Quantum Inf. Process..

[4]  Dmitri Maslov,et al.  Quantum Circuit Placement , 2008, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[5]  Gushu Li,et al.  Tackling the Qubit Mapping Problem for NISQ-Era Quantum Devices , 2018, ASPLOS.

[6]  Scott Aaronson,et al.  Complexity-Theoretic Foundations of Quantum Supremacy Experiments , 2016, CCC.

[7]  Frank Phillipson,et al.  A polynomial size model with implicit SWAP gate counting for exact qubit reordering , 2020, ICCS.

[8]  Pengcheng Zhu,et al.  An exact qubit allocation approach for NISQ architectures , 2020, Quantum Information Processing.

[9]  Fernando Magno Quintão Pereira,et al.  Qubit allocation , 2018, CGO.

[10]  Shaohan Hu,et al.  Clifford Circuit Optimization with Templates and Symbolic Pauli Gates , 2021, Quantum.

[11]  Andrew M. Childs,et al.  Nearly optimal time-independent reversal of a spin chain , 2020, Physical Review Research.

[12]  M. Horodecki,et al.  General teleportation channel, singlet fraction and quasi-distillation , 1998, quant-ph/9807091.

[13]  Margaret Martonosi,et al.  Software Mitigation of Crosstalk on Noisy Intermediate-Scale Quantum Computers , 2019, ASPLOS.

[14]  Andrew W. Cross,et al.  Validating quantum computers using randomized model circuits , 2018, Physical Review A.

[15]  Anupam Chattopadhyay,et al.  Depth-Optimal Quantum Circuit Placement for Arbitrary Topologies , 2017, ArXiv.

[16]  Andrew M. Childs,et al.  Quantum routing with fast reversals , 2021, Quantum.