Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:2409.13017 · IEEE Transactions on Quantum Engineering

Engineering Quantum Error Correction Codes Using Evolutionary Algorithms

Mark A. Webster, Dan E. Browne

Published Jan 1, 2025• 6 citations
arXivHTMLPDF

Abstract

Quantum error correction and the use of quantum error correction codes are likely to be essential for the realization of practical quantum computing. Because the error models of quantum devices vary widely, quantum codes that are tailored for a particular error model may have much better performance. In this work, we present a novel evolutionary algorithm that searches for an optimal stabilizer code for a given error model, number of physical qubits, and number of encoded qubits. We demonstrate an efficient representation of stabilizer codes as binary strings, which allows for random generation of valid stabilizer codes as well as mutation and crossing of codes. Our algorithm finds stabilizer codes whose distance closely matches the best-known-distance codes of Grassl (2007) for$n \leq 20$physical qubits. We perform a search for optimal distance Calderbank–Steane–Shor codes and compare their distance to the best known codes. Finally, we show that the algorithm can be used to optimize stabilizer codes for biased error models, demonstrating a significant improvement in the undetectable error rate for$[[12,1]]_{2}$codes versus the best-known-distance code with the same parameters. As part of this work, we also introduce an evolutionary algorithm QDistEvol for finding the distance of quantum error correction codes.

DOI
10.1109/tqe.2025.3538934

Related papers

EVOLVING QUANTUM ERROR CORRECTION CODES

DANIEL RIBAS TANDEITNIK

Computational methods become essential in the face of complex problems where human intuition and traditional methods fail.Recent works present artificial neural networks capable of efficiently performing tasks intractable by conventional algorithms using machine learning, rendering it one of the most popular methods.Concomitantly, genetic algorithms, inspired by the biological processes of natural selection and mutation, have been used as a metaheuristic method to find solutions to optimization problems.We then raise the question of whether genetic algorithms have the potential to solve problems in the context of quantum computing, where human intuition decreases as physical systems grow.Specifically, we focus on the evolution of quantum error-correcting codes within the stabilizer code formalism.By specifying an appropriate fitness function, we show that we can evolve celebrated codes, such as the Perfect and Shor's code with respectively 5 and 9 qubits, in addition to new unanticipated examples.Additionally, we compared it with a brute force random search and verified an increasing superiority of the genetic algorithm as the total number of qubits increases.Given the results, we foresee that genetic algorithms can become valuable tools to perform complex applications in quantum systems and produce tailored circuits that satisfy restrictions imposed by hardware.

•May 11, 2022•0 citations

Quantum Error Correction Code Adaptive Optimization Algorithm

Jincheng Zhang

This paper presents a novel adaptive optimization algorithm for quantum error correction (QEC) codes, designed to significantly enhance the resilience of quantum computations against errors. The core claim is that by dynamically adjusting QEC parameters based on real-time analysis of error characteristics, we can achieve a substantial improvement in error correction performance. This is achieved through the integration of quantum error models and machine learning techniques, specifically reinforcement learning, enabling the algorithm to learn and adapt to varying error distributions. Traditional QEC code design often relies on static parameters, limiting their effectiveness in handling the inherent noise and fluctuations within quantum systems. This research addresses this limitation by introducing a dynamic, self-optimizing approach. The algorithm's ability to respond to evolving error profiles represents a critical step towards practical, fault-tolerant quantum computing. The proposed method focuses on optimizing code parameters such as parity checking rates, code distance, and decoding strategies to minimize the impact of observed errors. The simulation results demonstrate a notable improvement in error correction rates compared to static code implementations.

•Aug 28, 2026•0 citations

Quantum Circuits for Stabilizer Error Correcting Codes: A Tutorial

Arijit Mondal, Keshab K. Parhi

Quantum computers have the potential to provide exponential speedups over their classical counterparts. Quantum principles are being applied to fields such as communications, information processing, and artificial intelligence to achieve quantum advantage. However, quantum bits are extremely noisy and prone to decoherence. Thus, keeping the qubits error free is extremely important toward reliable quantum computing. Quantum error correcting codes have been studied for several decades and methods have been proposed to import classical error correcting codes to the quantum domain. Along with the exploration into novel and more efficient quantum error correction codes, it is also essential to design circuits for practical realization of these codes. This article serves as a tutorial on designing and simulating quantum encoder and decoder circuits for stabilizer codes. We first describe Shor’s 9-qubit code which was the first quantum error correcting code. We discuss the stabilizer formalism along with the design of encoding and decoding circuits for stabilizer codes such as the five-qubit code and Steane code. We also design nearest neighbor compliant circuits for the above codes. The circuits were simulated and verified using IBM Qiskit.

