Neural network decoder for near-term surface-code experiments

Boris M. Varbanov,Marc Serra-Peralta,David Byfield,Barbara M. Terhal
2023-10-23
Abstract:Neural-network decoders can achieve a lower logical error rate compared to conventional decoders, like minimum-weight perfect matching, when decoding the surface code. Furthermore, these decoders require no prior information about the physical error rates, making them highly adaptable. In this study, we investigate the performance of such a decoder using both simulated and experimental data obtained from a transmon-qubit processor, focusing on small-distance surface codes. We first show that the neural network typically outperforms the matching decoder due to better handling errors leading to multiple correlated syndrome defects, such as $Y$ errors. When applied to the experimental data of [Google Quantum AI, Nature 614, 676 (2023)], the neural network decoder achieves logical error rates approximately $25\%$ lower than minimum-weight perfect matching, approaching the performance of a maximum-likelihood decoder. To demonstrate the flexibility of this decoder, we incorporate the soft information available in the analog readout of transmon qubits and evaluate the performance of this decoder in simulation using a symmetric Gaussian-noise model. Considering the soft information leads to an approximately $10\%$ lower logical error rate, depending on the probability of a measurement error. The good logical performance, flexibility, and computational efficiency make neural network decoders well-suited for near-term demonstrations of quantum memories.
Quantum Physics
What problem does this paper attempt to address?
The main problem that this paper attempts to solve is to improve the performance of decoders for quantum error - correcting codes (especially surface codes) in order to reduce the logical error rate. Specifically: 1. **Reduce the logical error rate**: Traditional decoding algorithms such as Minimum - Weight Perfect Matching (MWPM) perform poorly when dealing with certain types of errors (such as Y - errors). Neural - network decoders can better handle these complex error patterns by learning the correlations between errors, thus achieving a lower logical error rate. 2. **High adaptability**: Neural - network decoders do not need to know the specific information of the physical error rate in advance, which makes them highly adaptable. This characteristic is especially important for various non - traditional errors (such as crosstalk or leakage) that may occur in actual experiments. 3. **Utilize soft information**: The paper also explores how to use the continuous information (i.e., soft information) in the measurement results to further improve the performance of the decoder. By incorporating soft information into the training and evaluation processes, the neural - network decoder can achieve a reduction in the logical error rate of approximately 10% in some cases. 4. **Experimental verification**: The paper not only conducts research based on simulated data but also applies the neural - network decoder to actual experimental data (from Google Quantum AI's 72 - qubit processor) for the first time. In this way, it shows the potential and challenges of the neural - network decoder in the real world. In summary, this paper aims to improve the performance of quantum error - correcting codes by introducing neural - network decoders, especially in dealing with complex error patterns and adapting to actual experimental conditions, thus providing an efficient and flexible solution for the recent demonstration of quantum memories. ### Key Formulas and Concepts - **Logical Error Rate**: \[ p_L(r)=\frac{1 - F_L(r)}{2} \] where \(F_L(r)\) is the logical fidelity, defined as: \[ F_L(r)=(1 - 2\epsilon_L)^{r - r_0} \] Here, \(\epsilon_L\) is the logical error rate per round of quantum error correction (QEC), and \(r_0\) is the fitting constant. - **Binary Cross - Entropy Loss Function**: \[ I = H(p_{\text{main}}, p_{\text{true}})+w_aH(p_{\text{aux}}, p_{\text{true}}) \] where \(H(p_i, p_j)\) represents the binary cross - entropy: \[ H(p_i, p_j)=-p_i\log p_j-(1 - p_i)\log(1 - p_j) \] - **Y - biased Noise Model**: \[ P(Y)=\frac{\eta p}{\eta + 2},\quad P(X)=P(Z)=\frac{p}{\eta + 2} \] where \(\eta\) is the bias factor of Y - noise, and \(p\) is the error probability. Through these methods and models, the paper shows the superior performance and potential application value of neural - network decoders in quantum error correction.