[Paper Review] Syndrome decoding by quantum approximate optimization
This paper proposes a quantum approximate optimization algorithm (QAOA) for solving the NP-hard syndrome decoding problem in classical and quantum error-correcting codes. It introduces generator- and check-based cost Hamiltonians to guide QAOA toward low-weight errors matching a given syndrome, demonstrating near-maximum-likelihood performance on the [[5,1,3]] and [7,4,3] codes at level-4 QAOA, with inherent degeneracy handling that improves performance beyond classical decoding at high noise rates.
The syndrome decoding problem is known to be NP-complete. The goal of the decoder is to find an error of low weight that corresponds to a given syndrome obtained from a parity-check matrix. We use the quantum approximate optimization algorithm (QAOA) to address the syndrome decoding problem with elegantly-designed reward Hamiltonians based on both generator and check matrices for classical and quantum codes. We evaluate the level-4 check-based QAOA decoding of the [7,4,3] Hamming code, as well as the level-4 generator-based QAOA decoding of the [[5,1,3]] quantum code. Remarkably, the simulation results demonstrate that the decoding performances match those of the maximum likelihood decoding. Moreover, we explore the possibility of enhancing QAOA by introducing additional redundant clauses to a combinatorial optimization problem while keeping the number of qubits unchanged. Finally, we study QAOA decoding of degenerate quantum codes. Typically, conventional decoders aim to find a unique error of minimum weight that matches a given syndrome. However, our observations reveal that QAOA has the intriguing ability to identify degenerate errors of comparable weight, providing multiple potential solutions that match the given syndrome with comparable probabilities. This is illustrated through simulations of the generator-based QAOA decoding of the [[9,1,3]] Shor code on specific error syndromes.
Motivation & Objective
- To address the NP-hard syndrome decoding problem in classical and quantum error-correcting codes using near-term quantum algorithms.
- To design cost Hamiltonians based on generator and parity-check matrices that guide QAOA toward low-weight, syndrome-matching errors.
- To evaluate QAOA decoding performance on specific codes like the [7,4,3] Hamming code and [[5,1,3]] and [[9,1,3]] quantum codes.
- To investigate whether QAOA decoding naturally respects degeneracy in quantum codes, where multiple distinct errors have the same logical effect.
- To compare QAOA decoding performance with classical decoding methods such as bounded-distance decoding (BDD) and analyze distribution similarity via Jensen–Shannon divergence.
Proposed method
- Formulates a check-based cost Hamiltonian combining parity-check satisfaction and error weight minimization, with adjustable parameters to balance the two terms.
- Constructs a generator-based cost Hamiltonian inspired by Bruck and Blaum's energy function, suitable for QAOA with sparse generator matrices.
- Applies level-$p$ QAOA circuits to evolve an initial equal superposition state toward low-energy eigenstates corresponding to valid error solutions.
- Uses a hybrid quantum-classical optimization loop to tune the QAOA parameters $\bm{\gamma}$ and $\bm{\beta}$ via classical optimization of the expectation value of the cost Hamiltonian.
- For each syndrome, the QAOA outputs a distribution of candidate errors; the lowest-weight error matching the syndrome is selected as the decoding output.
- Evaluates the fidelity of the QAOA output distribution to the true posterior distribution using Jensen–Shannon divergence, with exact classical simulation for small codes.
Experimental results
Research questions
- RQ1Can QAOA with a small number of layers (e.g., level-4) achieve decoding performance comparable to maximum-likelihood decoding for small classical and quantum codes?
- RQ2How does the choice of cost Hamiltonian—generator-based versus check-based—affect QAOA decoding performance and convergence?
- RQ3Does QAOA decoding naturally account for degeneracy in quantum codes, where multiple distinct Pauli errors have the same logical effect?
- RQ4Can a QAOA decoder outperform classical bounded-distance decoding (BDD) in high-noise regimes due to degeneracy exploitation?
- RQ5How close is the QAOA output distribution to the true posterior distribution of errors given a syndrome, as measured by Jensen–Shannon divergence?
Key findings
- Level-4 QAOA decoding of the [7,4,3] Hamming code achieves decoding performance matching maximum-likelihood decoding.
- Level-4 generator-based QAOA decoding of the [[5,1,3]] quantum code matches the performance of bounded-distance decoding (BDD), with logical error rates below BDD at depolarizing rates above ~0.3.
- The QAOA decoder exhibits inherent degeneracy: errors of comparable weight that are degenerate (i.e., have the same logical effect) are output with comparable probability.
- For the [[5,1,3]] code, the Jensen–Shannon divergence between the true posterior and QAOA output distribution is 0.06658 at $\epsilon = 0.32$, indicating a close match.
- At $\epsilon = 0.38$, the JS divergence increases to 0.1146 for the $\hat{Y}_1$ syndrome, showing a less accurate approximation, but still reasonable.
- The study suggests that adding redundant clauses to the optimization problem can improve QAOA performance without increasing qubit count.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.