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:2301.05731 · International Conference on VLSI Design

Automatic Implementation and Evaluation of Error-Correcting Codes for Quantum Computing: An Open-Source Framework for Quantum Error Correction

Thomas Grurl, Christoph Pichler, Jürgen Fuß, Robert Wille

Published Jan 1, 2023• 10 citations
arXivHTMLPDF

Abstract

Due to the fragility of quantum mechanical effects, real quantum computers are plagued by frequent noise effects that cause errors during computations. Quantum error-correcting codes address this problem by providing means to identify and correct corresponding errors. However, most of the research on quantum error correction is theoretical or has been evaluated for specific hardware models only. Moreover, the development of corresponding codes and the evaluation of whether they indeed solve the problem for a particular hardware model, still often rests on tedious trial-and-error thus far. In this work, we propose an open-source framework that supports engineers and researchers in these tasks by automatically applying error-correcting codes for a given application followed by an automatic noise-aware quantum circuit simulation. Case studies showcase that this allows for a substantially more efficient implementation and evaluation of error-correcting codes.

DOI
10.1109/vlsid57277.2023.00068

Related papers

Towards automatic evaluation of circuit fault-tolerance

Ayman Mondol

Quantum error correction codes are essential for fault-tolerant quantum computing. They are a method of detecting and correcting errors in a quantum computer by encoding logical qubits across multiple physical qubits. Several prominent error correction codes have been developed and larger and more complex codes are being developed continuously. However, evaluating the fault-tolerance of these larger codes is becoming exponentially more complicated. While conventional methods of proving and evaluating the fault-tolerance of these circuits have worked thus far, they are soon to be obsolete. The aim of this thesis is to develop a framework that automatically evaluates the fault-tolerance of a quantum error correction circuit across different hardware architectures. The framework works as follows: it takes a noiseless quantum error correction code; injects hardware-realistic noise into it; and evaluates the fault-tolerance of the resulting noisy circuit by estimating its logical error rate through Monte Carlo sampling. For the injection of hardware-realistic noise, this thesis considers noise stemming from five different quantum computing hardware architectures: superconducting qubits, neutral atoms, trapped ions, photonic qubits, and spin qubits. The noise model was constructed by extracting single-qubit gate, two-qubit gate and measurement error fidelities from current experimental literature. The noise model and circuit generation is implemented in Python, circuit representation and noise injection is executed in Stim and decoding and estimating the logical error rate is achieved through PyMatching. The framework is evaluated on the repetition code, the surface code, and the color code; the logical error rate is estimated across all five hardware architectures under the noise model; and the results are discussed in the context of hardware compatibility for the given codes.

•May 9, 2026•0 citations

An efficient simulation of quantum error correction codes

R. Padma Priya, A. Baradeswaran

The QCAD which has been technologically advanced during last few years to support basic transformations, simulating multi-dimensional quantum devices and circuits. It is most important to demonstrate the theoretical operation of quantum computer using the simulator. Besides of describing various noise models in terms of quantum gates, a direct support of quantum error correction codes. Using the quantum error correction codes, the effects of applying single bit or phase flip error to the quantum circuits are reported along with the error recovery method for different qubit codes. The results are generated using the QCAD simulator. A simulation model for evaluating single qubit error in the proposed quantum circuit is also given. The working software prototype of an extremely efficient quantum computer simulator which is an attractive and versatile tool for both research and education.

Alexandria Engineering Journal•Jul 15, 2017•7 citations

Quantum Error Correction using Quantum Convolutional Neural Network

Niloy Deb Roy Mishu, Mekhala Mariam Mary, A. E. M Ridwan +2 more

Quantum computing with its powerful attributes -entanglement and superposition, is revolutionizing modern computation.Moreover, quantum computation can be applied to a wide range of real-world applications, including cybersecurity and cryptography, computational chemistry, artificial intelligence, prime factorization, and so on.However, the biggest impediment of quantum computation is quantum error.Often the decoherence caused by the environment or any other malfunction creates quantum errors which can arbitrarily change the state of a quantum system and destroying its information content -bit flip & phase flip error, unwanted measurement error, etc.A specific Quantum Error Correction (QEC) code can rectify some particular errors.But, it is usually not optimized for any random error.As of today, 'Deep Learning' techniques in analyzing data have been very promising which is influencing researchers to apply these methods to 'Quantum Computation' problems.We have implemented a Quantum Convolutional Neural Network (QCNN) using Parameterized Quantum Circuit (PQC) on IBM's open source Quantum Computing framework QISKIT.The generic structure of the QCNN consists of variational forms of the encoder and decoder of the error correction code, which is optimized during training.In this way, it constructs a quantum error correction method for a certain error model.We were able to retrieve quantum states with as much as 90% fidelity rate from the experiments.As a result, our model achieves a high fidelity while using relatively few parameters, which can be generalized for any error model.

