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

迈向容错量子深度学习:利用量子算术与线性代数原语设计和分析量子 ResNet 与 Transformer

Towards Fault-Tolerant Quantum Deep Learning: Designing and Analyzing Quantum ResNet and Transformer with Quantum Arithmetic and Linear Algebra Primitives

Xiao-Fan Xu, Cheng Xue, Xi-Ning Zhuang, Yun-Jie Wang, Tai-Ping Sun, Yu Fang, Jun-Chao Wang, Huan-Yu Liu, Yu-Chun Wu, Zhao-Yun Chen, Guo-Ping Guo

AI总结:

本文提出一种容错量子深度学习框架,通过量子线性代数与量子算术分工,并引入离散切比雪夫分解数据传输协议,设计量子 ResNet 和 Transformer,实现测量成本随输入维度亚线性增长,从而保持量子优势。

摘要:

为深度神经网络(DNNs)实现实用的量子加速仍然是一个核心但难以实现的目标,其障碍来自构建深层架构的双重挑战以及数据加载和测量的巨大开销。我们引入一个框架来克服这些障碍,特别针对现代 DNN 的大输入维度(例如序列长度或图像大小)实现渐近加速。我们的框架通过策略性地分解任务来支持多层 Quantum ResNet 和 Quantum Transformer 模型的设计:在大输入维度上计算密集的操作被分配给量子线性代数子程序,而在较小的固定特征维度上的操作则由高效的量子算术处理。我们方法的一个基石是一种新颖的数据传输协议,即离散切比雪夫分解(Discrete Chebyshev Decomposition,DCD),它促进了这种模块化。数值验证揭示了一个关键见解:维持目标精度所需的测量成本随输入维度呈亚线性增长。这种亚线性增长是保持量子优势的关键,确保 I/O 开销不会抵消计算收益。严格的资源分析进一步证实了我们的模型在效率和灵活性上的优越性。在这一针对性加速策略和 DCD 效率的推动下,我们的框架为可扩展的量子深度学习建立了一条可行路径。

英文摘要:

Achieving a practical quantum speedup for deep neural networks (DNNs) remains a central yet elusive goal, hindered by the dual challenges of constructing deep architectures and the prohibitive overhead of data loading and measurement. We introduce a framework to overcome these barriers, specifically targeting an asymptotic speedup with respect to the large input dimensions of modern DNNs (e.g., sequence length or image size). Our framework enables the design of multi-layer Quantum ResNet and Quantum Transformer models by strategically decomposing tasks: computationally intensive operations on the large input dimension are assigned to quantum linear algebra subroutines, while operations on the smaller, fixed feature dimension are handled by efficient quantum arithmetic. A cornerstone of our approach is a novel data transfer protocol, Discrete Chebyshev Decomposition (DCD), which facilitates this modularity. Numerical validation reveals a pivotal insight: the measurement cost required to maintain a target accuracy scales sublinearly with the input dimension. This sublinear scaling is the key to preserving the quantum advantage, ensuring that I/O overhead does not nullify the computational gains. A rigorous resource analysis further corroborates the superiority of our models in both efficiency and flexibility. Powered by this targeted acceleration strategy and the efficiency of DCD, our framework establishes a viable path toward scalable quantum deep learning.

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

↑