Predicting Features of Quantum Systems using Classical Shadows

Hsin-Yuan Huang, Richard KuengarXiv 2019

Abstract: Predicting features of complex, large-scale quantum systems is essential to the characterization and engineering of quantum architectures. We present an efficient approach for constructing an approximate classical description, called the classical shadow, of a quantum system from very few quantum measurements that can later be used to predict a large collection of features. This approach is guaranteed to accurately predict M linear functions with bounded Hilbert-Schmidt norm from only order of log(M) measurements. This is completely independent of the system size and saturates fundamental lower bounds from information theory. We support our theoretical findings with numerical experiments over a wide range of problem sizes (2 to 162 qubits). These highlight advantages compared to existing machine learning approaches.

Introduction

In the race to build large-scale quantum computers, "characterization" has become a massive bottleneck. Traditional Quantum State Tomography (QST) requires a number of measurements that grows exponentially with the number of qubits ($n$), making it impractical for processors exceeding a handful of qubits. While we often do not require a full description of a quantum state, predicting specific "features"—such as expectation values of observables—is critical.

Previous attempts to simplify this, such as shadow tomography, were theoretically efficient but required "quantum monster" hardware capable of acting on many copies of a state simultaneously. Other approaches, like neural network tomography, lack rigorous guarantees and struggle to capture global properties. This paper introduces "classical shadows," a mathematically rigorous framework that requires only simple, single-copy measurements and scales efficiently for practical tasks.

The Classical Shadow Protocol

The proposed protocol consists of two distinct phases: Data Acquisition and Prediction.

  1. Data Acquisition Phase: $N$ independent copies of an unknown quantum state $\rho$ are prepared. For each copy, a random Clifford circuit is applied, followed by a measurement in the computational basis. The resulting "stabilizer state" is stored in classical memory. This collection of outcomes constitutes the classical shadow.
  2. Prediction Phase: To estimate a specific feature (an observable $O$), the classical shadow is processed using a median-of-means estimation. The shadow is divided into $K$ buckets; an estimate is calculated for each, and the median is taken to ensure robustness against the outlier noise inherent in quantum measurements.
Overview of the two-phase protocol for acquiring and using classical shadows.

The efficiency of this method stems from the Clifford group's structure, which allows a classical computer to "invert" the measurement process efficiently, mapping classical data back to quantum features with minimal overhead.

Numerical Benchmarks and Results

The authors validated the theory using extensive numerical simulations on systems ranging from 2 to 162 qubits, focusing on GHZ states (highly entangled "cat states") and the 2D Toric Code (a complex topological state used in error correction). The method was compared primarily against Neural Network Quantum State Tomography (NNQST).

Scalability and Efficiency

A key result is the dimension independence of the protocol for many important observables. For GHZ states, classical shadows required a constant number of measurements to reach 0.99 fidelity, regardless of the system size. In contrast, the NNQST approach required measurements that scaled linearly with the number of qubits.

Comparison of the number of experiments required to achieve 0.99 fidelity on GHZ states for NNQST vs. Classical Shadows.

Key Insights

  • Logarithmic Scaling: To predict $M$ different features, the protocol only requires roughly $\log(M)$ measurements. This allows for the prediction of an exponential number of properties from a very small pool of data.
  • Agnostic Data: Unlike protocols where measurements must be decided a priori, classical shadows allow researchers to save the data first and decide which features to calculate later.
  • Global Phase Sensitivity: Neural network approaches were found to overestimate fidelity because they struggle to capture global phases or complex topological constraints. Classical shadows handle these structures naturally.

Conclusion

Classical shadows provide an information-theoretically optimal method for quantum state characterization. While the method faces a "Pauli bottleneck" for certain observables like long Pauli strings—where shadow size still scales exponentially—it offers a powerful tool for near-term quantum devices. Future work may extend this framework to characterize quantum processes (channels) or combine shadows with deep learning to create hybrid characterization models.

Summary updated

BibTeX
@misc{huang2019predicting,
  author = {Hsin-Yuan Huang and Richard Kueng},
  title = {{Predicting Features of Quantum Systems using Classical Shadows}},
  year = {2019},
  eprint = {1908.08909},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.08909},
}
Figure