arXiv:2609.07537quant-phSep 2026

Manuscript Offprint

arXiv:2609.07537

Toward Fault-Tolerant Variational Optimization: QAOA under [[4,2,2]] Error Detection

Matteo Robert Child, Emanuele Dri, Giacomo Vitali, Chiara Vercellino, Alberto Leporati

QAOA under [[4,2,2]] Error Detection

Matteo Robert Child¹[0009–0006–6649–5415], Emanuele Dri²[0000–0002–5144–1514], Giacomo Vitali²[0000–0002–3056–796X], Chiara Vercellino²[0000–0002–0562–3157], and Alberto Leporati¹[0000–0002–8105–4371]

¹ University of Milano-Bicocca, Department of Informatics, Systems and Communication, Italy ² Fondazione LINKS, 10141 Torino, Italy

Abstract. We present a partially fault-tolerant implementation of QAOA based on the [[4,2,2]] error-detection code, targeting the Max-Cut problem on a square graph. Our main contribution is a novel ancilla-mediated logical RZZR_{ZZ} gate enabling interactions between qubits in different [[4,2,2]] blocks. We evaluate unencoded and encoded circuits under five noise models, with both all-to-all and grid-routed connectivity, using the Cirq and qsimcirq frameworks with parallel CPU execution. Post-selection on stabilizer measurements consistently improves the probability of sampling optimal bitstrings, with five measurements providing the strongest benefit. These results support error-detection as a practical near-term strategy for improving the quality of variational quantum algorithms.

Keywords: Quantum Computing · QAOA · Quantum Error Detection.

1 Introduction

Quantum computing represents a paradigm shift that has the potential to offer novel algorithmic approaches for specific complex problems. Nevertheless, each of the current physical implementations of the qubit (the fundamental unit of quantum computation) exhibits intrinsic fragility and a pronounced sensitivity to noise. This poses a major challenge for the scaling of quantum computers and, consequently, for the algorithms that rely on them.

The scientific community has long identified error-detection and error-correction protocols as the solution to this challenge. For this reason, the advent of the era of fault-tolerant quantum computation is generating considerable interest, and its robustness to errors will precisely be the result of these protocols.

In addition, it is widely held within the scientific community that the inter-play between quantum and high-performance computing is key to unlocking and enabling further avenues in which quantum advantage may be realised.

For these reasons, in this work we propose, build and test a partially fault-tolerant implementation that exploits error-detection protocols for a Max-Cut problem solved using the QAOA algorithm. This approach can effectively leverage high-performance computing resources for training, especially when scaling

M.R. Child et al.

to problem instances of significant size due to parameter concentration properties that allow optimal angles to be pre-computed or optimized in parallel offline.

The remainder of this paper is organised as follows. Section 2 reviews the two key building blocks of our approach: QAOA as a variational algorithm amenable to HPC-assisted training, and the [[4, 2, 2]] error-detection code. Section 3 describes the Max-Cut instance, the QAOA circuit construction, and our novel inter-block logical RZZR_{ZZ} gate. Section 4 presents the experimental results across five noise models and two connectivity topologies. Section 5 discusses conclusions and future directions.