arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.02530quant-ph
收藏

AQ-Stacker:一种通过并行Hadamard堆叠实现的自适应量子矩阵乘法算法

AQ-Stacker: An Adaptive Quantum Matrix Multiplication Algorithm with Scaling via Parallel Hadamard Stacking

North Carolina State University(北卡罗来纳州立大学)

Wladimir Silva

AI总结:

本文提出一种基于自适应Hadamard测试的混合量子-经典矩阵乘法算法,通过量子随机访问内存实现向量内积计算复杂度降至O(logN),并引入自适应堆叠框架实现从顺序水平堆叠到大规模垂直并行的动态转换,实验在QML上达到96%的MNIST识别准确率。

摘要:

矩阵乘法(MatMul)是现代机器学习计算的核心,但其经典复杂度仍然是大规模数据处理的瓶颈。我们提出了一种基于自适应Hadamard测试的混合量子-经典矩阵乘法算法。通过利用量子随机访问内存(QRAM)进行状态准备,我们证明了两个向量内积计算的复杂度可以降低到$O(\log N)$。我们引入了“自适应堆叠”框架,使算法能够根据可用量子位资源动态重新配置其执行模式,从顺序水平堆叠转换到大规模垂直并行。这种灵活性使算法的复杂度范围可调,理论上在容错系统中可达$O(N^2)$,同时保持与近期硬件的兼容性。我们通过量子机器学习(QML)模拟验证了我们方法的数值稳定性,在MNIST手写数字数据集上达到了96%的准确率。我们的结果表明,自适应量子MatMul为高维线性代数运算的超经典效率提供了一条可行的道路。

英文摘要:

Matrix multiplication (MatMul) is the computational backbone of modern machine learning, yet its classical complexity remains a bottleneck for large scale data processing. We propose a hybrid quantum classical algorithm for matrix multiplication based on an adaptive configuration of Hadamard tests. By introducing classical memoization that caches state preparation blocks outside the main compilation loop, we reduce the total classical pre processing overhead for all N^2 element circuits to O(N^2). This decouples the heavy gate synthesis overhead from the core quantum processing loop, enabling execution complexities that strictly match classical input/output boundaries. We introduce an "Adaptive Stacking" framework that allows the algorithm to dynamically reconfigure its execution pattern - from sequential horizontal stacking to massive vertical parallelism - based on available qubit resources. This flexibility enables a tunable time complexity range, theoretically reaching O(N^2) on fault tolerant systems while maintaining compatibility with near term hardware. Our core theoretical contribution is the formalization of the "Entropy Dividend": an information theoretic concentration bound proving that the effective measurement variance sigma^2_eff <= (1/S) (1 - (1/2N) e^[H_max - H(psi)]) approaches its maximum. This makes AQ-Stacker uniquely suited for stabilizing the stochastic weight distributions of deep neural networks. We validate the numerical stability of our approach through Quantum Machine Learning (QML) Statevector simulations, achieving 96% accuracy on the MNIST handwritten digit dataset. Our results suggest that entropic noise suppression and parallel Hadamard stacking provide a scalable path toward super-classical efficiency in next-generation quantum-enhanced AI.

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

↑