•Jan 1, 2021•1 citation

Quantum Error Correction: A Review of Foundational Principles and Recent Developments

Oğuz Kaan Üstün

Quantum computing has demonstrated the potential to transform our world, with applications ranging from drug discovery to logistics. One of the largest problems standing in the way of practical quantum computers is the fragility of the quantum states that power them. This fragility inevitably leads to computational errors that require detection and correction. This review leverages peer-reviewed foundational papers published about quantum mechanics, quantum computing and error correction with emphasis on the most recently published research. It a ims to provide an overview of Quantum Error Correction (QEC) for those who have a grasp on the fundamentals of quantum computing and want to explore the gaps in knowledge, recent developments, and future research directions in QEC. Key challenges such as quantum noise, code distance, error threshold, and real-time decoders are presented. Core principles, and the current state of the art in QEC, explaining the strengths and weaknesses of each method, are discussed. The findings of published research in literature are showcased, encompassing the most recent developments. Noting the fascinating progress made in this time frame, it can be concluded that, with cautious optimism, we can expect the creation of QEC schemes capable of facilitating practical quantum computers in the future.

•Dec 23, 2025•0 citations

Quantum Error Correction

Phillip Kaye, Raymond Laflamme, Michele Mosca

A mathematical model of computation is an idealized abstraction. We design algorithms and perform analysis on the assumption that the mathematical operations we specify will be carried out exactly, and without error. Physical devices that implement an abstract model of computation are imperfect and of limited precision. For example, when a digital circuit is implemented on a physical circuit board, unwanted electrical noise in the environment may cause components to behave differently than expected, and may cause voltage levels (bit-values) to change. These sources of error must be controlled or compensated for, or else the resulting loss of efficiency may reduce the power of the information-processing device. If individual steps in a computation succeed with probability p, then a computation involving t sequential steps will have a success probability that decreases exponentially as pt. Although it may be impossible to eliminate the sources of errors, we can devise schemes to allow us to recover from errors using a reasonable amount of additional resources. Many classical digital computing devices use error-correcting codes to perform detection of and recovery from errors. The theory of error-correcting codes is itself a mathematical abstraction, but it is one that explicitly accounts for errors introduced by the imperfection and imprecision of realistic devices. This theory has proven extremely effective in allowing engineers to build computing devices that are resilient against errors. Quantum computers are more susceptible to errors than classical digital computers, because quantum mechanical systems are more delicate and more difficult to control. If large-scale quantum computers are to be possible, a theory of quantum error correction is needed. The discovery of quantum error correction has given researchers confidence that realistic large-scale quantum computing devices can be built despite the presence of errors. We begin by considering fundamental concepts for error correction in a classical setting. We will focus on three of these concepts: (a) the characterization of the error model, (b) the introduction of redundancy through encoding, and (c) an error recovery procedure. We will later see that these concepts generalize quite naturally for quantum error correction.

Oxford University Press eBooks•Nov 16, 2006•0 citations

Implementation of Machine Learning to Correct & Locate the Quantum Errors: Techniques for Systems of Fault-Tolerant Quantum Computing

V. Saravanan, P. Maragathavalli, V. Subha Ramya +3 more

Quantum computation has the promise to solve problems that are not efficiently solvable by classical means. Yet, due to the fragile nature of quantum states, it is unavoidable that quantum systems are subject to decoherence, gate imperfections, and measurement errors. These problems stand as a major roadblock to the construction of large-scale fault-tolerant quantum computers. Conventional quantum error correction (QEC) codes, such as the surface code or Shor code, need to use an extensive amount of redundancy and classical control, which can be both computationally expensive and challenging to scale. In this context, we propose to investigate the use of machine learning (ML) techniques by realizing on-line identification, localization and correction of these quantum errors for fault-tolerant quantum computation by means of fault-tolerant quantum computing processes. Our model introduces a hybrids ML-QEC architecture that combines classical neural networks and decision-tree classifiers with quantum syndrome decoding. These models are trained on error syndromes produced using the approximation of common noise models (for example, depolarizing noise, dephasing and amplitude damping), simulated under different QEC schemes. The machine learning methods are trained with quantum error patterns and have a capability to rapidly infer where errors are likely to occur, as well as recommend correction operations with high confidence. As a result, the system reduces dramatically the delay and computational costs when compared to conventional decoding methods. There is also a self-adaptive learning module in the work, which recommences training on fresh quantum error distributions, meaning the system can adapt to changes in the environment (and also the decay of the hardware) as time progresses. The study further carries out ML predictions inside a real-time loop and cross-checks them with quantum state tomography and entanglement fidelity such as indicators. Experimental characterization on dedicated devices as well as noise models show that our ML-enhanced decoders reach higher fidelity and lower logical error rates compared to baseline decoders, especially in non-uniform or time-dependent noise. This work is a significant stride towards realizing practical fault-tolerant quantum computation by combining quantum error correction with the versatility and scalability of machine learning. With intelligent models to dictate learning, our proposed framework is able to eliminate a lot of trial-and-error manual processes in the conventional heuristic-based approach, and points to a potential path to achieve scalable quantum information processing platforms.

