An Introduction to the Quantum Approximate Optimization Algorithm
Alessandro Giovagnoli
TL;DR
The paper presents a principled, first-principles tutorial on the Quantum Approximate Optimization Algorithm (QAOA) for solving combinatorial problems formulated as QUBO and PUBO. It derives the Ising-like problem Hamiltonian, outlines the layer-wise, parameterized circuit structure, and provides explicit gate-decomposition strategies (including $R_{ZZ}$ and higher-order $R_{Z^k}$ gates) while highlighting symmetries that reduce the variational search space. Through concrete Max-Cut and Knapsack examples, it analyzes the energy landscape and demonstrates how parameter scaling enhances optimization, offering practical guidance for near-term quantum devices. The work further generalizes QAOA to PUBO problems, detailing how higher-order interactions map to quantum circuitry and discussing practical considerations and symmetries. Overall, the article consolidates the theoretical foundations, circuit constructions, and practical implications of QAOA in the NISQ era.
Abstract
The Quantum Approximate Optimization Algorithm (QAOA) is a promising variational quantum algorithm introduced to tackle classically intractable combinatorial optimization problems. This tutorial offers a comprehensive, first-principles introduction to QAOA and its properties, focusing on its application to Quadratic and Polynomial Unconstrained Binary Optimization (QUBO and PUBO) problems. The tutorial begins by outlining variational quantum circuits and QUBO problems, focusing on their key properties and the encoding of problem constraints through quadratic penalty terms. Next, it explores the QAOA in detail, covering its Hamiltonian formulation, gate decomposition, and example applications, along with their implementation and performance results. This is followed by an analysis of the algorithm's energy landscape, where proofs are provided for its symmetry and periodicity, and where a resulting parameter space reduction is proposed. Finally, the tutorial extends these concepts to PUBO problems by generalizing the results to higher-order Hamiltonians and discussing the associated symmetries and circuit construction.
