Alternating Layered Variational Quantum Circuits Can Be Classically Optimized Efficiently Using Classical Shadows
Afrad Basheer, Yuan Feng, Christopher Ferrie, Sanjiang Li
TL;DR
$Variational quantum algorithms (VQAs) on near-term devices face training and sample-cost challenges. The paper introduces ALSO, an alternating layered shadow optimization that uses classical shadows to evaluate and optimize VQAs on a classical computer, achieving exponential savings in input-state copies when the depth is $d=O(\log n)$. It demonstrates two practical applications—state preparation and quantum autoencoders—where ALSO matches or outperforms ideal infinite-copy training with far fewer copies, and shows substantial resource gains over standard VQA training in simulations. The approach enables efficient, reusable shadows and extends to broader trainable ansätze and calibration tasks, offering a practically impactful route to scalable quantum-classical hybrid learning.$
Abstract
Variational quantum algorithms (VQAs) are the quantum analog of classical neural networks (NNs). A VQA consists of a parameterized quantum circuit (PQC) which is composed of multiple layers of ansatzes (simpler PQCs, which are an analogy of NN layers) that differ only in selections of parameters. Previous work has identified the alternating layered ansatz as potentially a new standard ansatz in near-term quantum computing. Indeed, shallow alternating layered VQAs are easy to implement and have been shown to be both trainable and expressive. In this work, we introduce a training algorithm with an exponential reduction in training cost of such VQAs. Moreover, our algorithm uses classical shadows of quantum input data, and can hence be run on a classical computer with rigorous performance guarantees. We demonstrate 2--3 orders of magnitude improvement in the training cost using our algorithm for the example problems of finding state preparation circuits and the quantum autoencoder.
