A Novel Spatial-Temporal Variational Quantum Circuit to Enable Deep Learning on NISQ Devices

Jinyang Li, Zhepeng Wang, Zhirui Hu, Prasanna Date, Ang Li, Weiwen Jiang

Introduction: The Challenges of NISQ-era QML

Current Quantum Machine Learning (QML) research relies heavily on Variational Quantum Circuits (VQCs). While these hybrid models offer a path toward quantum advantage, they face three significant hurdles that prevent them from matching the performance of classical deep learning: linearity, spatial ignorance, and the "deployability gap."

Standard quantum gates are unitary operators, which are inherently linear. This makes it difficult for VQCs to classify datasets that are not linearly separable. Furthermore, most VQCs treat input data as flat vectors, ignoring the spatial relationships—such as pixel proximity in images—that Convolutional Neural Networks (CNNs) exploit so effectively. Finally, circuits designed in simulators often fail on real Noisy Intermediate-Scale Quantum (NISQ) hardware due to the overhead of SWAP gates required to move information between non-adjacent physical qubits.

The hybrid quantum-classical optimization loop used in Variational Quantum Circuits.

The ST-VQC Framework: Bridging the Gap

To address these issues, this research introduces ST-VQC (Spatial-Temporal Variational Quantum Circuit), a system-level design that transforms shallow VQCs into deep learning models. The framework consists of two primary components:

  1. ST-Encoder: This module handles data input using a block-based encoding strategy to capture spatial features. To introduce non-linearity, it employs tensor products—duplicating data across multiple qubits—to create higher-order correlations directly within the quantum state.
  2. ST-Processor: This component utilizes a cascaded "reverse tree" structure. Qubits are entangled in hierarchical layers, allowing the model to learn increasingly complex features over "time" (the temporal aspect), mimicking the depth of classical neural networks.

Hardware-Aware Optimization and SWAP-Free Design

A critical innovation of ST-VQC is its "Hardware-First" approach. In the NISQ era, logical circuit design cannot be decoupled from physical hardware constraints. The ST-VQC framework analyzes the physical topology of the target quantum chip and generates a logical circuit that maps directly to the available connectivity.

Mapping a logical circuit to physical hardware to achieve a SWAP-free design.

By ensuring the design is "SWAP-free," the authors eliminate the need for noisy SWAP operations, preserving the fidelity of the quantum state. To manage the vast hyperparameter space (block size, stride, duplication counts), the authors implemented a Reinforcement Learning (RL) controller based on a Recurrent Neural Network (RNN) to automatically search for the optimal circuit configuration for a given hardware limit.

Experimental Results: From 50% to 90% Accuracy

The researchers evaluated ST-VQC using downsampled MNIST-2 (4x4 pixels) and a suite of synthetic non-linear datasets (N1-N6) mapped onto the Bloch Sphere. The performance gains on real IBM quantum hardware (e.g., ibm_cairo and ibmq_lima) were substantial:

  • Hardware Resilience: On the MNIST-2 task, standard VQCs saw accuracy drop to ~50% (near random) on real hardware due to noise. ST-VQC maintained 90% accuracy on the same physical devices.
  • Non-linear Superiority: On synthetic benchmarks designed to be impossible for linear classifiers, ST-VQC outperformed classical linear models by 27.9% and existing VQCs by nearly 30%.
  • Efficiency: The ST-VQC (Qub) variant achieved 80.5% accuracy with fewer parameters and shorter circuit depth than traditional methods, proving that hardware-optimized circuit design is more effective than simply increasing circuit size.

Conclusion and Future Outlook

ST-VQC demonstrates that integrating spatial-temporal features and hardware-aware mapping can significantly close the gap between quantum simulators and real NISQ devices. While current experiments are limited to low-resolution images due to qubit counts, the framework provides a scalable blueprint for future QML. Future work will focus on more complex pooling strategies for high-resolution data and extending the ST-VQC architecture to domains such as Natural Language Processing (NLP) and large-scale optimization.

Summary updated

BibTeX
@inproceedings{li2023novel,
  author = {Jinyang Li and Zhepeng Wang and Zhirui Hu and Prasanna Date and Ang Li and Weiwen Jiang},
  title = {{A Novel Spatial-Temporal Variational Quantum Circuit to Enable Deep Learning on NISQ Devices}},
  booktitle = {QCE},
  year = {2023},
  doi = {10.1109/qce57702.2023.00038},
}
Figure