Abstract
We introduce a technique to estimate error-mitigated expectation values on noisy quantum computers. Our technique performs shadow tomography on a logical state to produce a memory-efficient classical reconstruction of the noisy density matrix. Using efficient classical post-processing, one can mitigate errors by projecting a general nonlinear function of the noisy density matrix into the codespace. The subspace expansion and virtual distillation can be viewed as special cases of the new framework. We show our method is favorable in the quantum and classical resources overhead. Relative to subspace expansion which requires $O(2^N)$ samples to estimate a logical Pauli observable with $[[N, k]]$ error correction code, our technique requires only $O(4^k)$ samples. Relative to virtual distillation, our technique can compute powers of the density matrix without additional copies of quantum states or quantum memory. We present numerical evidence using logical states encoded with up to sixty physical qubits and show fast convergence to error-free expectation values with only $10^5$ samples under 1% depolarizing noise.
Introduction
The Noisy Intermediate-Scale Quantum (NISQ) era presents a significant challenge: extracting reliable information from qubits prone to decoherence and gate errors. Quantum Error Mitigation (QEM) has emerged as a vital bridge toward fault-tolerant computing. Two prominent techniques, Subspace Expansion (SE) and Virtual Distillation (VD), offer powerful ways to suppress errors. However, SE typically suffers from an exponential sample complexity relative to the number of physical qubits ($N$), while VD requires expensive hardware overhead, such as multiple simultaneous state copies. This paper introduces a framework that unifies these methods while drastically reducing resource requirements.
Logical Shadow Tomography
To address these bottlenecks, we introduce Logical Shadow Tomography (LST). This framework leverages "classical shadows"—efficient classical representations of quantum states obtained through randomized measurements—to perform error mitigation in post-processing.
The LST workflow begins by encoding $k$ logical qubits into $N$ physical qubits using a stabilizer code. Instead of standard basis measurements, random Clifford gates are applied to the physical qubits before measurement. The resulting "shadows" are stored classically. The critical innovation lies in the classical post-processing stage, where the projection into the code subspace (SE) and the calculation of density matrix powers (VD) are performed mathematically. This unifies disparate QEM methods into a single polynomial function $f(\rho)$ of the noisy state. Crucially, this method does not require active error correction (no ancilla qubits or real-time parity checks) or multiple physical copies of the state.
Scaling and Resource Efficiency
A primary advantage of LST is its favorable scaling. Traditional subspace expansion requires $O(2^N)$ samples, making it impractical for large systems. In contrast, LST's sample complexity scales as $O(4^k)$, where $k$ is the number of logical qubits. This allows researchers to increase the number of physical qubits $N$ to enhance code protection without an exponential increase in tomography overhead.
Furthermore, LST enables virtual distillation ($\rho^m$) "for free" in terms of quantum resources. Traditionally, calculating $\rho^2$ requires two copies of the state and a "SWAP test." LST allows the calculation of $\rho^m$ for any $m$ using only a single copy of the state by leveraging the statistical properties of the classical shadows, moving the computational burden to classical $O(N^3)$ matrix operations.
Numerical Validation
We validated LST through numerical simulations of various stabilizer codes, including the standard [[5, 1, 3]] code and large-scale [[N, 1]] codes with up to 60 physical qubits.
As shown in the performance benchmarks, LST significantly reduces infidelity compared to unmitigated physical states. Notably, combining subspace projection with virtual distillation (LST with $m=2$) provides superior error suppression, scaling as $O(p^{2d})$ where $p$ is the error rate and $d$ is the code distance. In tests with 1% depolarizing noise, the method demonstrated fast convergence to error-free expectation values using only $10^5$ samples.
Conclusion and Future Work
LST represents a scalable, hardware-agnostic approach to quantum error mitigation. While the $O(4^k)$ scaling remains exponential, it is a significant improvement for systems with a modest number of logical qubits (e.g., $k < 10$).
Future research will address current limitations, such as the assumption of noise-free Clifford gates during the shadow tomography phase. While randomized benchmarking techniques can help, a full integration of gate noise into the LST framework is necessary. Additionally, extending the current fast algorithms, which are optimized for stabilizer codes, to non-stabilizer codes or more complex noise models remains an open challenge.
Summary updated