Optimizing Ansatz Design in QAOA for Max-cut

Ritajit Majumdar, Dhiraj Madan, Debasmita Bhoumik, Dhinakaran Vinayagamurthy, Shesha Raghunathan +1 more
6/5/2021
quant-phcs.DS

Official code: RitajitMajumdar/Optimizing-Ansatz-Design-in-QAOA-for-Max-cut (5 stars, Jupyter Notebook, last commit 2022-03-01).

Abstract

Quantum Approximate Optimization Algorithm (QAOA) is studied primarily to find approximate solutions to combinatorial optimization problems. For a graph with $n$ vertices and $m$ edges, a depth $p$ QAOA for the Max-cut problem requires $2\cdot m \cdot p$ CNOT gates.

Show full abstract

CNOT is one of the primary sources of error in modern quantum computers. In this paper, we propose two hardware independent methods to reduce the number of CNOT gates in the circuit. First, we present a method based on Edge Coloring of the input graph that minimizes the the number of cycles (termed as depth of the circuit), and reduces upto $\lfloor \frac{n}{2} \rfloor$ CNOT gates. Next, we depict another method based on Depth First Search (DFS) on the input graph that reduces $n-1$ CNOT gates, but increases depth of the circuit moderately. We analytically derive the condition for which the reduction in CNOT gates overshadows this increase in depth, and the error probability of the circuit is still lowered. We show that all IBM Quantum Hardware satisfy this condition. We simulate these two methods for graphs of various sparsity with the \textit{ibmq\_manhattan} noise model, and show that the DFS based method outperforms the edge coloring based method, which in turn, outperforms the traditional QAOA circuit in terms of reduction in the number of CNOT gates, and hence the probability of error of the circuit.

View on arXivView PDF

Code Implementations(1)

The repository contains the code to find the probability of error for the traditional QAOA ansatz, and the proposed Edge coloring and Depth First Search Based Ansatz. This research was done in collaboration with IBM India Research Lab. The collaborators are Ritajit Majumdar, Dhiraj Madan, Debasmita Bhoumik, Dhinakaran Vinayagamurthy, Shesha Raghunathan and Susmita Sur-Kolay. The corresponding paper can be found in arXiv:

51Jupyter Notebook, PythonJun 4, 20214 years ago

Similar Papers

Cite this paper

@article{majumdar2021optimizing,
  title  = {Optimizing Ansatz Design in QAOA for Max-cut},
  author = {Ritajit Majumdar and Dhiraj Madan and Debasmita Bhoumik and Dhinakaran Vinayagamurthy and Shesha Raghunathan and Susmita Sur-Kolay},
  year   = {2021},
  eprint = {2106.02812},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.02812}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.02812.svg)](https://codeofpaper.com/paper/2106.02812)

Discussion