NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Leveraging Pre-Trained Neural Networks to Enhance Machine Learning with Variational Quantum Circuits

Jun Qi, Chao-Han Huck Yang, Samuel Yen-Chi Chen, Pin-Yu Chen, Hector Zenil, Jesper TegnérarXiv 2024

Abstract

Quantum Machine Learning (QML) offers tremendous potential but is currently limited by the availability of qubits. We introduce an innovative approach that utilizes pre-trained neural networks to enhance Variational Quantum Circuits (VQC). This technique effectively separates approximation error from qubit count and removes the need for restrictive conditions, making QML more viable for real-world applications. Our method significantly improves parameter optimization for VQC while delivering notable gains in representation and generalization capabilities, as evidenced by rigorous theoretical analysis and extensive empirical testing on quantum dot classification tasks. Moreover, our results extend to applications such as human genome analysis, demonstrating the broad applicability of our approach. By addressing the constraints of current quantum hardware, our work paves the way for a new era of advanced QML applications, unlocking the full potential of quantum computing in fields such as machine learning, materials science, medicine, mimetics, and various interdisciplinary areas.

Introduction

In the current "Noisy Intermediate-Scale Quantum" (NISQ) era, quantum hardware is characterized by a limited number of noisy qubits. This bottleneck makes it difficult to apply Quantum Machine Learning (QML) to complex, high-dimensional real-world data. Standard Variational Quantum Circuits (VQCs) face three primary hurdles: the qubit bottleneck (where representation power is strictly limited by qubit count), poor generalization on small datasets, and severe optimization challenges like barren plateaus.

This research proposes a hybrid Pre-X + VQC architecture that utilizes classical transfer learning to alleviate these pains. By using a "frozen" classical neural network as a feature extractor, the quantum circuit can focus on high-level decision-making without being constrained by the dimensionality of the raw input.

The Pre-X + VQC Framework

The proposed methodology operates in two distinct stages. First, a classical model (such as a ResNet-18) is pre-trained on a massive generic dataset (e.g., ImageNet). Second, this model's weights are frozen, and it is used to transform raw input into "context-enriched" features. These features are then fed into a VQC for fine-tuning on a specific target task.

The transfer learning framework: (a) pre-training a classical model on a generic dataset and (b) fine-tuning a VQC on a target dataset using the frozen classical feature extractor.

This approach effectively decouples the representation power of the system from the physical qubit count. The classical component handles the high-dimensional feature extraction, while the quantum component performs the final classification or regression.

Theoretical Error Analysis

A core contribution of this work is a rigorous theoretical decomposition of total error into approximation, estimation, and optimization components. The authors derive new upper bounds showing that the approximation error now depends on the complexity of the classical network and the size of the source dataset, rather than the number of qubits.

Comparison of theoretical error components between the proposed Pre-X+VQC framework and standard VQC models.

As illustrated in the table above, the hybrid approach allows for lower approximation errors by leveraging large classical datasets ($D_A$), whereas standard VQCs are limited by the number of qubits ($U$). Furthermore, the optimization error is bounded without requiring restrictive mathematical conditions like the Polyak-Łojasiewicz (PL) assumption, which are typically necessary for VQC convergence guarantees.

Empirical Results and Discussion

The framework was validated on two distinct tasks:

  1. Semiconductor Quantum Dot Classification: Identifying charge state transition lines in simulated stability diagrams. The Pre-ResNet18 + VQC model achieved 99.85% accuracy, significantly outperforming the ~65% accuracy of a standalone VQC. The model also demonstrated high resilience to realistic noise.
  2. Human Genome TFBS Prediction: Predicting Transcription Factor Binding Sites for the protein JunD. The hybrid model outperformed its purely classical counterpart (Pre-TTN + NN), suggesting that the quantum component provides a unique advantage in processing these specific feature sets.

Conclusion

By integrating pre-trained classical networks with VQCs, this research provides a viable path for applying QML to high-dimensional data using existing NISQ hardware. This paradigm shifts the burden of representation from scarce qubits to abundant classical data, making VQCs practical for fields like materials science and drug discovery today, rather than waiting for large-scale fault-tolerant quantum computers.

Summary updated

BibTeX
@misc{qi2024leveraging,
  author = {Jun Qi and Chao-Han Huck Yang and Samuel Yen-Chi Chen and Pin-Yu Chen and Hector Zenil and Jesper Tegnér},
  title = {{Leveraging Pre-Trained Neural Networks to Enhance Machine Learning with Variational Quantum Circuits}},
  year = {2024},
  eprint = {2411.08552},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.08552},
}
Figure