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

通过基于变换器的算法转换量子电路

Transpiling quantum circuits by a transformers-based algorithm

Università degli Studi di Milano(米兰大学);Istituto di Fotonica e Nanotecnologie, Consiglio Nazionale delle Ricerche(意大利国家研究委员会光子与纳米技术研究所)

Michele Banfi, Paolo Zentilini, Sebastiano Corli, Enrico Prati

AI总结:

本文提出基于变换器的算法,用于将量子电路从qasm标准转换为适合特定量子硬件的门集,实现了高达五量子比特的高精度转换。

摘要:

变换器在机器学习领域因在自然语言处理中的应用而受到关注。它们能够高效地处理文本,捕捉数据中的长距离依赖关系,并进行下个词的预测。另一方面,基于门的量子计算是通过在量子硬件上对量子比特寄存器应用一系列门来控制的,这一过程可以被解释为一种低级文本编程语言。我们开发了一个变换器模型,能够将量子电路从qasm标准转换为其他一系列适合特定目标量子硬件的门集,例如IonQ的囚禁离子量子计算机的门集。通过将最多五个量子比特的转换可行性展示出来,正确转换的目标电路的百分比等于或优于99.98%。无论寄存器的深度和应用的门的数量如何,我们证明变换器模型的复杂性在最坏情况下,随着寄存器深度和电路长度的增加,以多项式趋势增长,允许具有更多参数的模型在HPC基础设施上高效训练。

英文摘要:

Transformers have gained popularity in machine learning due to their application in the field of natural language processing. They manipulate and process text efficiently, capturing long-range dependencies among data and performing the next word prediction. On the other hand, gate-based quantum computing is based on controlling the register of qubits in the quantum hardware by applying a sequence of gates, a process which can be interpreted as a low level text programming language. We develop a transformer model capable of transpiling quantum circuits from the qasm standard to other sets of gates native suited for a specific target quantum hardware, in our case the set for the trapped-ion quantum computers of IonQ. The feasibility of a translation up to five qubits is demonstrated with a percentage of correctly transpiled target circuits equal or superior to 99.98%. Regardless the depth of the register and the number of gates applied, we prove that the complexity of the transformer model scales, in the worst case scenario, with a polynomial trend by increasing the depth of the register and the length of the circuit, allowing models with a higher number of parameters to be efficiently trained on HPC infrastructures.

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

↑