Skip to main content
QUICK REVIEW

[Paper Review] Optimizing Ansatz Design in QAOA for Max-cut

Ritajit Majumdar, Dhiraj Madan|arXiv (Cornell University)|Jun 5, 2021
Quantum Computing Algorithms and ArchitectureComputer Science17 references20 citations
TL;DR

This paper proposes two hardware-independent methods to reduce CNOT gate count in QAOA for Max-cut: edge coloring (reducing up to ⌊n/2⌋ CNOT gates) and depth-first search (DFS) traversal (reducing n−1 CNOT gates). The DFS-based method outperforms both edge coloring and traditional QAOA in reducing error probability on IBM Quantum's ibmq_manhattan noise model, even post-transpilation, due to favorable trade-offs between CNOT reduction and depth increase.

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. 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} floor$ 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 extit{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.

Motivation & Objective

  • To reduce the number of CNOT gates in QAOA circuits for Max-cut, which are major sources of error in near-term quantum devices.
  • To design ansatz optimizations that are hardware-independent and preserve fidelity with the original QAOA state.
  • To analytically determine conditions under which CNOT reduction outweighs depth increase in terms of error probability.
  • To validate the proposed methods on realistic noise models and transpiled circuits for IBM Quantum devices.
  • To demonstrate that the proposed methods universally improve error resilience across graphs of varying sparsity.

Proposed method

  • Proposes an edge coloring-based method that partitions edges into color classes to minimize circuit depth and reduce up to ⌊n/2⌋ CNOT gates.
  • Introduces a DFS-based method that reorders edge operations to reduce n−1 CNOT gates, though it may increase circuit depth.
  • Derives an analytical condition balancing CNOT reduction and depth increase to ensure lower overall error probability.
  • Uses the ibmq_manhattan noise model in Qiskit simulations to evaluate error probability (|⟨ψ|ψe⟩|²) across Erdős–Rényi and complete graphs.
  • Employs Qiskit’s transpiler to verify that CNOT gate reductions are preserved after mapping to IBM’s coupling map.
  • Compares the DFS-based, edge coloring-based, and traditional QAOA circuits in terms of error probability and gate count post-transpilation.

Experimental results

Research questions

  • RQ1Can edge coloring be used to minimize circuit depth and reduce CNOT gates in QAOA for Max-cut?
  • RQ2Does a DFS-based ansatz design reduce more CNOT gates than traditional QAOA, and under what conditions does this lead to lower error probability?
  • RQ3Is the reduction in CNOT gates preserved after transpilation on real IBM Quantum hardware?
  • RQ4For which graph types and sparsity levels does the DFS-based method outperform edge coloring in error reduction?
  • RQ5What is the theoretical threshold where CNOT reduction outweighs depth increase in terms of error probability?

Key findings

  • The DFS-based method reduces n−1 CNOT gates, which is the maximum possible reduction while maintaining fidelity 1 with the original QAOA ansatz.
  • The edge coloring method reduces up to ⌊n/2⌋ CNOT gates and minimizes circuit depth, but is outperformed by DFS in error reduction.
  • The DFS-based method achieves lower error probability than both edge coloring and traditional QAOA across all tested graph types (Erdős–Rényi with pedge = 0.4 to 1.0) and sizes (n = 4 to 12).
  • The CNOT gate reduction is preserved after transpilation on the ibmq_manhattan device, confirming hardware compatibility.
  • All IBM Quantum devices tested satisfy the analytical condition where CNOT reduction outweighs depth increase, ensuring lower error probability.
  • Simulation results show that the DFS method consistently outperforms the other two methods in terms of success probability |⟨ψ|ψe⟩|² under realistic noise.

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.