Abstract
The hybrid quantum–classical learning scheme provides a prominent way to achieve quantum advantages on near-term quantum devices. A concrete example toward this goal is the quantum neural network (QNN), which has been developed to accomplish various supervised learning tasks such as classification and regression. However, there are two central issues that remain obscure when QNN is exploited to accomplish classification tasks. First, a quantum classifier that can well balance the computational cost such as the number of measurements and the learning performance is unexplored. Second, it is unclear whether quantum classifiers can be applied to solve certain problems that outperform their classical counterparts. Here we devise a Grover-search based quantum learning scheme (GBLS) to address the above two issues. Notably, most existing QNN-based quantum classifiers can be seamlessly embedded into the proposed scheme. The key insight behind our proposal is reformulating the classification tasks as the search problem. Numerical simulations exhibit that GBLS can achieve comparable performance with other quantum classifiers under various noise settings, while the required number of measurements is dramatically reduced. We further demonstrate a potential quantum advantage of GBLS over classical classifiers in the measure of query complexity. Our work provides guidance to develop advanced quantum classifiers on near-term quantum devices and opens up an avenue to explore potential quantum advantages in various classification tasks.
Introduction
In the current "Noisy Intermediate-Scale Quantum" (NISQ) era, Quantum Neural Networks (QNNs) are the leading candidates for practical applications. However, they face two major hurdles:
- The Measurement Problem: To calculate the gradients needed to train a QNN, the circuit must be executed and measured thousands of times. For large datasets and many parameters, this "sampling cost" becomes a massive bottleneck.
- The Quantum Advantage Problem: It is often difficult to prove that a quantum classifier actually performs better than a classical one for a specific task.
This paper, published in the New Journal of Physics, introduces a novel Grover-search-based learning scheme (GBLS) that reformulates classification as a quantum search problem to address these challenges.
Methodology: Classification as a Search Problem
The core innovation of GBLS is treating classification as a search for the "correct" label within a superposition of data. Instead of the standard approach where a QNN processes one data point at a time to predict a label, GBLS uses quantum interference to evaluate batches of data:
- Extended Datasets: Training examples are constructed to contain target data points alongside "distractor" points with opposite labels.
- Variational Grover Oracle: A Variational Quantum Circuit (VQC) acts as a trainable oracle that "marks" the correct classification state.
- Amplitude Amplification: Grover iterations amplify the probability of measuring the correct index. Because the data is loaded into a quantum superposition, the model can effectively "see" a batch of $K$ examples at once.
This approach mathematically reduces the measurement cost by a factor of $K$, requiring $O(TMNd/K)$ measurements compared to the $O(TMNd)$ required by standard QNNs.
Experimental Evaluation
The authors evaluated GBLS using a nonlinear synthetic dataset where the decision boundary is defined by a random unitary matrix—a standard benchmark designed to be difficult for linear classifiers but accessible to quantum models. To test real-world viability, they simulated various noise environments:
- Depolarization Noise: Tested at 5% and 25% rates.
- Hardware Noise: Modeled after the
IBMQ_ourensequantum processor to reflect the imperfections of current hardware.
Key Results and Insights
- Efficiency: Simulations with $K=4$ demonstrated a 4x reduction in measurement cost without sacrificing accuracy.
- Performance: GBLS reached 99% accuracy on the nonlinear dataset within just two epochs, matching state-of-the-art quantum kernel classifiers.
- Robustness: The scheme remained stable even under 25% depolarization noise and realistic hardware noise profiles, outperforming some traditional batch-gradient descent methods.
- Theoretical Advantage: The authors demonstrated that for specific tasks, GBLS provides a quadratic reduction in query complexity compared to classical classifiers.
- Architecture Agnostic: GBLS is a framework rather than a specific model; existing QNN architectures can be "plugged in" to gain these efficiencies.
Conclusion and Future Directions
While GBLS significantly reduces measurement overhead, it increases circuit depth due to the required Grover iterations. On current noisy hardware, longer circuits are more prone to decoherence and gate errors. Future work will focus on optimizing data encoding to mitigate the need for complex multi-controlled gates and scaling the scheme to high-dimensional, real-world datasets like MNIST or genomic data.
Reference: Du, Y., Hsieh, M.-H., Liu, T., & Tao, D. (2021). A Grover-search based quantum learning scheme for classification. New Journal of Physics, 23(023020). DOI: 10.1088/1367-2630/abdefa
Summary updated