Abstract
Current approaches to fault-tolerant quantum computation will not enable useful quantum computation on near-term devices of 50 to 100 qubits. Leading proposals, such as the color code and surface code schemes, must devote a large fraction of their physical quantum bits to quantum error correction. Building from recent quantum machine learning techniques, we propose an alternative approach to quantum error correction aimed at reducing this overhead, which can be implemented in existing quantum hardware and on a myriad of quantum computing architectures. This method aims to optimize the average fidelity of encoding and recovery circuits with respect to the actual noise in the device, as opposed to that of an artificial or approximate noise model. The quantum variational error corrector (QVECTOR) algorithm employs a quantum circuit with parameters that are variationally-optimized according to processed data originating from quantum sampling of the device, so as to learn encoding and error-recovery gate sequences. We develop this approach for the task of preserving quantum memory and analyze its performance with simulations. We find that, subject to phase damping noise, the simulated QVECTOR algorithm learns a three-qubit encoding and recovery which extend the effective T2 of a quantum memory six-fold. Subject to a continuous-time amplitude- plus phase-damping noise model on five qubits, the simulated QVECTOR algorithm learns encoding and decoding circuits which exploit the coherence among Pauli errors in the noise model to outperform the five-qubit stabilizer code and any other scheme that does not leverage such coherence. Both of these schemes can be implemented with existing hardware.
Introduction
We are currently in the "Noisy Intermediate-Scale Quantum" (NISQ) era, where devices possess dozens of qubits that remain highly susceptible to environmental noise. Standard fault-tolerance solutions, such as surface or color codes, are designed for idealized theoretical noise models and require a massive qubit overhead—potentially thousands of physical qubits to protect a single logical qubit. Furthermore, these "one-size-fits-all" codes often fail to account for the specific, "messy" noise profiles of real hardware, such as amplitude damping and coherent errors, which vary significantly across different architectures.
The QVECTOR Algorithm
QVECTOR (Quantum Variational Error Corrector) addresses these challenges by treating the discovery of error correction codes as a variational optimization problem. The algorithm uses a hybrid quantum-classical approach to learn encoding and recovery procedures tailored to the specific noise of a device.
The core components of QVECTOR include:
- Variational Ansatz: Encoding and recovery procedures are represented by parameterized quantum circuits using the hardware's native gate set.
- In Situ Training: The algorithm learns directly from the hardware by running circuits and sampling results to estimate average code fidelity, eliminating the need for a precise prior noise model.
- Efficient Sampling: To manage the exponential cost of state space exploration, QVECTOR utilizes unitary 2-designs to efficiently estimate average fidelity.
- Classical Optimization: A classical optimizer updates circuit parameters based on fidelity estimates to maximize performance.
Performance and Results
The performance of QVECTOR was evaluated through detailed simulations of realistic noise models based on experimental data from superconducting qubits.
Key findings include:
- Coherence Time Extension: In a 3-qubit phase-damping model, QVECTOR learned a code that extended the effective coherence time ($T_2$) nearly six-fold, from approximately 19 $\mu$s to 110 $\mu$s, even when accounting for the noise introduced by the recovery gates themselves.
- Outperforming Standard Codes: In a 5-qubit amplitude- plus phase-damping (APD) model, QVECTOR achieved an average fidelity of 0.912, significantly surpassing the standard five-qubit stabilizer code (0.890) and the no-encoding baseline (0.898).
- Exploiting Noise Coherence: QVECTOR's advantage stems from its ability to leverage mathematical relationships between different types of errors (coherence) in real noise, which standard stabilizer codes typically ignore.
Conclusion and Future Directions
QVECTOR demonstrates that device-tailored error correction can significantly reduce overhead and improve performance on near-term hardware. By learning to "hide" information in noise-resilient degrees of freedom, it offers a path toward reliable quantum memory. Future work will focus on scaling the optimization to larger qubit counts, mitigating state preparation and measurement (SPAM) errors, and extending the algorithm to learn error-corrected gates for active computation. Small, tailored QVECTOR codes could eventually serve as the foundational layer for larger, concatenated fault-tolerant schemes.
Summary updated