arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.00135quant-phcs.AIcs.LG
收藏

GroverGPT:用于量子搜索的80亿参数大语言模型

GroverGPT: A Large Language Model with 8 Billion Parameters for Quantum Searching

The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);The University of Pittsburgh(匹兹堡大学)

Haoran Wang, Pingzhi Li, Min Chen, Jinglei Cheng, Junyu Liu, Tianlong Chen

AI总结:

针对量子电路经典可模拟性限制不明确的问题,本研究开发基于LLaMA架构的80亿参数专用模型GroverGPT,通过模式识别近似量子搜索算法,在量子搜索实例上准确率显著优于GPT-4o,为量子研究提供新工具。

摘要:

量子计算是一种令人兴奋的非冯·诺依曼范式,在特定问题上提供了可证明的优于经典计算的加速。然而,量子电路经典可模拟性的实际限制仍不明确,尤其是在当前有噪声的量子设备下。在这项工作中,我们探索了利用大语言模型(LLMs)通过Grover量子电路模拟量子图灵机输出的潜力,该电路已知比经典对应物提供二次加速。为此,我们开发了GroverGPT,这是一种基于LLaMA 80亿参数架构的专用模型,在超过15万亿个token上进行了训练。与需要大量计算资源的暴力状态向量模拟不同,GroverGPT采用模式识别来近似量子搜索算法,而无需显式表示量子状态。通过分析97K个量子搜索实例,GroverGPT持续优于OpenAI的GPT-4o(45%准确率),在4量子比特或更大数据集上训练时,在6和10量子比特数据集上达到近100%的准确率。它还表现出强大的泛化能力,在3至6量子比特数据上训练时,对于超过20量子比特的系统,准确率超过95%。分析表明,GroverGPT捕捉了Grover搜索的量子特征而非经典模式,这得到了增强性能的新型提示策略的支持。尽管准确率随系统规模增加而下降,但这些发现为经典可模拟性的实际边界提供了见解。这项工作表明,特定任务的LLMs可以在量子算法学习中超越GPT-4o等通用模型,并作为推进量子研究的强大工具。

英文摘要:

Quantum computing is an exciting non-Von Neumann paradigm, offering provable speedups over classical computing for specific problems. However, the practical limits of classical simulatability for quantum circuits remain unclear, especially with current noisy quantum devices. In this work, we explore the potential of leveraging Large Language Models (LLMs) to simulate the output of a quantum Turing machine using Grover's quantum circuits, known to provide quadratic speedups over classical counterparts. To this end, we developed GroverGPT, a specialized model based on LLaMA's 8-billion-parameter architecture, trained on over 15 trillion tokens. Unlike brute-force state-vector simulations, which demand substantial computational resources, GroverGPT employs pattern recognition to approximate quantum search algorithms without explicitly representing quantum states. Analyzing 97K quantum search instances, GroverGPT consistently outperformed OpenAI's GPT-4o (45\% accuracy), achieving nearly 100\% accuracy on 6- and 10-qubit datasets when trained on 4-qubit or larger datasets. It also demonstrated strong generalization, surpassing 95\% accuracy for systems with over 20 qubits when trained on 3- to 6-qubit data. Analysis indicates GroverGPT captures quantum features of Grover's search rather than classical patterns, supported by novel prompting strategies to enhance performance. Although accuracy declines with increasing system size, these findings offer insights into the practical boundaries of classical simulatability. This work suggests task-specific LLMs can surpass general-purpose models like GPT-4o in quantum algorithm learning and serve as powerful tools for advancing quantum research.

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

↑