arXiv:2309.11793•IEEE Circuits and Systems Magazine•Jan 1, 2024•12 citations

Heuristics in quantum error correction

Alex Rigby

Noise is a major obstacle in the development of practical schemes for quantum computation and communication. Similar to the case of classical communication, this noise can be protected against by employing a code, which provides a means for encoding quantum states prior to transmission and allows for errors to be inferred, and hopefully corrected, by a decoder at the receiver. Unfortunately, designing good codes and decoders is typically a difficult problem. This thesis focuses on developing low-complexity heuristic approaches to three such problems: the design of modified belief propagation decoders for quantum low-density parity-check codes, the design of stabilizer codes for asymmetric channels, and the design of codeword stabilized codes. Quantum low-density parity-check codes are stabilizer codes with low-weight generators. Such codes permit low-complexity decoding via the use of belief propagation, which is an iterative message passing algorithm that takes place on a factor graph defined by the code. However, the performance of such a decoder is limited both by code structure and the degenerate nature of quantum errors. To overcome these limitations, at least in part, a number of modifications to belief propagation are developed. Central among these is the augmented decoder, which in the case of a decoding error, iteratively reattempts decoding using modified factor graph. This heuristic modification simply involves the duplication of a randomly selected subset of the graph’s check nodes, which are in one-to-one correspondence with the code’s stabilizer generators. Across a range of codes, it is shown that the decoders developed perform as well as or better than other modified decoders presented in literature. For a number of channels of physical interest, phase-flip errors occur far more frequently than bit-flip errors. When transmitting across these so-called asymmetric channels, the decoding error rate can be minimized by tailoring the code used to the channel. However, assessing the performance of codes on a given channel is made difficult by the #P-completeness of optimal decoding. To address this complexity, it is shown that the decoding error rate can be accurately approximated using only a small fraction of the possible errors caused by the channel. This approximation is then used to identify a number of cyclic stabilizer codes that perform well on two different asymmetric channels. To further build on this, a heuristic is demonstrated for assessing code performance based on the decoding error rate of an associated classical code. The complexity of calculating this classical error rate is relatively low, and it is shown that it can be used as the basis for a hill-climbing search algorithm. Such searches have yielded a large number of highly performant codes satisfying various structure constraints. The family of codeword stabilized codes encompasses both the stabilizer codes as well as many of the best known nonadditive codes. Constructing a standard form codeword stabilized code is a matter of selecting a simple undirected graph and a binary classical code. This makes designing optimal codes difficult as the number of possible graphs grows exponentially with code length, and the clique search required to construct the classical code is NP-hard. To address the exponential growth of the search space, a heuristic is developed for assessing graphs. This heuristic is then employed by a genetic algorithm that also makes use of a novel crossover operation based on spectral bisection, which is show to be superior to more standard crossover operations. With a graph selected, it is demonstrated that the complexity of the clique search required to construct the associated classical code can be mitigated through the use of a heuristic clique finding algorithm. A number of best known codes are presented that have been found using this approach.

•Jan 1, 2021•0 citations

Quantum Error Correction Code Adaptive Optimization

Jincheng Zhang

This paper investigates adaptive optimization techniques for quantum error correction (QEC) codes. The core claim is that dynamic adjustment of QEC parameters, guided by estimates of decoherence probabilities, can significantly enhance the efficiency of quantum information transmission. The proposed mechanism utilizes real-time adjustments to the code's redundancy, encoding scheme, and error correction protocols, adapting to varying noise environments and qubit states. Traditional QEC approaches typically employ fixed parameters, lacking the crucial element of adaptability. This research addresses this limitation by introducing a framework for continuous optimization based on accurate decoherence probability assessment. The framework involves estimating the decoherence probability (Pd) of individual qubits, which is then used to dynamically modify key parameters of the QEC code. Specifically, we explore adjusting the code rate (R), the minimum distance (d) of the code, and the choice of error correction scheme. The optimization algorithm aims to minimize the overall error rate while maintaining a desired level of performance. This work presents a novel approach to QEC, promising improved robustness and efficiency in quantum communication and computation. The key mathematical components of this work are presented below.

•Sep 2, 2026•0 citations

Error Correction Using Quantum Computation

Khalik Khan, Sapna Jain

