[Paper Review] Classically Approximating Variational Quantum Machine Learning with Random Fourier Features
This paper proposes a classical sampling method using Random Fourier Features (RFF) to approximate Variational Quantum Circuits (VQCs) by sampling key frequencies from their exponentially large quantum feature space. It shows that with only a small, favorably scaling number of samples—especially when the VQC spectrum is redundant—RFF can match or outperform VQCs on both synthetic and real datasets, challenging the assumption of quantum advantage in many cases.
Many applications of quantum computing in the near term rely on variational quantum circuits (VQCs). They have been showcased as a promising model for reaching a quantum advantage in machine learning with current noisy intermediate scale quantum computers (NISQ). It is often believed that the power of VQCs relies on their exponentially large feature space, and extensive works have explored the expressiveness and trainability of VQCs in that regard. In our work, we propose a classical sampling method that may closely approximate a VQC with Hamiltonian encoding, given only the description of its architecture. It uses the seminal proposal of Random Fourier Features (RFF) and the fact that VQCs can be seen as large Fourier series. We provide general theoretical bounds for classically approximating models built from exponentially large quantum feature space by sampling a few frequencies to build an equivalent low dimensional kernel, and we show experimentally that this approximation is efficient for several encoding strategies. Precisely, we show that the number of required samples grows favorably with the size of the quantum spectrum. This tool therefore questions the hope for quantum advantage from VQCs in many cases, but conversely helps to narrow the conditions for their potential success. We expect VQCs with various and complex encoding Hamiltonians, or with large input dimension, to become more robust to classical approximations.
Motivation & Objective
- To investigate whether classical methods can effectively approximate the expressivity of Variational Quantum Circuits (VQCs) in machine learning tasks.
- To determine under what conditions VQCs might still offer a true advantage over classical models.
- To develop and evaluate practical classical approximation methods based on Random Fourier Features (RFF) that require only the VQC architecture, not quantum execution.
- To analyze the dependence of approximation quality on key VQC properties such as input dimension, encoding Hamiltonian structure, and spectrum redundancy.
- To provide theoretical bounds and empirical validation for the efficiency of RFF in approximating VQCs with bounded error.
Proposed method
- The method leverages the fact that VQCs can be expressed as Fourier series, with their spectral components derived from the encoding gates and circuit unitaries.
- Three distinct RFF sampling strategies are proposed: Tree Sampling, Distinct Sampling, and Grid Sampling, each tailored to different spectral structures in VQCs.
- Frequencies are extracted from the VQC's architecture, particularly from the encoding Hamiltonians, to build a classical kernel approximation without running the quantum circuit.
- Theoretical bounds are derived showing that the number of required RFF samples grows favorably with the size of the quantum spectrum, especially when redundancy is high.
- The approach uses classical optimization to train the RFF-based kernel model, enabling direct comparison with quantum-trained VQCs on the same datasets.
- Empirical evaluation is conducted on both artificial and real-world datasets to compare generalization performance and sample efficiency between RFF approximations and original VQCs.
Experimental results
Research questions
- RQ1Can a classical kernel model based on Random Fourier Features approximate the function learned by a Variational Quantum Circuit with bounded error and a small number of samples?
- RQ2How does the number of required RFF samples scale with key VQC properties such as input dimension, circuit depth, and spectrum redundancy?
- RQ3In which regimes do VQCs still offer a potential advantage over classical RFF approximations, particularly when encoding Hamiltonians are non-diagonalizable?
- RQ4To what extent does the effective expressivity of VQCs match their theoretical potential, given that only a subset of frequencies in the spectrum have non-zero coefficients?
- RQ5Can classical RFF methods outperform VQCs in practice, and under what conditions?
Key findings
- RFF approximations can match or even outperform VQCs on both synthetic and real datasets, demonstrating strong empirical performance with minimal sampling.
- The number of required RFF samples grows favorably with the size of the quantum spectrum, and in some cases, only 0.001% of the spectrum is needed for good approximation.
- When the VQC spectrum exhibits high redundancy, Tree Sampling—being the most computationally efficient—achieves strong approximation with fewer samples.
- Distinct and Grid Sampling strategies can outperform VQCs in learning less redundant frequencies in the spectrum, where Tree Sampling may fail.
- Theoretical bounds suggest favorable scaling of sample complexity, though high constant factors limit immediate practical relevance in small-scale experiments.
- The results challenge the assumption of quantum advantage in VQCs for classical data learning, especially when encoding gates are simple or diagonalizable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.