Introduction
Predicting the future in time series forecasting (TSF) is inherently difficult, but quantifying the associated uncertainty is even more challenging. While point estimates provide a single trajectory, probabilistic forecasting aims to predict a distribution of possible outcomes. The QuaCK-TSF framework introduces a hybrid approach that marries the statistical rigor of Gaussian Process Regression (GPR) with the high-dimensional representational power of quantum circuits. By leveraging quantum kernels to identify temporal patterns that classical models might overlook, this research presents a competitive path for TSF in the Noisy Intermediate-Scale Quantum (NISQ) era.
Problem Statement
Traditional time series models often struggle to simultaneously capture highly non-linear, multi-scale temporal dependencies and provide reliable uncertainty estimates. Gaussian Process Regression is a preferred Bayesian method for this task because it naturally provides a posterior distribution (mean and variance). However, the effectiveness of GPR is heavily dependent on its kernel function, which defines the similarity between different time windows. Standard classical kernels, such as the Radial Basis Function (RBF), may fail to capture the intricate dynamics of complex signals. Quantum systems offer a potential solution by mapping classical data into an exponentially large Hilbert space, allowing for the calculation of quantum kernels that capture data relationships computationally difficult for classical systems to simulate.
Methodology
The QuaCK-TSF framework is built upon three primary pillars:
- Quantum Feature Map (IQP-style): The model utilizes a variant of the Instantaneous Quantum Polynomial-time (IQP) circuit. Data is encoded into qubits using Hadamard gates and a unitary operator $U_z(\mathbf{x}, \alpha)$. This operator incorporates Ising-like interactions between qubit pairs, which serve as a proxy for temporal correlations within a lookback window.
- Gaussian Process Integration: Instead of standard classical kernels, the GPR uses the fidelity overlap between two quantum states as its similarity measure. This allows the model to maintain classical inference logic while benefiting from quantum-enhanced feature extraction.
- Gradient-Free Optimization: To avoid the high computational cost of the "parameter-shift rule" on quantum hardware, the authors employ Bayesian Optimization (BO) with a Matern 5/2 surrogate model. This efficiently tunes hyperparameters, such as the bandwidth coefficient $\alpha$ and noise levels, without requiring complex gradient calculations.
Experimental Design
The study evaluates the framework using a complex synthetic time series designed to mimic real-world challenges. The dataset combines linear trends, multiple sine waves (representing long-term cycles and short-term oscillations), and Gaussian noise. This non-stationary and non-linear composition provides a rigorous test for the kernel's ability to disentangle overlapping temporal patterns.
Results and Discussion
QuaCK-TSF was benchmarked against several classical kernels, including RBF, Matern, Rational Quadratic, and Periodic kernels.
- Uncertainty Quantification: The IQP quantum kernel achieved the highest Log Likelihood (LL) score of -50.17, outperforming all classical benchmarks. This suggests that the quantum model provides a more plausible explanation of the test data distribution and superior uncertainty quantification.
- Forecasting Accuracy: The model demonstrated high competitiveness, ranking among the top performers in metrics such as sMAPE (0.667) and MAE (0.561). Qualitatively, the quantum kernel produced smoother mean prediction curves, indicating a generalized perspective on the data's underlying manifold.
- Ablation Studies: Experiments indicated that 8 qubits (representing a window length of 8) provided the optimal balance of complexity and performance. Further increases in qubit count yielded diminishing returns, likely due to the limitations of the synthetic dataset size.
Conclusion
QuaCK-TSF demonstrates that quantum kernels are functional and competitive tools for probabilistic time series forecasting. While challenges remain regarding scalability and performance on actual NISQ hardware, the framework successfully bridges quantum Hilbert spaces and time series uncertainty. Future work will focus on testing the model on high-stakes real-world datasets, such as financial markets and power grid loads.
Summary updated