arXiv:2610.41398quant-phOct 2026

Manuscript Offprint

arXiv:2610.41398

Distilling Knowledge from Search: Decoder Model Factory for Quantum LDPC Codes

Anil Bilgin, Wanda Hou, Pranav Srinivas, Yi-Zhuang You

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Anil Bilgin¹, Wanda Hou¹, Pranav Srinivas¹, and Yi-Zhuang You¹,²

¹EdenCode Inc., San Jose, CA 95134, USA

²Department of Physics, University of California, San Diego, CA 92093, USA

We introduce GraphMP, a learning-based message-passing decoder for quantum low-density parity-check codes that transfers without fine-tuning across code families, code sizes, physical error rates, and noise models. GraphMP uses local message passing to keep computation scalable as the decoding graph grows. Guided by its predictions, beam search progressively refines candidate error patterns, trading additional decoding time for lower logical error rates. We develop the decoder model factory as a paradigm for training successive models on experience generated by earlier models during decoding. Model-guided search supplies verified trajectories for knowledge distillation, folding computation spent on decoding into reusable training data. Repeated collection and distillation improve the decoder across generations and adapt its strategy as the noise changes. These results motivate a coupled quantum-classical architecture with two interacting cycles: rapid decoding protects quantum information, while slower learning renews the models from operating experience. The long-term vision is a scalable decoder model factory that produces high-performance, low-latency decoders and continually adapts them to evolving quantum hardware.

1 Introduction

Advances in quantum hardware allow repeated experiments to generate large volumes of measurement data [1]. How can artificial intelligence (AI) learn from this quantum big data to help quantum devices operate more reliably and efficiently? The training of large language models (LLMs) offers inspiration for how to make use of big data. LLMs are first trained on collections of language data and can then be refined using human feedback [2]. An evaluator can also check text generated by the model, with verified outputs added to the training data [3–5]. Learning from these additions can help the model produce higher-quality data for the next round of training. This recursive self-improvement cycle [3, 4] suggests that existing models can help generate data to train their successors, enabling an AI model factory that continually produces new generations of models. For quantum computing, AI models could learn from experimental measurements to support error-correction decoding [6], quantum control [7], and device calibration [8] (Figure 1). As models perform these tasks, they may also generate data that can train later models and support continued improvement.

To make the discussion concrete, we focus on quantum error correction, where a decoder infers an error pattern from the measured syndrome and determines a recovery

Figure

Figure 1: AI model factories connect a source of training data to new models and their applications. The language-model analogy motivates a corresponding process for quantum computing, with quantum hardware providing experimentally testable outcomes. The return arrows represent model assistance to humans or quantum hardware. In the illustrated approach, data generation supplies training examples, and distillation trains later models on these examples. This paper develops the decoding instance through supervised distillation from search trajectories, with outcome verification supplied by simulation; hardware learning, control, and calibration are prospective applications.

operation. The optimal decoding strategy depends on the code structure and on the probability distribution of error patterns. In operating quantum devices, noise can be difficult to characterize accurately, and error probabilities may drift over time [9–11]. Learning from data accumulated during decoding offers a way to adapt the strategy to changing device noise.

Motivated by the above ideas, we propose a decoder model factory: a systematic process that trains new decoder models on data accumulated as the current decoder performs decoding tasks. In our implementation, a search algorithm lets the decoder refine its prediction over several steps. An independent evaluator uses experimental outcomes (or simulation feedback, as demonstrated here) to verify the decoder's prediction [12]. We train the next model on verified search trajectories. The updated model is then redeployed for decoding, generating new trajectories for further learning. This cycle provides a route to decoding strategies that improve through repeated training rounds and adapt as the noise encountered during operation changes.

Our design also draws on several related ideas from the literature. AlphaQubit and recurrent-transformer decoders infer logical errors from observed syndromes [6, 13], while neural pre-decoders assist conventional decoders through first-pass corrections [14, 15]. Transfer learning has been demonstrated by Astra, which shows a frozen model can decode codes of different sizes within a code family [16], and explored through pretrained initialization at larger distances by foundation decoders [17]. AlphaQubit and QAdapt further address the adaptivity of device noise through processor-based fine-tuning and training across changing noise conditions [6, 15]. These developments motivate us to build a decoder that infers error patterns from syndromes, transfers across decoding tasks without fine-tuning, and adapts its strategy as device noise changes.

In our approach, the decoder is embedded in a search algorithm and repeatedly called to refine candidate error predictions. An independent evaluator checks each final prediction against the logical outcome; the successful search trajectory then supply training examples for the next model. This connects to expert iteration, where search results are used to train improved models [18], and to GNN-assisted BP, which uses its decoder to collect harder training examples [19]. Our approach uses these verified trajectories for knowledge distillation, aiming to improve the decoder's ability to guide later searches.

Figure

Figure 2: Proposed coupled quantum-classical deployment of a local learned decoder. Circles represent qubits and square groups represent local classical memory. Solid and dashed links indicate quantum couplings and classical message passing; vertical arrows carry measurement data and recovery feedback between the layers.

Inspired by local active error correction [20], we envision the coupled quantum and classical architecture in Figure 2. Local measurement and feedback couple qubits to classical bits, while neighboring classical processors exchange messages to guide error correction. The architecture supports two interacting cycles on different time scales [21]: a fast decoding cycle uses the learned decoder model to perform active error correction, while a slower training cycle learns from verified decoding outcomes and supplies updated models for deployment. This arrangement resembles an immune system that learns through its fight against disease: rapid decoding actively combats errors, while experience gained in that fight trains future models to defend quantum information more effectively.

A hardware realization would pair a quantum processing unit (QPU), which executes quantum operations, with a quantum data processing unit (QDPU), which processes measurement data and returns feedback for decoding and control. A companion paper develops a QDPU architecture for neutral-atom quantum computers, with inference on a field-programmable gate array (FPGA) and a slower graphics processing unit (GPU) loop for model updates [22]. GPU-based decoding offers another deployment path, with FPGAs handling quantum control and readout. NVIDIA NVQLink provides an architecture for coupling GPUs to quantum system controllers, with CUDA-Q coordinating computation and data exchange [23]. Together, these components suggest a hardware blueprint for the decoder model factory: a quantum-classical system that couples real-time error correction with ongoing learning from verified outcomes.

The remainder of the paper is organized as follows. Section 2 introduces GraphMP and its message-passing decoder. Section 3 explains how beam search refines its predictions, and Section 4 describes how search trajectories are verified and distilled into updated models. Section 5 evaluates decoding performance, transfer across tasks, and noise adaptation. Section 6 concludes with the implications and next steps for device-based learning and deployment.

References (44)