arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.24220cs.LGquant-ph
收藏

对比经典与量子变分分类器在XOR问题上的表现

Comparing Classical and Quantum Variational Classifiers on the XOR Problem

institutetext(机构)

Miras Seilkhan, Adilbek Taizhanov

AI总结:

本文比较了经典与量子变分分类器在XOR问题上的表现,发现深度增加可提升准确率,但鲁棒性和效率无明显优势。

摘要:

量子机器学习应用叠加和纠缠等原理来处理数据和优化。变分量子模型在高维希尔伯特空间上的量子比特上运行,并提供了一种替代方法来建模表达性。我们比较了经典模型和一个变分量子分类器在XOR问题上的表现。逻辑回归、一个具有单隐藏层的多层感知机,以及一个具有两个量子比特的变分量子分类器,其电路深度为1和2,在具有不同高斯噪声和样本大小的合成XOR数据集上被评估,使用准确率和二元交叉熵。性能主要由模型表达性决定。逻辑回归和深度为1的量子电路无法可靠地表示XOR,而多层感知机和深度为2的量子电路在代表性条件下实现了完美的测试准确率。在噪声水平、数据集大小和随机种子的鲁棒性分析中,确认电路深度是该任务上量子性能的关键因素。尽管在准确率上相同,多层感知机在二元交叉熵上更低,并且训练时间显著更短。硬件执行保留了全局的XOR结构,但引入了决策函数中的结构化偏差。总体而言,更深层次的变分量子分类器在低维XOR基准上可以与经典神经网络在准确率上匹配,但在所考察的设置中并未观察到明显的鲁棒性或效率优势。

英文摘要:

Quantum machine learning applies principles such as superposition and entanglement to data processing and optimization. Variational quantum models operate on qubits in high-dimensional Hilbert spaces and provide an alternative approach to model expressivity. We compare classical models and a variational quantum classifier on the XOR problem. Logistic regression, a one-hidden-layer multilayer perceptron, and a two-qubit variational quantum classifier with circuit depths 1 and 2 are evaluated on synthetic XOR datasets with varying Gaussian noise and sample sizes using accuracy and binary cross-entropy. Performance is determined primarily by model expressivity. Logistic regression and the depth-1 quantum circuit fail to represent XOR reliably, whereas the multilayer perceptron and the depth-2 quantum circuit achieve perfect test accuracy under representative conditions. Robustness analyses across noise levels, dataset sizes, and random seeds confirm that circuit depth is decisive for quantum performance on this task. Despite matching accuracy, the multilayer perceptron achieves lower binary cross-entropy and substantially shorter training time. Hardware execution preserves the global XOR structure but introduces structured deviations in the decision function. Overall, deeper variational quantum classifiers can match classical neural networks in accuracy on low-dimensional XOR benchmarks, but no clear empirical advantage in robustness or efficiency is observed in the examined settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