arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.17246quant-phcs.LG
收藏

用大语言模型编程量子电路参数

Programming Quantum Circuit Parameters with Large Language Models

University of Innsbruck(因斯布鲁克大学);Federal University of São Carlos(圣卡洛斯联邦大学)

Tiago de Souza Farias, Caio Moraes Porto, Matheus da Silva Fonseca, Nicolas Armando Cabrera Carpi, Anderson de Araujo Oliveira, Celso Jorge Villas-Boas

AI总结:

本文研究冻结通用LLM生成量子电路参数的方法,在结构化哈密顿量上表现良好,同时明确了其在通用哈密顿量上的局限及需独立验证预测的重要性。

摘要:

大语言模型(LLMs)近期展现出无需传统优化即可生成变分量子电路参数的能力,但该方法有效的适用条件仍不明确。本文研究一种冻结的通用LLM,其可从符号电路和哈密顿量描述生成完整的电路参数向量,支持可选的迭代能量反馈。我们在通用随机哈密顿量、结构化母哈密顿量及分子系统上评估该方法:对于通用哈密顿量,LLM生成的参数能量误差大于传统Adam优化,额外反馈通常提升有限;而对于结构化哈密顿量,LLM可生成有前景的低能参数配置,表明可识别的物理与数学结构有助于参数推断。我们还发现,LLM直接预测的最小能量可能违反哈密顿量谱下界,而生成的电路参数可独立评估物理上可实现的能量期望值。最后,我们研究盲电路解释,发现即使LLM无法识别底层量子算法,仍可预测测量结果。这些发现凸显了问题结构的作用、迭代LLM优化的局限性,以及量子参数编程中独立可验证预测的重要性。

英文摘要:

Large language models (LLMs) have recently demonstrated the ability to generate parameters for variational quantum circuits without conventional optimization. However, the conditions under which this approach is effective remain unclear. Here, we investigate a frozen, general-purpose LLM that generates complete circuit parameter vectors from symbolic circuit and Hamiltonian descriptions, with optional iterative energy feedback. We evaluate the approach on general random Hamiltonians, structured parent Hamiltonians, and molecular systems. For general Hamiltonians, LLM-generated parameters exhibit larger energy errors than conventional Adam optimization, while additional feedback generally provides limited improvement. In contrast, for structured Hamiltonians, the LLM can generate promising low-energy parameter configurations, suggesting that identifiable physical and mathematical structure facilitates parameter inference. We also show that direct LLM predictions of minimum energies can violate the Hamiltonian spectral lower bound, whereas generated circuit parameters allow independent evaluation of physically realizable energy expectation values. Finally, we investigate blind circuit interpretation and find that the LLM can predict measurement outcomes even when it fails to identify the underlying quantum algorithm. These findings highlight the role of problem structure, the limitations of iterative LLM optimization, and the importance of independently verifiable predictions in quantum parameter programming.

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

↑