Leveraging Machine Learning for Quantum Circuit Optimization

In the era of noisy, non-fault tolerant, quantum hardware, reducing the number of operations in quantum programs is essential to ensure computations produce meaningful results. Unitary synthesis is a particularly promising technique which uses non-linear numerical optimization tools paired with heuristic-guided tree search algorithms to produce resource efficient implementations of quantum algorithms. This report illustrates how unitary synthesis can be used to optimize quantum circuits with many qubits. The TopAS algorithm demonstrates how minimizing both operation count and interaction complexity before mapping can produce better circuit implementations than the state of the art. This report also presents several discoveries that enable the use of machine learning in accelerating unitary synthesis. Namely, a canonical representation of unitary matrices, and an argument for the learnability of mappings between a specific class of unitary matrices and parameterized quantum circuits are presented. The QSeed algorithm shows how machine learning can be leveraged to accelerate the optimization of wide quantum circuits without sacrificing solution quality.

[1]  J. Kubiatowicz,et al.  Wide Quantum Circuit Optimization with Topology Aware Synthesis , 2022, 2022 IEEE/ACM Third International Workshop on Quantum Computing Software (QCS).

[2]  Costin Iancu,et al.  Reoptimization of Quantum Circuits via Hierarchical Synthesis , 2021, 2021 International Conference on Rebooting Computing (ICRC).

[3]  Olivier Teytaud,et al.  CompilerGym: Robust, Performant Compiler Optimization Environments for AI Research , 2021, 2022 IEEE/ACM International Symposium on Code Generation and Optimization (CGO).

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

[5]  F. Marquardt,et al.  Quantum circuit optimization with deep reinforcement learning , 2021, 2103.07585.

[6]  Patrick J. Coles,et al.  Connecting ansatz expressibility to gradient magnitudes and barren plateaus , 2021, PRX Quantum.

[7]  Jay M. Gambetta,et al.  Mitigating measurement errors in multiqubit experiments , 2020, 2006.14044.

[8]  Patrick J. Coles,et al.  Error mitigation with Clifford quantum-circuit data , 2020, Quantum.

[9]  Silas Dilkes,et al.  t|ket⟩: a retargetable compiler for NISQ devices , 2020, Quantum Science and Technology.

[10]  J. Boberg,et al.  Kernel Methods , 2020, Data Mining and Machine Learning.

[11]  Koushik Sen,et al.  Heuristics for Quantum Compiling with a Continuous Gate Set , 2019, ArXiv.

[12]  John C. Platt,et al.  Quantum supremacy using a programmable superconducting processor , 2019, Nature.

[13]  John Preskill,et al.  Quantum Computing in the NISQ era and beyond , 2018, Quantum.

[14]  Jorge Cadima,et al.  Principal component analysis: a review and recent developments , 2016, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences.

[15]  Alán Aspuru-Guzik,et al.  A variational eigenvalue solver on a photonic quantum processor , 2013, Nature Communications.

[16]  Amnon Ta-Shma,et al.  On the complexity of approximating the diamond norm , 2009, Quantum Inf. Comput..

[17]  B. Schölkopf,et al.  Kernel methods in machine learning , 2007, math/0701907.

[18]  I. Markov,et al.  Synthesis of quantum logic circuits , 2005, Proceedings of the ASP-DAC 2005. Asia and South Pacific Design Automation Conference, 2005..

[19]  R. Feynman Simulating physics with computers , 1999 .

[20]  A. Kitaev Quantum computations: algorithms and error correction , 1997 .

[21]  M. Ben-Or,et al.  Fault-Tolerant Quantum Computation with Constant Error Rate , 1996, SIAM J. Comput..

[22]  Peter W. Shor,et al.  Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer , 1995, SIAM Rev..

[23]  Daniel R. Simon,et al.  On the power of quantum computation , 1994, Proceedings 35th Annual Symposium on Foundations of Computer Science.

[24]  Geoffrey E. Hinton Reducing the Dimensionality of Data with Neural , 2008 .

[25]  Yann LeCun,et al.  Transformation Invariance in Pattern Recognition-Tangent Distance and Tangent Propagation , 1996, Neural Networks: Tricks of the Trade.