Abstract
Time-series forecasting plays a pivotal role in domains such as traffic prediction, financial analysis, and energy consumption monitoring. However, real-world time series often exhibit intertwined patterns-trends, seasonality, and latent structures-that pose significant challenges to forecasting accuracy. This paper proposes a novel forecasting model named QFreqFormer, which stands for Quantum Frequency Transformer. It combines the Quantum Fourier Transform (QFT) with a Dual-Layer Graph Attention Network (D-PAD) to effectively tackle the complexities of time-series forecasting. The QFT module exploits quantum parallelism and superposition to decompose time-series data into frequency components, offering a compact spectral representation. To further enhance the model's ability to capture intricate multi-frequency patterns, we propose the Quantum Frequency Decomposition-Reconstruction (Q-FR-Q) module, which progressively separates high- and low-frequency components using quantum parallel processing. The D-PAD framework integrates Graph Convolutional Networks (GCNs) with attention mechanisms to dynamically model temporal dependencies across frequency layers. Experimental results on benchmark datasets demonstrate that the proposed model consistently outperforms state-of-the-art methods in terms of Mean Squared Error (MSE) and Mean Absolute Error (MAE) across various horizons. In addition, the model demonstrates strong transfer learning capability, underscoring its robustness and generalizability across heterogeneous forecasting scenarios. This study introduces a quantum-enhanced deep learning framework that improves both forecasting accuracy and computational efficiency, offering practical advantages in real-world applications.