Bayesian Optimization for Quantum Error-Correcting Code Discovery
Yihua Chengyu, Richard Meister, Conor Carty, Sheng-Ku Lin, Roberto Bondesan
TL;DR
This paper addresses the costly evaluation bottleneck in discovering practical quantum error-correcting codes by introducing a Bayesian optimization framework that leverages a multi-view chain-complex neural embedding to predict logical error rates. The core idea is to map CSS codes to a rich, topology-preserving embedding that a Gaussian process can use as a surrogate, enabling efficient exploration of a discrete code space via an acquisition function and hill-climbing in the search. Empirical results on BB and HGP code families under code-capacity noise show that BO discovers high-rate and/or low-error codes that surpass or match strong baselines while using far fewer evaluations, moving operating points toward the quantum Hamming bound when appropriate. The framework is general, scalable, and adaptable to diverse code families, decoders, and noise models, paving the way for hardware-aware code design and potentially neural decoders for quantum LDPC codes.
Abstract
Quantum error-correcting codes protect fragile quantum information by encoding it redundantly, but identifying codes that perform well in practice with minimal overhead remains difficult due to the combinatorial search space and the high cost of logical error rate evaluation. We propose a Bayesian optimization framework to discover quantum error-correcting codes that improves data efficiency and scalability with respect to previous machine learning approaches to this task. Our main contribution is a multi-view chain-complex neural embedding that allows us to predict the logical error rate of quantum LDPC codes without performing expensive simulations. Using bivariate bicycle codes and code capacity noise as a testbed, our algorithm discovers a high-rate code [[144,36]] that achieves competitive per-qubit error rate compared to the gross code, as well as a low-error code [[144,16]] that outperforms the gross code in terms of error rate per qubit. These results highlight the ability of our pipeline to automatically discover codes balancing rate and noise suppression, while the generality of the framework enables application across diverse code families, decoders, and noise models.
