Abstract
The development and use of large-scale quantum computers relies on integrating quantum error-correcting (QEC) schemes into the quantum computing pipeline. A fundamental part of the QEC protocol is the decoding of the syndrome to identify a recovery operation with a high success rate. In this work, we implement a decoder that finds the recovery operation with the highest success probability by mapping the decoding problem to a spin system and using Population Annealing to estimate the free energy of the different error classes. We study the decoder performance on a 4.8.8 color code lattice under different noise models, including code capacity with bit-flip and depolarizing noise, and phenomenological noise, which considers noisy measurements, with performance reaching near-optimal thresholds for bit-flip and depolarizing noise, and the highest reported threshold for phenomenological noise. This decoding algorithm can be applied to a wide variety of stabilizer codes, including surface codes and quantum Low-Density Parity Check (qLDPC) codes.
Keywords: decoder, population annealing, quantum error correction, color codes
1. Introduction
The development of quantum computers has experienced rapid progress in recent years. These efforts have materialized in technological and theoretical developments in multiple platforms such as superconducting circuits [1,2,3,4], ion traps [5,6,7,8,9,10], neutral atoms [11,12,13,14,15] or photonic devices [16], while these developments continue to improve the quality of quantum processors, the main challenge towards practical quantum advantage lies in the fragile nature of quantum states. The realization of reliable, universal large-scale quantum computations thus requires the development of fault-tolerant quantum error correction (QEC) protocols capable of detecting and correcting the effects of noise, and unlocking the most powerful capabilities of quantum computation [17,18,19,20]. Stabilizer codes [21] stand as one of the most powerful tools for QEC. These QEC codes encode logical information in non-local degrees of freedom of multi-qubit states, and allow for the detection and correction of errors through the measurement of stabilizer operators (or parity checks). The set of measurement results for the stabilizer operators of a given QEC protocol is called syndrome, and the algorithm that infers a correction from the syndrome is called decoder. Currently, the most prominent families of codes include surface codes [22,23,24], color codes [25,26] and qLDPC codes [27,28,29,30,31,32]. The threshold theorem [33,34,35] states that the logical error rate can be arbitrarily suppressed with fault-tolerant protocols by scaling the size of the code, as long as the physical error rate remains under a critical threshold.
The error threshold of a given protocol has an upper bound given by the properties of the code. This optimal threshold can be obtained by mapping the errors on the QEC protocol into a classical statistical-mechanical model [24,36,37,38]. However, in a practical implementation, the threshold of a protocol is limited by our capacity to decode the information from the syndrome to infer a recovery operation. The problem of decoding requires a classical algorithm that is fast enough to match the rate at which the syndrome is generated, avoiding a backlog problem [20]. In addition, achieving a high threshold necessitates an algorithm with high accuracy. Therefore, there is a trade-off between decoding quality and decoding time, where more accuracy can usually be obtained at the expense of a higher computational cost. The study of this trade-off has encouraged the development of multiple decoding algorithms in recent years [39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54].
Recently, Simulated Annealing (SA) [55] has been tested for the implementation of decoders for the color code [56] and surface code [57]. This approach is used to select a correction by finding the minimum-weight error chain compatible with the error syndrome observed. However, it is known from the mapping of QEC codes to spin systems that the optimal decoding process, also known as maximum-likelihood decoding, can be achieved by estimating free energy values [24,36,37,58,59].
In this work, we implement a modified version of the SA algorithm, known as Population Annealing (PA) [60,61], for the decoding problem. In PA, a resampling step is introduced that helps to avoid local minima and, most importantly, allows for the estimation of the free energies. Therefore, our proposed decoder can be used to find the recovery operation with the maximum success probability, pushing the threshold of the decoder closer to the optimal theoretical thresholds. We test the decoder on a triangular color code with the square-octagon (4.8.8) lattice, reaching a threshold of 10.81% for code capacity noise (errors happen before an ideal round of stabilizer readout) with bit-flip noise, close to the estimated optimal threshold of 10.9% found in Refs. [36,59]. It surpasses the threshold of previous decoders, such as the threshold of 10.36% obtained recently using SA [56], the 10.2% obtained using the more efficient restriction decoder with MWPM [47] or the 9.8% obtained when implementing the restriction decoder using the more scalable union-find algorithm [47], which scales almost-linealy with the number of qubits used for encoding. When applied to the case of code capacity with depolarizing noise, we achieve a threshold of 18.75%. This result is close to the estimated optimal threshold of 18.78% [37] and improves over the previous result of 18.47% obtained using SA [56] or the 17.5% obtained using neural networks [42]. Finally, for the phenomenological noise model, which includes errors in the stabilizer measurements, we achieve a threshold of 3.47%, improving over the 2.9% obtained by SA [56] and the using the more efficient graph matching decoder [41], while higher than the optimal threshold obtained for the surface code under phenomenological noise [62], the optimal threshold under this noise model was estimated at 4.8% for the hexagonal color code lattice [38,63]. The discrepancy between the thresholds for phenomenological noise could be caused by factors such as boundary conditions or finite-size effects. We leave the analysis of these effects for future work.
The manuscript is structured as follows: In Section 2, we introduce basic concepts related to stabilizer codes, color codes, their mapping to spin systems, and how optimal decoding can be achieved by estimating the free energy associated with a syndrome. In Section 3, we explain the population annealing algorithm and how it can be used to estimate free energies. In Section 4, we explain details of our numerical simulations and present the results of our simulations for different error models, namely bit-flip, depolarizing, and phenomenological noise. Then, in Section 5, we provide insight on how the quality of the decoding behaves with the amount of computational resources used for decoding. We also explain how these results can be used as a guide for finding appropriate values of the hyperparameters that minimize the decoding time. Finally, in Section 6 we conclude with final remarks and ideas for further extensions of this work.
Contributions
The main contributions of the present work are as follows:
We introduce the first application of Population Annealing (PA) to quantum error correction, a modified simulated annealing algorithm that incorporates resampling steps to avoid local minima and enables free energy estimation for maximum-likelihood decoding. The algorithm is applicable to CSS codes under bit-flip, depolarizing and phenomenological noise models.
Unlike previous SA-based decoders that minimize error weights (most likely error), our PA decoder finds recovery operations with maximum success probability (most likely error class). This leads to an increase in decoding accuracy with a comparable computational cost.
We demonstrate significant threshold improvements over existing methods on the triangular color code with the square-octagon lattice: 10.81% for bit-flip noise (vs. 10.36% with SA [56], 10.2% with restriction + MWPM [47]), 18.75% for depolarizing noise (vs. 18.47% with SA [56], 17.5% with neural networks [42]), and 3.47% for phenomenological noise (vs. 2.9% with SA [56], 2.08% with graph matching [41]).
We provide methods for hyperparameter optimization to balance decoding performance and computational cost, and suggest avenues for further reduction in decoding time.
2. Background
2.1. Color Codes
Stabilizer codes are a family of quantum error correcting (QEC) codes characterized by sets of operators called stabilizers. The stabilizer operators subdivide the Hilbert space of the multiqubit system into orthogonal subspaces. The logical information is encoded into one of these subspaces, called the code space. The code space is usually chosen as the subspace for which all stabilizer operators simultaneously have a eigenvalue. Pauli errors on individual qubits anticommute with the stabilizers, and bring the state out of the code space. By measuring stabilizer operators, it is possible to detect, identify and correct errors [21]. The result of the stabilizer measurements is called syndrome.
2D Color codes (from now on referred as color codes) are a family of stabilizer codes that can be defined on planar three-colorable lattices [25]. Each vertex has three incident edges (except for the vertices on the corners of the lattice), and each face can be colored in one of three colors, in a way that any two faces sharing an edge have different colors (see Figure 1). The vertices of the lattice represent data qubits. The colored faces represent stabilizer operators and , where and represent the Pauli operator Z or X applied on qubit i, and F represents the set of qubits that belong to that face. The logical operators and commute with all stabilizer operators and act on the encoded information. They can be written as a product of Pauli operators on individual qubits; e.g., , where is a subset of qubits that forms the support of the logical operator (see Figure 1). For the triangular color code lattice, both and can have their support over the same set of qubits. Note that the support of the logical operators is not unique, and can be modified by multiplying stabilizer operators.
Figure 1.
A triangular color code of distance , with the square-octagon lattice (4.8.8). Qubits are placed on the vertices of the lattice, and stabilizers and have support on the vertices of each colored face. The logical operators apply to the qubits along any of the sides of the triangular lattice. An example of the support of the logical operators and is shown in red.
The decoding problem consists on the interpretation of the syndrome to infer a recovery operation that brings the state back to the code space and preserves the logical information encoded in the code with a high probability of success. In the following section, we explain how the decoding problem for color codes can be mapped to a spin system.
2.2. Mapping the Code to a Spin System
The first step of the mapping consists of the decomposition of potential error chains compatible with a syndrome S. Note that, given an error chain that generates a syndrome S, we can find alternative error chains compatible with that syndrome by multiplying with a product of stabilizer operators and logical operators. In this section, we explain the mapping for an error model where independent bit-flips happen on the data qubits with probability p before a single round of ideal stabilizer measurement. This derivation, as well as the derivation for depolarizing and phenomenological noise, can be found in Ref. [56]. We consider to be a complete set of stabilizer generators of the code. For a stabilizer code, an error can be decomposed into a product of three components: the set of destabilizers (or “pure error”) that corresponds to the syndrome S, a subset of stabilizer generators and a logical operator L [64]:
| (1) |
This expression can be rewritten in terms of binary variables, such that for each qubit i, represents if qubit i belongs to the error configuration :
| (2) |
where represents the action of the destabilizer corresponding to syndrome S on qubit i, is a binary variable that represents if the stabilizer generator k is being applied (if then ), represents the set of stabilizer generators with support on qubit i, represents the support of the logical operator on qubit i, and l is a binary variable that represents if the logical operator is being applied.
We can explore all error configurations compatible with a syndrome S by changing the terms and l. Notably, changing by applying a different subset of stabilizer generators leads to alternative error configurations with an equivalent effect on the encoded information. Thus, when trying to find a correction for an error, we are only concerned about finding the error class L to which it belongs, i.e., if the effect of an error corresponds to a logical operation on the encoded information. Note that this mapping can be applied to any stabilizer code, as long as we can define a destabilizer operator for any possible syndrome S.
The second step consists on mapping to a spin configuration , where each spin corresponds to one of the stabilizer generators in : . In this way, inverting the sign of a spin would change the error configuration by the action of a stabilizer operator, leading to an equivalent error chain . Similarly, we can rewrite the binary terms corresponding to the destabilizer and the logical operator in Equation (2) as a coupling , with . This change allows us to rewrite Equation (2) in terms of the spin variables:
| (3) |
Using this expression, the total number of errors can be written as
| (4) |
where N is the total number of qubits. Therefore, by ignoring the constant term, we can write an Ising Hamiltonian for the system as
| (5) |
which for color codes corresponds to a random three-body Ising model with spins located at plaquette centers. Note that for each error class l we find a Hamiltonian with different couplings between the spins. By finding the spin configuration that minimizes the Hamiltonian for each value of l, we can then find the error configuration with the minimum number of errors, which is also the most probable error configuration.
A similar mapping can be derived for the depolarizing noise model, where independent Pauli errors occur with equal probability according to the following:
| (6) |
where the map represents the effect of depolarizing noise on the state of a qubit. The mapping considers two spins for each plaquette (as each plaquette has X and Z stabilizers), and the resulting model can be interpreted as two random three-body Ising models coupled by a six-body interaction (due to Y errors interacting with three X stabilizers and three Z stabilizers) [37,56]. For this case, we must consider two logical operators, and . This leads to four homology classes: one for the case where no logical error happened, and one for each , , and case. The derivation of this mapping can be found in Refs. [37,56].
The last error model that we consider in this work is phenomenological noise, where independent bit-flips occur on the data qubits with probability p, and stabilizer measurement errors occur with probability q. For this error model, multiple rounds of stabilizer measurement are considered to protect against measurement errors. The couplings for this case result in a 3D random-plaquette gauge model, where we have spatial spins located at the center of each plaquette, and temporal spins located at each qubit position. The details of the mapping for this problem are shown in Refs. [38,56]. In this work, we study the case and for a code of distance d, with d rounds of noisy stabilizer measurement. The model can be generalized to cases with [63].
Note that for a realistic scenario, one would need to consider the different faulty gates required for stabilizer measurement in a circuit-level noise model, while some mappings have been studied for this case [65,66], the adaptation of the decoder for this model require some further considerations that are beyond the scope of this work.
2.3. Optimal Decoding
While finding the minimum-weight error chain that accounts for the observed syndrome is a valid criterion for the selection of a correction, it is only an approximation to the optimal decoding scheme. The optimal decoding can be achieved in the following way: Let us consider the probability of an error with an associated syndrome S:
| (7) |
In the following, we consider that any error chain can be defined by a spin configuration and a homology class l, with a set of coefficients given by the measured syndrome S. Using the expression in Equation (3) and performing a change in variable given by , we obtain
| (8) |
Finally, this probability can be written as
| (9) |
which is proportional to a Boltzmann factor with energy at inverse temperature .
To obtain the optimal correction, we do not need to find the exact original error, it is enough to perform a correction that belongs to the same homology class as the original error. If this is not the case, then the combination of the original error and the correction introduces a logical error. Thus, the best decoding strategy consists of estimating the most likely homology class. This can be obtained by performing the sum of the probabilities of all possible errors in each homology class:
| (10) |
where is the partition function of the Hamiltonian at inverse temperature . The most likely homology class can then be obtained by evaluating the value of , if this value is bigger (smaller) than 1, then the homology class () is the most likely. This result can be related to the free energy F since
| (11) |
where is the difference in free energy between the two homology classes. Therefore, by estimating , we can find the most likely error class, maximizing the success probability of the decoding operation.
This method can also be applied to other error models, like depolarizing noise or phenomenological noise. For depolarizing noise, we consider Pauli errors on the physical qubits occurring with probability (see Equation (6)). Using the mapping described in Ref. [56], it can be found that the target inverse temperature for this model is given by
| (12) |
To find the optimal recovery operation, one must find the most likely homology class, given by the combinations of the logical operators and . Generally, for a code with k independent logical operators, the optimal decoder should explore the different homology classes for the bit-flip noise case (or for the depolarizing noise case) to find the optimal correction.
3. Population Annealing
Population annealing (PA) [60,61] is an algorithm closely related to the Simulated Annealing (SA) algorithm [55]. Both are sequential Monte Carlo algorithms that start with a set of R replicas , , which in our case of interest are spin configurations. These replicas have an energy associated with a given Hamiltonian and, when their spin values are initialized randomly, they can be considered as samples from a Boltzmann distribution at a temperature or inverse temperature . Given a replica with energy E, it is possible to propose a change to it (e.g., a single spin flip) that results in the configuration with energy . To transform our replicas from thermal distribution samples with to samples corresponding to , we accept or reject these changes with a probability given by the Metropolis–Hastings rule [67]:
| (13) |
Eventually, after proposing enough changes, the resulting replicas will approximate the result of sampling from the Boltzmann distribution at inverse temperature . This process can be iterated for increasing inverse temperature values , with , until reaching a target temperature . These steps constitute the simulated annealing algorithm.
In the PA algorithm, when changing the temperature of the system from to , a resampling between the replicas is performed by associating a probability proportional to the relative Boltzmann weights between each temperature to each replica:
| (14) |
with the normalization factor
| (15) |
There are different ways of resampling using these probabilities. In this work, we chose to implement the so-called systematic resampling approach, which keeps the number of replicas constant at all times, requires only one randomly generated number for each resampling step, and was found to introduce fewer statistical errors as compared to other resampling methods [68]. To visualize how systematic resampling works, let us consider a line of unit length. Each replica can be positioned in this line with a length equal to its corresponding value (see Figure 2). This resampling is implemented by generating a random number and selecting R positions given by the values with . Each of these values will be associated with a replica. The set of replicas associated with the R values will be the new set of resampled replicas. This completes the resampling process.
Figure 2.
Schematic representation of the systematic resampling procedure for a set of replicas with weights , . The original replicas (top row) are assigned a weight relative to their Boltzmann factor (middle row). Generating a random number , and using these weights and the values , with , one can obtain a new set of resampled replicas (bottom row).
The resampling step and the acceptance-rejection defined by the Metropolis–Hastings rule are complementary to each other. On the one hand, when applying the SA algorithm alone, the replicas can become stuck in local minima and are less likely to escape as the temperature decreases. This reduces the number of effective replicas, resulting in a less efficient use of the computational resources. This effect is mitigated by resampling the replicas, which introduces a mechanism for these trapped replicas to escape. On the other hand, while the resampling step introduces correlations between replicas that are resampled to the same configuration, this is alleviated by the acceptance-rejection protocol, which uncorrelates the replicas step by step.
However, the most important consequence of introducing this resampling step is that it can be used to estimate the free energy, , at the target temperature [61]. This can be obtained as follows:
| (16) |
where is the total number of possible configurations. As explained in Section 2.3, estimating the values of the free energies for different homology classes can be used to achieve optimal decoding in QEC codes for different error models. In the following section, we explain and present in detail our simulations of PA as a decoder for the color code.
4. Numerical Results
4.1. Simulation Details
We simulate the decoding process on triangular color code lattices for different code distances d and error rates p around the expected value of the threshold corresponding to each error model. For these decoding simulations, we use replicas, inverse temperature steps following a linear inverse temperature schedule, and sweeps over all the spin variables, where a sweep consists of going over each of the spins (stabilizers) of the code always in the same order and accepting or rejecting a change in its value based on Equation (13). We note that these values of the hyperparameters correspond to computational resources that are far above those required for the correct behavior of the PA decoder, and that the decoder behavior is largely insensitive to the specific choice of R, , and as long as W is high enough [69,70]. We use the additional resources to ensure that the decoder finds the optimal correction for all the cases. The optimization of the hyperparameters is further discussed in Section 5. We also note that the PA decoder dedicates most of the computing time on the acceptance or rejection of spin-flip candidates. A non-parallelized version of our code using an AMD Ryzen 9 5950x 3.4 GHz (AMD (Advanced Micro Devices), Santa Clara, CA, USA) requires 7 ns for each candidate. However, our implementation takes advantage of CPU parallelization, which considerably improves the algorithm speed, reducing the time per candidate to approximately ns in our simulations. As an example, for the bit-flip noise model, which has homology classes, and for code distance ( spins), the time required for decoding is s.
With the current implementation, the application of the decoder in a real-time scenario is unfeasible for most quantum computing platforms, where a single round of stabilizer measurements can be of the order of 1 μs in superconducting architectures [71]. However, the computational time could be greatly reduced by paralellization, as the computation for different replicas and homology classes could be performed in parallel. For the particular example above, that parallelization could lead up to a times increase in computational speed if sufficient computational cores are available. This level of parallelization could be possible with dedicated hardware or GPUs [72,73]. We note that these computational resources are intentionally high for such a small code distance, and were chosen to ensure reliable convergence across all code distances and noise models considered in this work. Additional methods to reduce computational time are discussed in Section 6, which together with parallelization could further reduced the execution time of the decoder. Beyond the optimization of the execution time, a real-time implementation of the decoder would require the capability to adquire new syndrome information dynamically by doing, e.g., window decoding [74]. The study of a dynamic implementation of the decoder is left for future work.
From the simulation results, we obtain the probability of a logical error for each value p and d. With these results, we assume a critical scaling ansatz to estimate the corresponding threshold. Using this ansatz, we expect to behave as a linear function around the threshold, given by
| (17) |
where A and B are linear fit parameters, is the critical exponent, and is the value of the threshold. For this approximation to be accurate, we perform the fit considering only points close to the threshold. Also, we only consider high enough distances so that finite-size effects do not affect our analysis.
4.2. Bit-Flip Noise
For the bit-flip noise model, we consider independent bit-flip errors on the data qubits and a single round of ideal stabilizer measurement. As explained in Section 2.3, for bit-flip noise we have to estimate the free energies associated with the two different homology classes. We simulate the decoding process under independent bit-flip noise to obtain the logical error probabilities for distances for a total of decoding instances for each code distance and error probability. We show the results of these simulations in Figure 3. Fitting these results to Equation (17) we obtain the following values:
| (18) |
Figure 3.
Results from the simulation of the population annealing decoder applied to the 4.8.8 color code with bit-flip noise for different code distances d and bit-flip error probabilities p. The dots represent the logical error rate obtained from the simulations, with each point being obtained from decoding instances. The lines represent the corresponding linear fit described in Equation (17) for different distances. Inset: Data collapse obtained from the finite-size scaling ansatz shown in Equation (17) and used to extract the threshold.
For this case, we find that using the PA decoder to estimate free energies improves the quality of the decoding process as compared to finding the minimum-weight error chain using SA, for which the threshold found in Ref. [56] is . Additionally, the value that we find for the threshold is close to the optimal threshold of 10.9% estimated in Refs. [36,51].
4.3. Depolarizing Noise
In this model, we consider independent Pauli errors on each data qubit (see Equation (6)) and a single round of ideal stabilizer measurement. For depolarizing noise, we have to estimate the free energies associated with four different homology classes. We simulate the decoding process under depolarizing noise to obtain the logical error probabilities for distances for a total of decoding instances for each code distance and error probability. We show the results of these simulations in Figure 4. Fitting these results to Equation (17), we obtain the following values:
| (19) |
Figure 4.
Results from the simulation of the population annealing decoder applied to the 4.8.8 color code with depolarizing noise for different code distances d and error probabilities p. The dots represent the logical error rate obtained from the simulations, with each point being obtained from decoding instances. The lines represent the corresponding linear fit described in Equation (17) for different distances. Inset: Data collapse obtained from the finite-size scaling ansatz shown in Equation (17) and used to extract the threshold.
For this case, we find again that using the PA decoder to estimate free energies improves the quality of the decoding process as compared to finding the minimum-weight error chain, for which the threshold found in Ref. [56] was . Additionally, the value that we find for the threshold is in close agreement with the 18.9% optimal threshold numerically obtained for the 6.6.6 color code and the value estimated for the 4.8.8 color code of 18.78% in Ref. [37].
4.4. Phenomenological Noise
In this noise model, we consider independent bit-flip errors happening with probability p on data qubits at each round of stabilizer measurements, and incorrect measurement results with probability q. In particular, we assume for all simulations. Since we consider only bit-flip errors, we need to estimate the free energies associated with two different homology classes. We simulate the decoding process under phenomenological noise to obtain the logical error probabilities for distances for a total of decoding instances for each code distance and error probability. We show the results of these simulations in Figure 5. For the values of p and d used in these simulations, we observe a deviation from a linear fit. Therefore, we perform a fit similar to Equation (17) but including a quadratic term, described by the parameter C, and given by:
| (20) |
We obtain the following values:
| (21) |
Figure 5.
Results from the simulation of the population annealing decoder applied to the 4.8.8 color code with phenomenological noise for different code distances d and error probabilities p. The dots represent the data obtained from decoding instances. The lines represent the corresponding result of the quadratic fit described in Equation (20) for different distances. Inset: Data collapse obtained from the finite-size scaling ansatz shown in Equation (20) and used to extract the threshold.
Once again, we find that using the PA decoder to estimate free energies improves the quality of the decoding process as compared to finding the minimum-weight error chain, for which the threshold found in Ref. [56] with SA was . Our result sits above the optimal threshold of estimated for surface codes [62], while the authors are not aware of any study of the optimal threshold for 4.8.8 color codes under phenomenological noise, it does not match the optimal threshold estimated for the hexagonal color code at 4.8% [38,63]. The reason for this discrepancy deserves further study, but it is beyond the scope of this work.
5. Resource Optimization
The previous results were obtained by using more computational resources than needed to ensure that we obtained high-fidelity threshold values. However, in practice, one would want to reach a compromise between the quality of the solutions and computational resources, i.e., the time required for decoding. In the following, we study the relation between these two quantities. Although we show the analysis applied to the bit-flip noise model, the ideas presented here are directly applicable to the other noise models presented in this work.
The population annealing decoder for the bit-flip noise model works by estimating the free energy of the two possible homology classes and choosing the corresponding correction based on the difference between them, . However, since population annealing uses a limited amount of computational resources (number of replicas and spin flips), the estimate obtained has an associated variance . We study how this variance increases the probability of logical error in the following way: For a given bit-flip probability and code distance, we simulate several instances with a high number of resources to obtain an estimate of the distribution with sufficiently small error (see Figure 6). We know that some of these instances will correspond to successful corrections, denoted as , while the rest will correspond to failed corrections, . As previously explained, in a real implementation of the decoder there will be an error in the estimation of due to using a finite number of computational resources. The value of plus this error might result in a negative value. For these cases, the decoder finds the opposed homology class than the one which the optimal decoder would find. Therefore, an error configuration that an optimal decoder would successfully correct, can lead to a logical error with the finite-resource decoder due to the error in the estimation of . We denote the probability of this happening as . Similarly, the error can transform a correction that would otherwise be a failed correction into a successful one, . As a consequence, the logical error probability, , is increased by :
| (22) |
with
| (23) |
where can be obtained by using the estimated distribution and the value of associated with using a finite number of computational resources. Specifically, the value () can be obtained by performing the convolution of () with a normal distribution of mean zero and variance and calculating the area that corresponds to negative values.
Figure 6.
Histogram representation used to estimate the probability densities (green) and (red) which correspond to the distributions of free-energy differences for successful and failed PA decoding events, respectively. The quantity measures the absolute free-energy difference obtained from the PA algorithm for the two homology classes of the bit-flip model. Data are shown for code distances and . These histograms were obtained by simulating instances of PA decoding for each distance. For each instance, the PA decoder used a high number of resources, specifically replicas, temperature steps, and sweeps, to achieve a small error in the histograms.
The previous derivation introduces a way to relate the quality of the decoding process with the error in the estimate of . We have tested this relation on the color code with and . We use the PA decoder for a fixed value of temperature steps while changing the value of . For each of these values, we estimate the corresponding value of by simulating 200 decoding instances 100 times each. We can use the obtained value of the variance and the histograms of to obtain the estimated value of . We then simulate decoding instances for each value of d and to estimate and subtract the estimated value of for those values of d and p. The results obtained from our estimation method and those found from simulations are in close agreement and are shown in Figure 7.
Figure 7.
Comparison of the relative change in logical error probability estimated by using the histograms in Figure 6 and Equation (23) (points with error bars), and the corresponding values obtained by numerical simulation (continuous lines) for codes of distances with . We simulate eight values of where the number of replicas R and the number of sweeps are increased. These values are sweeps and replicas. This illustrates how the histogram approach predicts the errors resulting from direct simulation with some given computational resources.
Using this approach, it is possible to set a maximum target value of and find the corresponding value of . The optimization problem is then transformed into finding the value of the parameters (number of replicas, number of temperature steps, and number of spin flips per temperature) that achieves that variance value. Although one can simplify this three-dimensional problem by fixing two of these parameters while scanning different values of the remaining one (similar to what is shown in Figure 7), a better optimization would require a three-dimensional scan of the parameters.
We conclude this section by noting that a similar analysis can be performed by fixing the distance of the code and considering different values of p. An example of this process is shown in Figure 8 for . We can see that, given some computational resources , and for decreasing values of p below the threshold, the values of move away from zero. Thus, it is expected for the value to decrease given a fixed value of . Moreover, using the histogram analysis, we see that the value also decreases with p (see Figure 9), with the case close to the threshold being the most expensive case in terms of computational resources. This insight can be useful for reducing the decoding times in codes with error probabilities far from the threshold.
Figure 8.
Histogram representation used to estimate the probability densities and which correspond to the distributions of free-energy differences for successful and failed PA decoding events, respectively. The quantity measures the absolute free-energy difference obtained from the PA algorithm for the two homology classes of the bit-flip model. Data are shown for a code with distance and different values of p. These histograms were obtained by simulating instances of PA decoding for each value of p. For each instance, the PA decoder used a high number of resources, specifically replicas, temperature steps, and sweeps, to achieve a small error in the histograms. Since the number of incorrect decodings for is small, we include an inset with a zoom in the relevant region.
Figure 9.
Comparison of the relative change in logical error probability, , due to finite resources for a code distance and for different values of p and values of chosen to be sweeps and replicas, with temperature steps. These results are obtained using histograms such as those shown in Figure 8. As can be seen, given a number of computational resources, , the relative error decreases with p. This means that for a target relative error, , the number of computational resources can be decreased as p decreases.
6. Conclusions and Outlook
In this work, we have shown an implementation of the population annealing algorithm as a color code decoder. This algorithm is based on a mapping of the color code lattice to a spin model, as shown in Ref. [56]. We introduce the use of population annealing, allowing the estimation of the free energy of the different homology classes. This can be used to infer the most probable error class instead of the most probable error case. As a result, we obtain improved thresholds and a higher decoding success rate, which leads to lower logical error rates for the same physical error rate. Our numerical results show that our decoder can reach near-optimal thresholds under code capacity noise (bit-flip and depolarizing) and a high threshold for phenomenological noise.
We provide methods to optimize the hyperparameters of the algorithm, thus reducing the computational resources and time required for a given performance. Additionally, considerable efforts have been made to optimize the code that implements the population annealing decoder. However, the computational runtime required could become a limiting factor when scaling the lattice, preventing the possibility of a real-time decoder implementation for fault-tolerant quantum computation. This can be more challenging in platforms with very fast gates like superconducting qubits, where a QEC cycle can be executed in under 1 μs. Nevertheless, some changes could further increase the speed of the decoder. From the algorithmic side, the PA algorithm can perform multiple independent runs with fewer replicas each and perform a weighted average of the results. This results in a reduction in the statistical and systematic errors as compared to making a single PA run with all the replicas [61,75], which is the case for the implementation in this work. Furthermore, studying possible cluster updates applicable to the color code spin model would be interesting. Cluster updates, as opposed to the single-spin flips used by our algorithm, could reduce the steps needed for thermalization [76,77]. From the hardware side, our decoder, similar to the one shown in Ref. [56], is highly parallelizable, while one could take advantage of this by using better CPUs with more parallelization capabilities, or even multiple CPUs, we believe that the most interesting approach would be the implementation of the code in GPUs. The PA algorithm has already been implemented in GPUs, achieving impressive improvements in the performance of the algorithm [72,73], considerably reducing the average time required per spin flip thanks to the parallelization capabilities of GPUs. We leave the study of the performance of the PA decoder using a GPU implementation and the analysis of the scaling of computational resources for future work. Finally, similar to the SA decoder, a trade-off exists between performance and decoding time. Thus, one could also decrease the decoding quality in exchange for a faster decoding algorithm.
While we have focused on the study of the decoder applied to color codes, the algorithm can be easily applied to other CSS codes, e.g., surface codes or qLDPC codes [27,28,29,30,31,32]. The spin mapping for other CSS codes follows the same equations described in this work, where spins are assigned to stabilizers, and stabilizers sharing a qubit would be coupled. The couplings between spins can be found from the support of the logical operators and any destabilizer operator (as the choice of destabilizer is not unique). The main challenge for the application to other codes is to find an efficient way of computing the destabilizer operator for a given syndrome. For some codes, it is possible to find a destabilizer operator for each stabilizer in the code, which allows the computation of the destabilizer for any syndrome S as a linear combination of the destabilizers of the excited stabilizers. However, for some codes (e.g., surface code with periodic boundary conditions) it might not be possible to find destabilizers for a single stabilizer excitation, as those syndromes would not be allowed (due to, e.g., excitations being created and destroyed in pairs). In those cases, the destabilizer can be computed for each syndrome, e.g., by using any other decoder, which may require further computational resources. The last consideration concerns the resource requirements for codes with multiple logical qubits encoded, since the decoder relies on estimating the free energy for each homology class in the system, and the number of homology classes grows exponentially with the number of logical operators. The computational cost can thus become prohibitive for some qLDPC codes like tile codes [78], where the number of logical qubits in a single code can be as high as 18, and potentially higher. A practical application for qLDPC codes may require more advanced techniques to explore spin configurations and homology classes more efficiently.
From the QEC perspective, it would be interesting to understand the discrepancy between our threshold and the estimated optimal threshold for the phenomenological noise model. This could potentially be clarified by studying the performance of the decoder on different code families, and analyzing the effects of boundaries, finite-size effects or the choice of destabilizer operators, among other factors.
The most interesting avenue for future research is the adaptation to circuit-level noise models. Existing works have studied the mapping of circuit-level noise to spin models by introducing additional couplings in the spin model related to the possible errors in the system [65,66], which could open the way for the development of the decoder. A real time optimal decoder for circuit-level noise would maximize the probability of success of QEC, and effectively reduce the required resources to reach a target logical error rate for fault-tolerant applications. Although a real time implementation of this decoder is unlikely due to the estimated time constrains, an optimal circuit-level noise decoder could still find some applications in an experimental setting; e.g., training of neural network decoders or optimizing callibration of gates. The study of the circuit-level noise decoder and its applications are outside of the scope of this study and are left for future work.
Acknowledgments
The authors thank Martin Leib for useful discussions. F.M.-G. also gratefully acknowledges the Scientific Computing Area (AIC), SGAI-CSIC, for their assistance while using the DRAGO Supercomputer (CSIC (National Research Council of Spain), Madrid, Spain) for performing the simulations.
Author Contributions
Conceptualization, F.M.-G., F.R.F.P. and P.P.-R.; methodology, F.M.-G. and P.P.-R.; investigation, F.M.-G., F.R.F.P. and P.P.-R.; writing—original draft preparation, F.M.-G. and P.P.-R.; writing—review and editing, F.M.-G., F.R.F.P. and P.P.-R.; supervision, F.R.F.P.; funding acquisition, F.M.-G. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article.
Conflicts of Interest
Author Francisco Revson Fernandes Pereira and Pedro Parrado-Rodríguez were employed by the company IQM Germany GmbH. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Funding Statement
Spanish project PID2021-127968NB-I00 funded by MICIU/AEI/10.13039/501100011033 and FEDER, UE, and the CSIC Research Platform on Quantum Technologies PTI-001.
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Clarke J., Wilhelm F.K. Superconducting quantum bits. Nature. 2008;453:1031–1042. doi: 10.1038/nature07128. [DOI] [PubMed] [Google Scholar]
- 2.Paraoanu G.S. Recent Progress in Quantum Simulation Using Superconducting Circuits. J. Low Temp. Phys. 2014;175:633. doi: 10.1007/s10909-014-1175-8. [DOI] [Google Scholar]
- 3.Wendin G. Quantum information processing with superconducting circuits: A review. Rep. Prog. Phys. 2017;80:106001. doi: 10.1088/1361-6633/aa7e1a. [DOI] [PubMed] [Google Scholar]
- 4.Kjaergaard M., Schwartz M.E., Braumüller J., Krantz P., Wang J.I.J., Gustavsson S., Oliver W.D. Superconducting qubits: Current state of play. Annu. Rev. Condens. Matter Phys. 2020;11:369–395. doi: 10.1146/annurev-conmatphys-031119-050605. [DOI] [Google Scholar]
- 5.Cirac J.I., Zoller P. Quantum computations with cold trapped ions. Phys. Rev. Lett. 1995;74:4091. doi: 10.1103/PhysRevLett.74.4091. [DOI] [PubMed] [Google Scholar]
- 6.Häffner H., Roos C.F., Blatt R. Quantum computing with trapped ions. Phys. Rep. 2008;469:155–203. doi: 10.1016/j.physrep.2008.09.003. [DOI] [Google Scholar]
- 7.Barreiro J., Müller M., Schindler P., Nigg D., Monz T., Chwalla M., Hennrich M., Roos C.F., Zoller P., Blatt R. An open-system quantum simulator with trapped ions. Nature. 2011;470:486. doi: 10.1038/nature09801. [DOI] [PubMed] [Google Scholar]
- 8.Lanyon B.P., Hempel C., Nigg D., Müller M., Gerritsma R., Zähringer F., Schindler P., Barreiro J.T., Rambach M., Kirchmair G., et al. Universal Digital Quantum Simulation with Trapped Ions. Science. 2011;334:57. doi: 10.1126/science.1208001. [DOI] [PubMed] [Google Scholar]
- 9.Brown K.R., Kim J., Monroe C. Co-designing a scalable quantum computer with trapped atomic ions. npj Quantum Inf. 2016;2:16034. doi: 10.1038/npjqi.2016.34. [DOI] [Google Scholar]
- 10.Bruzewicz C.D., Chiaverini J., McConnell R., Sage J.M. Trapped-ion quantum computing: Progress and challenges. Appl. Phys. Rev. 2019;6:021314. doi: 10.1063/1.5088164. [DOI] [Google Scholar]
- 11.Jaksch D., Cirac J.I., Zoller P., Rolston S.L., Côté R., Lukin M.D. Fast quantum gates for neutral atoms. Phys. Rev. Lett. 2000;85:2208. doi: 10.1103/PhysRevLett.85.2208. [DOI] [PubMed] [Google Scholar]
- 12.Saffman M., Walker T.G., Mølmer K. Quantum information with Rydberg atoms. Rev. Mod. Phys. 2010;82:2313. doi: 10.1103/RevModPhys.82.2313. [DOI] [Google Scholar]
- 13.Anderson S.E., Younge K., Raithel G. Trapping Rydberg atoms in an optical lattice. Phys. Rev. Lett. 2011;107:263001. doi: 10.1103/PhysRevLett.107.263001. [DOI] [PubMed] [Google Scholar]
- 14.Bluvstein D., Levine H., Semeghini G., Wang T.T., Ebadi S., Kalinowski M., Keesling A., Maskara N., Pichler H., Greiner M., et al. A quantum processor based on coherent transport of entangled atom arrays. Nature. 2022;604:451–456. doi: 10.1038/s41586-022-04592-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Bluvstein D., Evered S.J., Geim A.A., Li S.H., Zhou H., Manovitz T., Ebadi S., Cain M., Kalinowski M., Hangleiter D., et al. Logical quantum processor based on reconfigurable atom arrays. Nature. 2024;626:58–65. doi: 10.1038/s41586-023-06927-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Barz S. Quantum computing with photons: Introduction to the circuit model, the one-way quantum computer, and the fundamental principles of photonic experiments. J. Phys. B At. Mol. Opt. Phys. 2015;48:083001. doi: 10.1088/0953-4075/48/8/083001. [DOI] [Google Scholar]
- 17.Nielsen M.A., Chuang I.L. Quantum Computation and Quantum Information. Cambridge University Press; Cambridge, UK: 2000. [DOI] [Google Scholar]
- 18.Almudever C.G., Lao L., Fu X., Khammassi N., Ashraf I., Iorga D., Varsamopoulos S., Eichler C., Wallraff A., Geck L., et al. The engineering challenges in quantum computing; Proceedings of the Design, Automation Test in Europe Conference Exhibition (DATE); Lausanne, Switzerland. 27–31 March 2017; p. 836. [DOI] [Google Scholar]
- 19.Ratcliff L.E., Mohr S., Huhs G., Deutsch T., Masella M., Genovese L. Challenges in large scale quantum mechanical calculations. Wires Comput. Mol. Sci. 2017;7:e1290. doi: 10.1002/wcms.1290. [DOI] [Google Scholar]
- 20.Terhal B.M. Quantum error correction for quantum memories. Rev. Mod. Phys. 2015;87:307. doi: 10.1103/RevModPhys.87.307. [DOI] [Google Scholar]
- 21.Gottesman D. Stabilizer Codes and Quantum Error Correction. California Institute of Technology; Pasadena, CA, USA: 1997. [DOI] [Google Scholar]
- 22.Kitaev A.Y. Quantum Communication, Computing, and Measurement. Springer; Boston, MA, USA: 1997. Quantum Error Correction with Imperfect Gates; p. 181. [DOI] [Google Scholar]
- 23.Kitaev A. Fault-tolerant quantum computation by anyons. Ann. Phys. 2003;303:2. doi: 10.1016/S0003-4916(02)00018-0. [DOI] [Google Scholar]
- 24.Dennis E., Kitaev A., Landahl A., Preskill J. Topological quantum memory. J. Math. Phys. 2002;43:4452–4505. doi: 10.1063/1.1499754. [DOI] [Google Scholar]
- 25.Bombin H., Martin-Delgado M.A. Topological quantum distillation. Phys. Rev. Lett. 2006;97:180501. doi: 10.1103/PhysRevLett.97.180501. [DOI] [PubMed] [Google Scholar]
- 26.Bombin H., Martin-Delgado M.A. Topological Computation without Braiding. Phys. Rev. Lett. 2007;98:160502. doi: 10.1103/PhysRevLett.98.160502. [DOI] [PubMed] [Google Scholar]
- 27.Gottesman D. Fault-Tolerant Quantum Computation with Constant Overhead. arXiv. 2014 doi: 10.26421/QIC14.15-16-5.1310.2984 [DOI] [Google Scholar]
- 28.Kovalev A.A., Pryadko L.P. Fault tolerance of quantum low-density parity check codes with sublinear distance scaling. Phys. Rev. A. 2013;87:020304. doi: 10.1103/PhysRevA.87.020304. [DOI] [Google Scholar]
- 29.Breuckmann N.P., Eberhardt J.N. Quantum Low-Density Parity-Check Codes. PRX Quantum. 2021;2:040101. doi: 10.1103/PRXQuantum.2.040101. [DOI] [Google Scholar]
- 30.Viszlai J., Yang W., Lin S.F., Liu J., Nottingham N., Baker J.M., Chong F.T. Matching Generalized-Bicycle Codes to Neutral Atoms for Low-Overhead Fault-Tolerance. arXiv. 2023 doi: 10.48550/arXiv.2311.16980.2311.16980 [DOI] [Google Scholar]
- 31.Koukoulekidis N., Šimkovic F., IV, Leib M., Pereira F.R.F. Small Quantum Codes from Algebraic Extensions of Generalized Bicycle Codes. arXiv. 2024 doi: 10.48550/arXiv.2401.07583.2401.07583 [DOI] [Google Scholar]
- 32.Bravyi S., Cross A.W., Gambetta J.M., Maslov D., Rall P., Yoder T.J. High-threshold and low-overhead fault-tolerant quantum memory. arXiv. 2023 doi: 10.1038/s41586-024-07107-7.2308.07915 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Aharonov D., Ben-Or M. Fault-tolerant quantum computation with constant error rate. SIAM J. Comput. 2008;38:1207. doi: 10.1137/S0097539799359385. [DOI] [Google Scholar]
- 34.Shor P.W. Fault-tolerant quantum computation; Proceedings of the 37th Conference on Foundations of Computer Science; Burlington, VT, USA. 14–16 October 1996; New York, NY, USA: IEEE; 1996. p. 56. [DOI] [Google Scholar]
- 35.Preskill J. Reliable quantum computers. Proc. R. Soc. Lond. A. 1998;454:385. doi: 10.1098/rspa.1998.0167. [DOI] [Google Scholar]
- 36.Katzgraber H.G., Bombín H., Martin-Delgado M.A. Error threshold for color codes and random three-body Ising models. Phys. Rev. Lett. 2009;103:090501. doi: 10.1103/PhysRevLett.103.090501. [DOI] [PubMed] [Google Scholar]
- 37.Bombin H., Andrist R.S., Ohzeki M., Katzgraber H.G., Martin-Delgado M.A. Strong resilience of topological codes to depolarization. Phys. Rev. X. 2012;2:021004. doi: 10.1103/PhysRevX.2.021004. [DOI] [Google Scholar]
- 38.Andrist R.S., Katzgraber H.G., Bombin H., Martin-Delgado M.A. Tricolored lattice gauge theory with randomness: Fault tolerance in topological color codes. New J. Phys. 2011;13:083006. doi: 10.1088/1367-2630/13/8/083006. [DOI] [Google Scholar]
- 39.Sarvepalli P., Raussendorf R. Efficient decoding of topological color codes. Phys. Rev. A. 2012;85:022317. doi: 10.1103/PhysRevA.85.022317. [DOI] [Google Scholar]
- 40.Wang D., Fowler A., Hill C., Hollenberg L. Graphical algorithms and threshold error rates for the 2D color code. Quantum Inf. Comput. 2009;10:780. doi: 10.26421/QIC10.9-10-5. [DOI] [Google Scholar]
- 41.Stephens A.M. Efficient fault-tolerant decoding of topological color codes. arXiv. 2014 doi: 10.48550/arXiv.1402.3037.1402.3037 [DOI] [Google Scholar]
- 42.Maskara N., Kubica A., Jochym-O’Connor T. Advantages of versatile neural-network decoding for topological codes. Phys. Rev. A. 2019;99:052351. doi: 10.1103/PhysRevA.99.052351. [DOI] [Google Scholar]
- 43.Delfosse N. Decoding color codes by projection onto surface codes. Phys. Rev. A. 2014;89:012317. doi: 10.1103/PhysRevA.89.012317. [DOI] [Google Scholar]
- 44.Delfosse N., Nickerson N.H. Almost-linear time decoding algorithm for topological codes. Quantum. 2021;5:595. doi: 10.22331/q-2021-12-02-595. [DOI] [Google Scholar]
- 45.Delfosse N., Zémor G. Linear-time maximum likelihood decoding of surface codes over the quantum erasure channel. Phys. Rev. Res. 2020;2:033042. doi: 10.1103/PhysRevResearch.2.033042. [DOI] [Google Scholar]
- 46.Kubica A., Preskill J. Cellular-Automaton Decoders with Provable Thresholds for Topological Codes. Phys. Rev. Lett. 2019;123:020501. doi: 10.1103/PhysRevLett.123.020501. [DOI] [PubMed] [Google Scholar]
- 47.Kubica A., Delfosse N. Efficient color code decoders in d≥2 dimensions from toric code decoders. Quantum. 2023;7:929. doi: 10.22331/q-2023-02-21-929. [DOI] [Google Scholar]
- 48.Baireuther P., Caio M.D., Criger B., Beenakker C.W.J., O’Brien T.E. Neural network decoder for topological color codes with circuit level noise. New J. Phys. 2019;21:013003. doi: 10.1088/1367-2630/aaf29e. [DOI] [Google Scholar]
- 49.Chamberland C., Ronagh P. Deep neural decoders for near term fault-tolerant experiments. Quantum Sci. Technol. 2018;3:044002. doi: 10.1088/2058-9565/aad1f7. [DOI] [Google Scholar]
- 50.Davaasuren A., Suzuki Y., Fujii K., Koashi M. General framework for constructing fast and near-optimal machine-learning-based decoder of the topological stabilizer codes. Phys. Rev. Res. 2020;2:033399. doi: 10.1103/PhysRevResearch.2.033399. [DOI] [Google Scholar]
- 51.Chubb C.T. General tensor network decoding of 2D Pauli codes. arXiv. 2021 doi: 10.48550/arXiv.2101.04125.2101.04125 [DOI] [Google Scholar]
- 52.Parrado-Rodríguez P., Rispler M., Müller M. Rescaling decoder for two-dimensional topological quantum color codes on 4.8.8 lattices. Phys. Rev. A. 2022;106:032431. doi: 10.1103/PhysRevA.106.032431. [DOI] [Google Scholar]
- 53.deMarti iOlius A., Fuentes P., Orús R., Crespo P.M., Martinez J.E. Decoding algorithms for surface codes. arXiv. 2023 doi: 10.22331/q-2024-10-10-1498.2307.14989 [DOI] [Google Scholar]
- 54.Berent L., Burgholzer L., Derks P.J.H., Eisert J., Wille R. Decoding quantum color codes with MaxSAT. arXiv. 2023 doi: 10.22331/q-2024-10-23-1506.2303.14237 [DOI] [Google Scholar]
- 55.Kirkpatrick S., Gelatt C.D., Jr., Vecchi M.P. Optimization by simulated annealing. Science. 1983;220:671–680. doi: 10.1126/science.220.4598.671. [DOI] [PubMed] [Google Scholar]
- 56.Takada Y., Takeuchi Y., Fujii K. Ising model formulation for highly accurate topological color codes decoding. Phys. Rev. Res. 2024;6:013092. doi: 10.1103/PhysRevResearch.6.013092. [DOI] [Google Scholar]
- 57.Takeuchi Y., Takada Y., Sakashita T., Fujisaki J., Oshima H., Sato S., Fujii K. Comparative study of decoding the surface code using simulated annealing under depolarizing noise. arXiv. 2023 doi: 10.48550/arXiv.2311.07973.2311.07973 [DOI] [Google Scholar]
- 58.Ohzeki M. Locations of multicritical points for spin glasses on regular lattices. Phys. Rev. E. 2009;79:021129. doi: 10.1103/PhysRevE.79.021129. [DOI] [PubMed] [Google Scholar]
- 59.Ohzeki M. Accuracy thresholds of topological color codes on the hexagonal and square-octagonal lattices. Phys. Rev. E. 2009;80:011141. doi: 10.1103/PhysRevE.80.011141. [DOI] [PubMed] [Google Scholar]
- 60.Hukushima K., Iba Y. Population annealing and its application to a spin glass; Proceedings of the AIP Conference Proceedings; Los Alamos, NM, USA. 9–11 May 2003; College Park, MD, USA: American Institute of Physics; pp. 200–206. [DOI] [Google Scholar]
- 61.Machta J. Population annealing with weighted averages: A Monte Carlo method for rough free-energy landscapes. Phys. Rev. E. 2010;82:026704. doi: 10.1103/PhysRevE.82.026704. [DOI] [PubMed] [Google Scholar]
- 62.Ohno T., Arakawa G., Ichinose I., Matsui T. Phase structure of the random-plaquette Z2 gauge model: Accuracy threshold for a toric quantum memory. Nucl. Phys. B. 2004;697:462. doi: 10.1016/j.nuclphysb.2004.07.003. [DOI] [Google Scholar]
- 63.Andrist R.S., Katzgraber H.G., Bombin H., Martin-Delgado M. Error tolerance of topological codes with independent bit-flip and measurement errors. Phys. Rev. A. 2016;94:012318. doi: 10.1103/PhysRevA.94.012318. [DOI] [Google Scholar]
- 64.Aaronson S., Gottesman D. Improved simulation of stabilizer circuits. Phys. Rev. A. 2004;70:052328. doi: 10.1103/PhysRevA.70.052328. [DOI] [Google Scholar]
- 65.Vodola D., Rispler M., Kim S., Müller M. Fundamental thresholds of realistic quantum error correction circuits from classical spin models. Quantum. 2022;6:618. doi: 10.22331/q-2022-01-05-618. [DOI] [Google Scholar]
- 66.Rispler M., Vodola D., Müller M., Kim S. The random coupled-plaquette gauge model and the surface code under circuit-level noise. arXiv. 2024 doi: 10.48550/arXiv.2412.14004.2412.14004 [DOI] [Google Scholar]
- 67.Robert C.P., Casella G., Casella G. Monte Carlo Statistical Methods. Volume 2. Springer; Berlin/Heidelberg, Germany: 1999. [DOI] [Google Scholar]
- 68.Gessert D., Janke W., Weigel M. Resampling schemes in population annealing: Numerical and theoretical results. Phys. Rev. E. 2023;108:065309. doi: 10.1103/PhysRevE.108.065309. [DOI] [PubMed] [Google Scholar]
- 69.Wang W., Machta J., Katzgraber H.G. Comparing Monte Carlo methods for finding ground states of Ising spin glasses: Population annealing, simulated annealing, and parallel tempering. Phys. Rev. E. 2015;92:013303. doi: 10.1103/PhysRevE.92.013303. [DOI] [PubMed] [Google Scholar]
- 70.Martínez-García F., Porras D. Problem hardness of diluted Ising models: Population annealing versus simulated annealing. Phys. Rev. E. 2025;112:035314. doi: 10.1103/qtck-85mq. [DOI] [PubMed] [Google Scholar]
- 71.Google Quantum AI Quantum error correction below the surface code threshold. Nature. 2025;638:920–926. doi: 10.1038/s41586-024-08449-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72.Weigel M. Performance potential for simulating spin models on GPU. J. Comput. Phys. 2012;231:3064–3082. doi: 10.1016/j.jcp.2011.12.008. [DOI] [Google Scholar]
- 73.Barash L.Y., Weigel M., Borovskỳ M., Janke W., Shchur L.N. GPU accelerated population annealing algorithm. Comput. Phys. Commun. 2017;220:341. doi: 10.1016/j.cpc.2017.06.020. [DOI] [Google Scholar]
- 74.Skoric L., Browne D.E., Barnes K.M., Gillespie N.I., Campbell E.T. Parallel window decoding enables scalable fault tolerant quantum computation. Nat. Commun. 2023;14:7040. doi: 10.1038/s41467-023-42482-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Ebert P.L., Gessert D., Weigel M. Weighted averages in population annealing: Analysis and general framework. Phys. Rev. E. 2022;106:045303. doi: 10.1103/PhysRevE.106.045303. [DOI] [PubMed] [Google Scholar]
- 76.Houdayer J. A cluster Monte Carlo algorithm for 2-dimensional spin glasses. Eur. Phys. J. B-Condens. Matter Complex Syst. 2001;22:479–484. doi: 10.1007/PL00011151. [DOI] [Google Scholar]
- 77.Zhu Z., Ochoa A.J., Katzgraber H.G. Efficient cluster algorithm for spin glasses in any space dimension. Phys. Rev. Lett. 2015;115:077201. doi: 10.1103/PhysRevLett.115.077201. [DOI] [PubMed] [Google Scholar]
- 78.Steffan V., Choe S.H., Breuckmann N., Pereira F.R.F., Eberhardt J. Tile Codes: High-Efficiency Quantum Codes on a Lattice with Boundary. Phys. Rev. Lett. 2025;135:170601. doi: 10.1103/l4mx-l3xx. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article.









