Reinforcement Learning Agents in Quantum Code Discovery with Argmax-Preserving Quantization
Zihao Wang, Hao Tang
ICLR 2026 submission
Abstract. Reinforcement learning (RL) has recently been employed to autonomously discover quantum error-correcting codes and their encoders tailored to specific noise models and hardware constraints. However, RL policies are highly sensitive to approximation errors, and conventional quantization often disrupts action ranking, leading to degraded exploration and suboptimal codes. We propose Argmax-Preserving Quantization (APQ), a quantization method that directly regularizes action ranking during quantization-aware training. APQ minimizes ranking errors between full-precision and quantized policies, ensuring stable action selection even under low-bit representations. To further safeguard correctness, we integrate a reward-safe constraint that bounds perturbations of Knill–Laflamme conditions under quantization. Experiments with policy-gradient agents on Clifford-simulated environments show that APQ maintains discovery of [[n, k, d]] codes with distance up to 5 using INT8 networks, achieving equivalent logical error suppression as FP16 baselines while reducing inference cost by 3.8×. Our approach demonstrates that decision-consistent quantization can substantially accelerate RL-based quantum code discovery without sacrificing the quality of discovered codes.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…