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

Data and code example for the article: "Massively parallel hybrid quantum-classical machine learning for kernelized time-series classification"

Jack S. Baker, Gilchan Park, Kwangmin Yu, Ara Ghukasyan, Oktay Göktaş, Santosh Kumar RadhaarXiv 2023 · DOI

Abstract

This paper presents a hybrid quantum-classical framework for time-series classification, utilizing the Time-Series Hamiltonian Kernel (TSHK). By integrating quantum time evolution with a convex optimization layer, the proposed Quantum-Classical-Convex neural network (QCC-net) effectively learns temporal patterns. To overcome the computational overhead of quantum kernel methods, the authors leverage Quantum Multi-Programming (QMP) on 127-qubit processors, achieving significant speedups while maintaining competitive accuracy with classical deep learning models.

Introduction

Time-series classification—identifying patterns in temporal data such as sensor readings or financial trends—is a core challenge in machine learning. While deep learning models like LSTMs are standard, classical kernel-based methods often struggle to naturally encode temporal dependencies into a learnable similarity measure. Furthermore, the quadratic scaling of kernel methods presents a significant computational bottleneck on current quantum hardware.

This research addresses these challenges by introducing the TSHK, which uses parameterized Hamiltonians to evolve quantum states over time, and a parallelized execution strategy that transforms quantum machine learning (QML) from a serial bottleneck into a high-throughput workflow.

Methodology: The QCC-net Framework

The researchers propose the Quantum-Classical-Convex neural network (QCC-net), an end-to-end learning architecture that optimizes both quantum and classical parameters.

The QCC-net workflow: (i) Gram matrix calculation, (ii) convex optimization for temporal weights, (iii) differentiation, (iv) parameter updates, and (v) final kernel combination.

As illustrated in the figure above, the process involves:

  1. The TSHK: A parameterized Hamiltonian embeds time-series data into a quantum feature space. Similarity is calculated as a weighted sum of quantum inner products across different time steps.
  2. Convex Optimization: The model employs the EasyMKL algorithm to find optimal temporal weights ($\eta$). This allows the network to perform "temporal attention," focusing on the most informative moments in a sequence.
  3. Quantum Multi-Programming (QMP): To address execution speed, the authors utilize 127-qubit IBM Eagle processors to run up to 35 circuits in parallel, drastically reducing the total number of QPU calls.

Key Results and Performance

The framework was evaluated on synthetic and benchmark datasets, including the "Gun-Point" hand-motion dataset and a "moons2circles" transition task.

Experimental results showing (a) evolving decision boundaries over time, (b-e) training loss convergence across different architectures, and (f-i) learned kernel functions.

Computational Efficiency

By deploying QMP, the authors achieved a 35x reduction in QPU calls. When accounting for job queuing and system overhead, this translates to an estimated 70x total speedup compared to traditional serial execution. This parallelism is critical for making kernelized QML viable for non-trivial datasets.

Classification Accuracy

On the Gun-Point benchmark, the TSHK achieved a balanced accuracy of ~98%. This performance matches state-of-the-art classical models like ResNet and Fully Convolutional Networks (FCN), but requires significantly fewer parameters. The model also demonstrated high noise resilience on NISQ hardware through the use of Tikhonov regularization.

Insights and Future Directions

The study highlights that Hamiltonians serve as elegant, natural feature maps for temporal data, capturing correlations that are difficult to define classically. The ability of the QCC-net to automatically identify "smoking gun" moments in time series suggests a powerful inductive bias for physical and temporal datasets.

Future work will focus on relaxing the "shared time axis" assumption—potentially through Dynamic Time Warping (DTW)—and investigating the scaling properties of these networks to determine if they are susceptible to barren plateaus as qubit counts increase.

Summary updated

BibTeX
@misc{baker2023data,
  author = {Jack S. Baker and Gilchan Park and Kwangmin Yu and Ara Ghukasyan and Oktay Göktaş and Santosh Kumar Radha},
  title = {{Data and code example for the article: "Massively parallel hybrid quantum-classical machine learning for kernelized time-series classification"}},
  year = {2023},
  eprint = {2305.05881},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.05881},
}
Figure