This article analyzes the issue of accurately predicting the price and sales volume of retail products based on classical and quantum approaches. The classical Support Vector Regression (SVR) model was evaluated in comparison with the Quantum Support Vector Regression (QSVR) model based on quantum computing. Latent representations of the data were obtained through dimensionality reduction using an autoencoder and utilized for forecasting. The experimental results demonstrated that the QSVR model outperforms the classical SVR model in terms of MAE, MSE, and R2 indicators. The study effectively employed quantum kernel functions, data re-uploading feature maps, and the COBYLA optimization algorithm. The findings confirm the practical potential of quantum machine learning methods.
This article analyzes the issue of accurately predicting the price and sales volume of retail products based on classical and quantum approaches. The classical Support Vector Regression (SVR) model was evaluated in comparison with the Quantum Support Vector Regression (QSVR) model based on quantum computing. Latent representations of the data were obtained through dimensionality reduction using an autoencoder and utilized for forecasting. The experimental results demonstrated that the QSVR model outperforms the classical SVR model in terms of MAE, MSE, and R2 indicators. The study effectively employed quantum kernel functions, data re-uploading feature maps, and the COBYLA optimization algorithm. The findings confirm the practical potential of quantum machine learning methods.
Support vector machines are powerful and frequently used machine learning methods for classification and regression tasks, which rely on the construction of kernel matrices. While crucial for the performance of this machine learning approach, choosing the most suitable kernel is highly problem-dependent. The emergence of quantum computers and quantum machine learning techniques provides new possibilities for generating powerful quantum kernels. Within this work, we solve a real-world price forecasting problem using fidelity and projected quantum kernels, which are promising candidates for the utility of near-term quantum computing. In our analysis, we examine and validate the most auspicious quantum kernels from literature and compare their performance with an optimized classical kernel. Unlike previous work on quantum support vector machines, our dataset includes categorical features that need to be encoded as numerical features, which we realize by using the one-hot-encoding scheme. One-hot-encoding, however, increases the dimensionality of the dataset significantly, which collides with the current limitations of noisy intermediate scale quantum computers. To overcome these limitations, we use autoencoders to learn a low-dimensional representation of the feature space that still maintains the most important information of the original data. To examine the impact of autoencoding, we compare the results of the encoded date with the results of the original, unencoded dataset. We could demonstrate that quantum kernels are comparable to or even better than the classical support vector machine kernels regarding the mean absolute percentage error scores for both encoded and unencoded datasets.
Quantum Support Vector Regression (QSVR) has emerged as one of the most promising quantum machine learning algorithms for nonlinear regression on Noisy Intermediate-Scale Quantum (NISQ) devices. However, despite numerous simulation-based studies, experimental evaluations on physical quantum hardware remain relatively scarce. This work presents a comparative analysis of three regression approaches: classical Support Vector Regression (SVR) with a Radial Basis Function (RBF) kernel, classical SVR utilizing precomputed quantum kernels, and the native QSVR implementation available in the qiskit-machine-learning framework. Experiments were conducted on three benchmark regression datasets using three execution environments: a noiseless Qiskit Aer simulator, the IQM Adonis hardware-aware simulator, and the physical 5-qubit IQM Spark superconducting quantum computer (Odra 5) located at Wrocław University of Science and Technology. Multiple quantum feature maps and circuit depths were investigated, while model hyperparameters were optimized using grid search. The obtained results demonstrate that QSVR can be successfully executed on contemporary superconducting quantum hardware and, for selected datasets, achieves prediction accuracy comparable to or exceeding that of a classical RBF-based SVR. The experiments further reveal the significant influence of quantum hardware noise, feature map selection, and circuit depth on regression quality. Moreover, the implementation based on precomputed quantum kernels generally exhibits greater robustness on physical hardware than the native QSVR implementation. The presented benchmark provides an experimental assessment of QSVR under realistic execution conditions and contributes to the ongoing evaluation of quantum machine learning algorithms on current NISQ-era quantum computers.
Abstract Quantum machine learning is a rapidly growing field at the intersection of quantum computing and machine learning. In this work, we examine our quantum machine learning models, which are based on quantum support vector classification (QSVC) and quantum support vector regression (QSVR). We investigate these models using a quantum-circuit simulator, both with and without noise, as well as the IonQ Harmony quantum processor. For the QSVC tasks, we use a dataset containing fraudulent credit card transactions and image datasets (the MNIST and the Fashion-MNIST datasets); for the QSVR tasks, we use a financial dataset and a materials dataset. For the classification tasks, the performance of our QSVC models using 4 qubits of the trapped-ion quantum computer was comparable to that obtained from noiseless quantum-circuit simulations. The result is consistent with the analysis of our device-noise simulations with varying qubit-gate error rates. For the regression tasks, applying a low-rank approximation to the noisy quantum kernel, in combination with hyperparameter tuning in ε-SVR, improved the performance of the QSVR models on the near-term quantum device. Our results suggest that the quantum kernel, as described by our shallow quantum circuit, can be effectively used for both QSVC and QSVR tasks, indicating its resistance to noise and its adaptability to various datasets.
High-Frequency Financial Forecasting is important in algorithmic trading as it helps make decisions based on high-frequency data in milliseconds. This challenge has been found to be unsolvable using conventional machine learning approaches, such as classical Support Vector Machines (SVMs), Random Forest (RF), and deep learning models, which were not able to capture the nonlinear and high-dimensional patterns embedded in the high-frequency datasets, leading to poor prediction performance. This paper proposes a Supervised Quantum Support Vector Machine (QSVM) model, which is tailored for the high-frequency financial forecasting task. The QSVM can effectively encode the market information and enhance the predictability while maintaining the computational efficiency through quantum feature mapping and high-dimensional Hilbert space. This process includes encoding of tick-level market microstructure data, stock and futures prices, and technical indicators into quantum states and subsequent training using a quantum-classical hybrid optimization loop. Classical SVM, Random Forest, LSTM, and hybrid QML are used as the benchmarks for the proposed QSVM using forecasting accuracy, RMSE, MAPE, computational latency, and Sharpe ratio. The results obtained from the experiment show that the QSVM has better accuracy (91.2%), RMSE (0.018), and latency (22 ms) as well. Hence, the QSVM shows better performance when compared to other methods and is capable of modeling the markets that have a fast change in dynamics. High-dimensional quantum kernel plays a part in enhancing the ability to separate non-linearities. Therefore, the QSVM could be a potential solution to apply in algorithmic trading. The limitations are hardware constraints of NISQ and restrictions on the size of the dataset. Future directions of research will include the scalability of the model and the use of ensemble approaches.
Blood glucose is one of the key indicators influencing the body’s metabolic performance. Accurate prediction and proactive management of this parameter are of paramount clinical importance. In this context, the analysis and evaluation of quantum machine learning (QML) algorithms for processing medical data and enhancing the predictive accuracy of health-related models have emerged as cutting-edge research directions in recent studies. Leveraging the principles of quantum physics and computation, QML algorithms serve as a promising alternative to classical methods for predicting chronic diseases. By mapping classical data into a quantum feature space and exploiting intrinsic quantum properties such as superposition and entanglement, these algorithms significantly enhance the ability to detect complex and latent patterns within datasets. In this study, the dataset was first preprocessed using Principal Component Analysis (PCA) for dimensionality reduction and noise suppression. Subsequently, the predictive performance of two quantum machine learning models—the Quantum Support Vector Machine (QSVM) and the Variational Quantum Circuit (VQC)—was evaluated and compared with that of the classical Support Vector Machine (SVM) for blood glucose level prediction. The results indicate that the QSVM model achieves a prediction accuracy of 90%, outperforming the classical SVM, which attained an accuracy of 74.4%. Moreover, the hybrid classical–quantum VQC model demonstrated the highest predictive performance, achieving an accuracy of 94.2%, thereby establishing it as the most effective approach for blood glucose level forecasting in this experimental setting.
Anomaly detection, an important task in data analysis, involves identifying observations or events that deviate in some way from the rest of the data. Machine learning techniques have shown success in automating this process by detecting hidden patterns and deviations in large-scale data. The potential of quantum computing for machine learning has been widely recognized, leading to extensive research efforts to develop suitable quantum machine learning (QML) algorithms. In particular, the search for QML algorithms for near-term NISQ devices is in full swing. However, NISQ devices pose additional challenges due to their limited qubit coherence times, low number of qubits, and high error rates. Kernel methods based on quantum kernel estimation have emerged as a promising approach to QML on NISQ devices, offering theoretical guarantees, versatility, and compatibility with NISQ constraints. Especially support vector machines (SVM) utilizing quantum kernel estimation have shown success in various supervised learning tasks. However, in the context of anomaly detection, semisupervised learning is of great relevance, and yet there is limited research published in this area. This paper introduces an approach to semisupervised anomaly detection based on the reconstruction loss of a support vector regression (SVR) with quantum kernel. This novel model is an alternative to the variational quantum and quantum kernel one-class classifiers, and is compared to a quantum autoencoder as quantum baseline and a SVR with radial-basis-function (RBF) kernel as well as a classical autoencoder as classical baselines. The models are benchmarked extensively on 10 real-world anomaly detection data sets and one toy data set and it is shown that our SVR model with quantum kernel performs better than the SVR with RBF kernel as well as all other models, achieving highest mean AUC over all data sets. In addition, our QSVR outperforms the Quantum autoencoder on 9 out of 11 data sets.