{"title":"使用层层参数化量子电路的线性微分方程量子算法","authors":"Junxiang Xiao, Jingwei Wen, Zengrong Zhou, Ling Qian, Zhiguo Huang, Shijie Wei, Guilu Long","doi":"10.1007/s43673-023-00115-1","DOIUrl":null,"url":null,"abstract":"<div><p>Solving linear differential equations is a common problem in almost all fields of science and engineering. Here, we present a variational algorithm with shallow circuits for solving such a problem: given an <span>\\(N \\times N\\)</span> matrix <span>\\({\\varvec{A}}\\)</span>, an <i>N</i>-dimensional vector <span>\\(\\varvec{b}\\)</span>, and an initial vector <span>\\(\\varvec{x}(0)\\)</span>, how to obtain the solution vector <span>\\(\\varvec{x}(T)\\)</span> at time <i>T</i> according to the constraint <span>\\(\\textrm{d}\\varvec{x}(t)/\\textrm{d} t = {\\varvec{A}}\\varvec{x}(t) + \\varvec{b}\\)</span>. The core idea of the algorithm is to encode the equations into a ground state problem of the Hamiltonian, which is solved via hybrid quantum-classical methods with high fidelities. Compared with the previous works, our algorithm requires the least qubit resources and can restore the entire evolutionary process. In particular, we show its application in simulating the evolution of harmonic oscillators and dynamics of non-Hermitian systems with <span>\\(\\mathcal{P}\\mathcal{T}\\)</span>-symmetry. Our algorithm framework provides a key technique for solving so many important problems whose essence is the solution of linear differential equations.</p></div>","PeriodicalId":100007,"journal":{"name":"AAPPS Bulletin","volume":"34 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s43673-023-00115-1.pdf","citationCount":"0","resultStr":"{\"title\":\"A quantum algorithm for linear differential equations with layerwise parameterized quantum circuits\",\"authors\":\"Junxiang Xiao, Jingwei Wen, Zengrong Zhou, Ling Qian, Zhiguo Huang, Shijie Wei, Guilu Long\",\"doi\":\"10.1007/s43673-023-00115-1\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Solving linear differential equations is a common problem in almost all fields of science and engineering. Here, we present a variational algorithm with shallow circuits for solving such a problem: given an <span>\\\\(N \\\\times N\\\\)</span> matrix <span>\\\\({\\\\varvec{A}}\\\\)</span>, an <i>N</i>-dimensional vector <span>\\\\(\\\\varvec{b}\\\\)</span>, and an initial vector <span>\\\\(\\\\varvec{x}(0)\\\\)</span>, how to obtain the solution vector <span>\\\\(\\\\varvec{x}(T)\\\\)</span> at time <i>T</i> according to the constraint <span>\\\\(\\\\textrm{d}\\\\varvec{x}(t)/\\\\textrm{d} t = {\\\\varvec{A}}\\\\varvec{x}(t) + \\\\varvec{b}\\\\)</span>. The core idea of the algorithm is to encode the equations into a ground state problem of the Hamiltonian, which is solved via hybrid quantum-classical methods with high fidelities. Compared with the previous works, our algorithm requires the least qubit resources and can restore the entire evolutionary process. In particular, we show its application in simulating the evolution of harmonic oscillators and dynamics of non-Hermitian systems with <span>\\\\(\\\\mathcal{P}\\\\mathcal{T}\\\\)</span>-symmetry. Our algorithm framework provides a key technique for solving so many important problems whose essence is the solution of linear differential equations.</p></div>\",\"PeriodicalId\":100007,\"journal\":{\"name\":\"AAPPS Bulletin\",\"volume\":\"34 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://link.springer.com/content/pdf/10.1007/s43673-023-00115-1.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"AAPPS Bulletin\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s43673-023-00115-1\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"AAPPS Bulletin","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.1007/s43673-023-00115-1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
求解线性微分方程几乎是所有科学和工程领域的常见问题。在此,我们提出了一种带有浅层电路的变分算法来解决此类问题:给定一个 \(N \times N\) 矩阵 \({\varvec{A}}\),一个 N 维向量 \(\varvec{b}\),以及一个初始向量 \(\varvec{x}(0)\)、如何根据约束条件 \(\textrm{d}\varvec{x}(t)/\textrm{d} t = {\varvec{A}}\varvec{x}(t) + \varvec{b}\),在时间 T 得到解向量 \(\varvec{x}(T)\)。该算法的核心思想是将方程编码为哈密顿的基态问题,并通过量子-经典混合方法以高保真度求解。与前人的研究相比,我们的算法所需量子比特资源最少,而且可以还原整个演化过程。特别是,我们展示了它在模拟谐振子演化和具有(\mathcal{P}\mathcal{T}\)对称性的非赫米提系统动力学中的应用。我们的算法框架为解决许多本质上是线性微分方程求解的重要问题提供了关键技术。
A quantum algorithm for linear differential equations with layerwise parameterized quantum circuits
Solving linear differential equations is a common problem in almost all fields of science and engineering. Here, we present a variational algorithm with shallow circuits for solving such a problem: given an \(N \times N\) matrix \({\varvec{A}}\), an N-dimensional vector \(\varvec{b}\), and an initial vector \(\varvec{x}(0)\), how to obtain the solution vector \(\varvec{x}(T)\) at time T according to the constraint \(\textrm{d}\varvec{x}(t)/\textrm{d} t = {\varvec{A}}\varvec{x}(t) + \varvec{b}\). The core idea of the algorithm is to encode the equations into a ground state problem of the Hamiltonian, which is solved via hybrid quantum-classical methods with high fidelities. Compared with the previous works, our algorithm requires the least qubit resources and can restore the entire evolutionary process. In particular, we show its application in simulating the evolution of harmonic oscillators and dynamics of non-Hermitian systems with \(\mathcal{P}\mathcal{T}\)-symmetry. Our algorithm framework provides a key technique for solving so many important problems whose essence is the solution of linear differential equations.