Quantum Error Correction (QEC) is an important technique for protecting quantum information against decoherence and errors. This involves the design and implementation of algorithms and techniques to minimize error rates and increase the stability of quantum circuits. One of the key parameters in QEC is the distance of the error- correcting code, which determines the number of errors that can be corrected. Another important parameter is the error probability, which quantifies the likelihood of errors occurring in the quantum system. In this context, the goal of a simulation sweeps like the one performed in the code is to study the performance of the QEC code for different values of the distance and error probability, and to optimize the code for maximum accuracy. By varying these parameters and observing the performance of the code, researchers can gain insights into how to design better codes and improve the reliability of quantum computing systems. We also discuss the challenges that need to be addressed for quantum computing to realize its potential in solving practical Error-correction problems.

Journal of Digital Science•Jun 25, 2023•1 citation
Quantum error correction and the use of quantum error correction codes are likely to be essential for the realization of practical quantum computing. Because the error models of quantum devices vary widely, quantum codes that are tailored for a particular error model may have much better performance. In this work, we present a novel evolutionary algorithm that searches for an optimal stabilizer code for a given error model, number of physical qubits, and number of encoded qubits. We demonstrate an efficient representation of stabilizer codes as binary strings, which allows for random generation of valid stabilizer codes as well as mutation and crossing of codes. Our algorithm finds stabilizer codes whose distance closely matches the best-known-distance codes of Grassl (2007) forn≤20n \leq 20n≤20physical qubits. We perform a search for optimal distance Calderbank–Steane–Shor codes and compare their distance to the best known codes. Finally, we show that the algorithm can be used to optimize stabilizer codes for biased error models, demonstrating a significant improvement in the undetectable error rate for[[12,1]]2[[12,1]]_{2}[[12,1]]2​codes versus the best-known-distance code with the same parameters. As part of this work, we also introduce an evolutionary algorithm QDistEvol for finding the distance of quantum error correction codes.
Computational methods become essential in the face of complex problems where human intuition and traditional methods fail.Recent works present artificial neural networks capable of efficiently performing tasks intractable by conventional algorithms using machine learning, rendering it one of the most popular methods.Concomitantly, genetic algorithms, inspired by the biological processes of natural selection and mutation, have been used as a metaheuristic method to find solutions to optimization problems.We then raise the question of whether genetic algorithms have the potential to solve problems in the context of quantum computing, where human intuition decreases as physical systems grow.Specifically, we focus on the evolution of quantum error-correcting codes within the stabilizer code formalism.By specifying an appropriate fitness function, we show that we can evolve celebrated codes, such as the Perfect and Shor's code with respectively 5 and 9 qubits, in addition to new unanticipated examples.Additionally, we compared it with a brute force random search and verified an increasing superiority of the genetic algorithm as the total number of qubits increases.Given the results, we foresee that genetic algorithms can become valuable tools to perform complex applications in quantum systems and produce tailored circuits that satisfy restrictions imposed by hardware.
This paper presents a novel adaptive optimization algorithm for quantum error correction (QEC) codes, designed to significantly enhance the resilience of quantum computations against errors. The core claim is that by dynamically adjusting QEC parameters based on real-time analysis of error characteristics, we can achieve a substantial improvement in error correction performance. This is achieved through the integration of quantum error models and machine learning techniques, specifically reinforcement learning, enabling the algorithm to learn and adapt to varying error distributions. Traditional QEC code design often relies on static parameters, limiting their effectiveness in handling the inherent noise and fluctuations within quantum systems. This research addresses this limitation by introducing a dynamic, self-optimizing approach. The algorithm's ability to respond to evolving error profiles represents a critical step towards practical, fault-tolerant quantum computing. The proposed method focuses on optimizing code parameters such as parity checking rates, code distance, and decoding strategies to minimize the impact of observed errors. The simulation results demonstrate a notable improvement in error correction rates compared to static code implementations.
Quantum computers have the potential to provide exponential speedups over their classical counterparts. Quantum principles are being applied to fields such as communications, information processing, and artificial intelligence to achieve quantum advantage. However, quantum bits are extremely noisy and prone to decoherence. Thus, keeping the qubits error free is extremely important toward reliable quantum computing. Quantum error correcting codes have been studied for several decades and methods have been proposed to import classical error correcting codes to the quantum domain. Along with the exploration into novel and more efficient quantum error correction codes, it is also essential to design circuits for practical realization of these codes. This article serves as a tutorial on designing and simulating quantum encoder and decoder circuits for stabilizer codes. We first describe Shor’s 9-qubit code which was the first quantum error correcting code. We discuss the stabilizer formalism along with the design of encoding and decoding circuits for stabilizer codes such as the five-qubit code and Steane code. We also design nearest neighbor compliant circuits for the above codes. The circuits were simulated and verified using IBM Qiskit.
Noise is a major obstacle in the development of practical schemes for quantum computation and communication. Similar to the case of classical communication, this noise can be protected against by employing a code, which provides a means for encoding quantum states prior to transmission and allows for errors to be inferred, and hopefully corrected, by a decoder at the receiver. Unfortunately, designing good codes and decoders is typically a difficult problem. This thesis focuses on developing low-complexity heuristic approaches to three such problems: the design of modified belief propagation decoders for quantum low-density parity-check codes, the design of stabilizer codes for asymmetric channels, and the design of codeword stabilized codes. Quantum low-density parity-check codes are stabilizer codes with low-weight generators. Such codes permit low-complexity decoding via the use of belief propagation, which is an iterative message passing algorithm that takes place on a factor graph defined by the code. However, the performance of such a decoder is limited both by code structure and the degenerate nature of quantum errors. To overcome these limitations, at least in part, a number of modifications to belief propagation are developed. Central among these is the augmented decoder, which in the case of a decoding error, iteratively reattempts decoding using modified factor graph. This heuristic modification simply involves the duplication of a randomly selected subset of the graph’s check nodes, which are in one-to-one correspondence with the code’s stabilizer generators. Across a range of codes, it is shown that the decoders developed perform as well as or better than other modified decoders presented in literature. For a number of channels of physical interest, phase-flip errors occur far more frequently than bit-flip errors. When transmitting across these so-called asymmetric channels, the decoding error rate can be minimized by tailoring the code used to the channel. However, assessing the performance of codes on a given channel is made difficult by the #P-completeness of optimal decoding. To address this complexity, it is shown that the decoding error rate can be accurately approximated using only a small fraction of the possible errors caused by the channel. This approximation is then used to identify a number of cyclic stabilizer codes that perform well on two different asymmetric channels. To further build on this, a heuristic is demonstrated for assessing code performance based on the decoding error rate of an associated classical code. The complexity of calculating this classical error rate is relatively low, and it is shown that it can be used as the basis for a hill-climbing search algorithm. Such searches have yielded a large number of highly performant codes satisfying various structure constraints. The family of codeword stabilized codes encompasses both the stabilizer codes as well as many of the best known nonadditive codes. Constructing a standard form codeword stabilized code is a matter of selecting a simple undirected graph and a binary classical code. This makes designing optimal codes difficult as the number of possible graphs grows exponentially with code length, and the clique search required to construct the classical code is NP-hard. To address the exponential growth of the search space, a heuristic is developed for assessing graphs. This heuristic is then employed by a genetic algorithm that also makes use of a novel crossover operation based on spectral bisection, which is show to be superior to more standard crossover operations. With a graph selected, it is demonstrated that the complexity of the clique search required to construct the associated classical code can be mitigated through the use of a heuristic clique finding algorithm. A number of best known codes are presented that have been found using this approach.
This paper investigates adaptive optimization techniques for quantum error correction (QEC) codes. The core claim is that dynamic adjustment of QEC parameters, guided by estimates of decoherence probabilities, can significantly enhance the efficiency of quantum information transmission. The proposed mechanism utilizes real-time adjustments to the code's redundancy, encoding scheme, and error correction protocols, adapting to varying noise environments and qubit states. Traditional QEC approaches typically employ fixed parameters, lacking the crucial element of adaptability. This research addresses this limitation by introducing a framework for continuous optimization based on accurate decoherence probability assessment. The framework involves estimating the decoherence probability (Pd) of individual qubits, which is then used to dynamically modify key parameters of the QEC code. Specifically, we explore adjusting the code rate (R), the minimum distance (d) of the code, and the choice of error correction scheme. The optimization algorithm aims to minimize the overall error rate while maintaining a desired level of performance. This work presents a novel approach to QEC, promising improved robustness and efficiency in quantum communication and computation. The key mathematical components of this work are presented below.
Quantum Error Correction (QEC) is an important technique for protecting quantum information against decoherence and errors. This involves the design and implementation of algorithms and techniques to minimize error rates and increase the stability of quantum circuits. One of the key parameters in QEC is the distance of the error- correcting code, which determines the number of errors that can be corrected. Another important parameter is the error probability, which quantifies the likelihood of errors occurring in the quantum system. In this context, the goal of a simulation sweeps like the one performed in the code is to study the performance of the QEC code for different values of the distance and error probability, and to optimize the code for maximum accuracy. By varying these parameters and observing the performance of the code, researchers can gain insights into how to design better codes and improve the reliability of quantum computing systems. We also discuss the challenges that need to be addressed for quantum computing to realize its potential in solving practical Error-correction problems.