Qubit-efficient Variational Quantum Algorithms for Image Segmentation
Supreeth Mysore Venkatesh, Antonio Macaluso, Marlon Nuske, Matthias Klusch, Andreas Dengel
TL;DR
This paper tackles the challenge of performing image segmentation on near-term quantum hardware by formulating segmentation as a graph-cut QUBO and introducing qubit-efficient variational quantum algorithms. It presents three encoding schemes—Parametric Gate Encoding (PGE), Ancilla Basis Encoding (ABE), and Adaptive Cost Encoding (ACE)—to reduce qubit requirements from linear in the number of pixels to logarithmic, with ACE offering a problem-specific cost that aligns circuit optimization with the true min-cut objective. The authors provide a theoretical scalability analysis showing significant resource savings relative to QAOA, and empirical evidence on synthetic grid images demonstrating faster and more consistent training for ACE, along with strong performance even at small scales. Collectively, the work advances quantum-assisted computer vision by enabling scalable image segmentation on NISQ devices and motivates further research into task-tailored cost functions and optimization strategies. The results indicate a viable pathway to leverage quantum resources for complex vision tasks while highlighting challenges in measurement overhead and optimizer design that warrant future exploration.
Abstract
Quantum computing is expected to transform a range of computational tasks beyond the reach of classical algorithms. In this work, we examine the application of variational quantum algorithms (VQAs) for unsupervised image segmentation to partition images into separate semantic regions. Specifically, we formulate the task as a graph cut optimization problem and employ two established qubit-efficient VQAs, which we refer to as Parametric Gate Encoding (PGE) and Ancilla Basis Encoding (ABE), to find the optimal segmentation mask. In addition, we propose Adaptive Cost Encoding (ACE), a new approach that leverages the same circuit architecture as ABE but adopts a problem-dependent cost function. We benchmark PGE, ABE and ACE on synthetically generated images, focusing on quality and trainability. ACE shows consistently faster convergence in training the parameterized quantum circuits in comparison to PGE and ABE. Furthermore, we provide a theoretical analysis of the scalability of these approaches against the Quantum Approximate Optimization Algorithm (QAOA), showing a significant cutback in the quantum resources, especially in the number of qubits that logarithmically depends on the number of pixels. The results validate the strengths of ACE, while concurrently highlighting its inherent limitations and challenges. This paves way for further research in quantum-enhanced computer vision.