International Conference on Electronics and Computing, Communication Networking Automation Technologies (ICEC2NT)•Sep 3, 2025•3 citations
Due to the fragility of quantum mechanical effects, real quantum computers are plagued by frequent noise effects that cause errors during computations. Quantum error-correcting codes address this problem by providing means to identify and correct corresponding errors. However, most of the research on quantum error correction is theoretical or has been evaluated for specific hardware models only. Moreover, the development of corresponding codes and the evaluation of whether they indeed solve the problem for a particular hardware model, still often rests on tedious trial-and-error thus far. In this work, we propose an open-source framework that supports engineers and researchers in these tasks by automatically applying error-correcting codes for a given application followed by an automatic noise-aware quantum circuit simulation. Case studies showcase that this allows for a substantially more efficient implementation and evaluation of error-correcting codes.
Quantum error correction codes are essential for fault-tolerant quantum computing. They are a method of detecting and correcting errors in a quantum computer by encoding logical qubits across multiple physical qubits. Several prominent error correction codes have been developed and larger and more complex codes are being developed continuously. However, evaluating the fault-tolerance of these larger codes is becoming exponentially more complicated. While conventional methods of proving and evaluating the fault-tolerance of these circuits have worked thus far, they are soon to be obsolete. The aim of this thesis is to develop a framework that automatically evaluates the fault-tolerance of a quantum error correction circuit across different hardware architectures. The framework works as follows: it takes a noiseless quantum error correction code; injects hardware-realistic noise into it; and evaluates the fault-tolerance of the resulting noisy circuit by estimating its logical error rate through Monte Carlo sampling. For the injection of hardware-realistic noise, this thesis considers noise stemming from five different quantum computing hardware architectures: superconducting qubits, neutral atoms, trapped ions, photonic qubits, and spin qubits. The noise model was constructed by extracting single-qubit gate, two-qubit gate and measurement error fidelities from current experimental literature. The noise model and circuit generation is implemented in Python, circuit representation and noise injection is executed in Stim and decoding and estimating the logical error rate is achieved through PyMatching. The framework is evaluated on the repetition code, the surface code, and the color code; the logical error rate is estimated across all five hardware architectures under the noise model; and the results are discussed in the context of hardware compatibility for the given codes.
The QCAD which has been technologically advanced during last few years to support basic transformations, simulating multi-dimensional quantum devices and circuits. It is most important to demonstrate the theoretical operation of quantum computer using the simulator. Besides of describing various noise models in terms of quantum gates, a direct support of quantum error correction codes. Using the quantum error correction codes, the effects of applying single bit or phase flip error to the quantum circuits are reported along with the error recovery method for different qubit codes. The results are generated using the QCAD simulator. A simulation model for evaluating single qubit error in the proposed quantum circuit is also given. The working software prototype of an extremely efficient quantum computer simulator which is an attractive and versatile tool for both research and education.
Quantum computing with its powerful attributes -entanglement and superposition, is revolutionizing modern computation.Moreover, quantum computation can be applied to a wide range of real-world applications, including cybersecurity and cryptography, computational chemistry, artificial intelligence, prime factorization, and so on.However, the biggest impediment of quantum computation is quantum error.Often the decoherence caused by the environment or any other malfunction creates quantum errors which can arbitrarily change the state of a quantum system and destroying its information content -bit flip & phase flip error, unwanted measurement error, etc.A specific Quantum Error Correction (QEC) code can rectify some particular errors.But, it is usually not optimized for any random error.As of today, 'Deep Learning' techniques in analyzing data have been very promising which is influencing researchers to apply these methods to 'Quantum Computation' problems.We have implemented a Quantum Convolutional Neural Network (QCNN) using Parameterized Quantum Circuit (PQC) on IBM's open source Quantum Computing framework QISKIT.The generic structure of the QCNN consists of variational forms of the encoder and decoder of the error correction code, which is optimized during training.In this way, it constructs a quantum error correction method for a certain error model.We were able to retrieve quantum states with as much as 90% fidelity rate from the experiments.As a result, our model achieves a high fidelity while using relatively few parameters, which can be generalized for any error model.
Quantum computing has demonstrated the potential to transform our world, with applications ranging from drug discovery to logistics. One of the largest problems standing in the way of practical quantum computers is the fragility of the quantum states that power them. This fragility inevitably leads to computational errors that require detection and correction. This review leverages peer-reviewed foundational papers published about quantum mechanics, quantum computing and error correction with emphasis on the most recently published research. It a ims to provide an overview of Quantum Error Correction (QEC) for those who have a grasp on the fundamentals of quantum computing and want to explore the gaps in knowledge, recent developments, and future research directions in QEC. Key challenges such as quantum noise, code distance, error threshold, and real-time decoders are presented. Core principles, and the current state of the art in QEC, explaining the strengths and weaknesses of each method, are discussed. The findings of published research in literature are showcased, encompassing the most recent developments. Noting the fascinating progress made in this time frame, it can be concluded that, with cautious optimism, we can expect the creation of QEC schemes capable of facilitating practical quantum computers in the future.
A mathematical model of computation is an idealized abstraction. We design algorithms and perform analysis on the assumption that the mathematical operations we specify will be carried out exactly, and without error. Physical devices that implement an abstract model of computation are imperfect and of limited precision. For example, when a digital circuit is implemented on a physical circuit board, unwanted electrical noise in the environment may cause components to behave differently than expected, and may cause voltage levels (bit-values) to change. These sources of error must be controlled or compensated for, or else the resulting loss of efficiency may reduce the power of the information-processing device. If individual steps in a computation succeed with probability p, then a computation involving t sequential steps will have a success probability that decreases exponentially as pt. Although it may be impossible to eliminate the sources of errors, we can devise schemes to allow us to recover from errors using a reasonable amount of additional resources. Many classical digital computing devices use error-correcting codes to perform detection of and recovery from errors. The theory of error-correcting codes is itself a mathematical abstraction, but it is one that explicitly accounts for errors introduced by the imperfection and imprecision of realistic devices. This theory has proven extremely effective in allowing engineers to build computing devices that are resilient against errors. Quantum computers are more susceptible to errors than classical digital computers, because quantum mechanical systems are more delicate and more difficult to control. If large-scale quantum computers are to be possible, a theory of quantum error correction is needed. The discovery of quantum error correction has given researchers confidence that realistic large-scale quantum computing devices can be built despite the presence of errors. We begin by considering fundamental concepts for error correction in a classical setting. We will focus on three of these concepts: (a) the characterization of the error model, (b) the introduction of redundancy through encoding, and (c) an error recovery procedure. We will later see that these concepts generalize quite naturally for quantum error correction.
Quantum computation has the promise to solve problems that are not efficiently solvable by classical means. Yet, due to the fragile nature of quantum states, it is unavoidable that quantum systems are subject to decoherence, gate imperfections, and measurement errors. These problems stand as a major roadblock to the construction of large-scale fault-tolerant quantum computers. Conventional quantum error correction (QEC) codes, such as the surface code or Shor code, need to use an extensive amount of redundancy and classical control, which can be both computationally expensive and challenging to scale. In this context, we propose to investigate the use of machine learning (ML) techniques by realizing on-line identification, localization and correction of these quantum errors for fault-tolerant quantum computation by means of fault-tolerant quantum computing processes. Our model introduces a hybrids ML-QEC architecture that combines classical neural networks and decision-tree classifiers with quantum syndrome decoding. These models are trained on error syndromes produced using the approximation of common noise models (for example, depolarizing noise, dephasing and amplitude damping), simulated under different QEC schemes. The machine learning methods are trained with quantum error patterns and have a capability to rapidly infer where errors are likely to occur, as well as recommend correction operations with high confidence. As a result, the system reduces dramatically the delay and computational costs when compared to conventional decoding methods. There is also a self-adaptive learning module in the work, which recommences training on fresh quantum error distributions, meaning the system can adapt to changes in the environment (and also the decay of the hardware) as time progresses. The study further carries out ML predictions inside a real-time loop and cross-checks them with quantum state tomography and entanglement fidelity such as indicators. Experimental characterization on dedicated devices as well as noise models show that our ML-enhanced decoders reach higher fidelity and lower logical error rates compared to baseline decoders, especially in non-uniform or time-dependent noise. This work is a significant stride towards realizing practical fault-tolerant quantum computation by combining quantum error correction with the versatility and scalability of machine learning. With intelligent models to dictate learning, our proposed framework is able to eliminate a lot of trial-and-error manual processes in the conventional heuristic-based approach, and points to a potential path to achieve scalable quantum information processing platforms.