论文标题
量子与经典遗传算法:数值比较显示了更快的收敛性
Quantum vs classical genetic algorithms: A numerical comparison shows faster convergence
论文作者
论文摘要
遗传算法是受到达尔文进化启发的启发式优化技术。量子计算是一种新的计算范式,可利用量子资源来加快信息处理任务。因此,通过引入量子自由度来探索遗传算法性能的潜在增强是明智的。沿着这条线,最近提出了一种模块化量子遗传算法,在独立寄存器中编码的个体包含可交换量子亚例子[arxiv:2203.15039],导致不同的变体。在这里,我们解决了这些算法针对经典遗传算法的数值基准测试,这是先前文献中缺少的比较。为了克服模拟量子算法的严重局限性,我们的方法着重于衡量量子资源对性能的影响。为了隔离量子资源在性能中的影响,已经选择了经典变体以类似于量子遗传算法的基本特征。在这些条件下,我们在两分哈密顿人中编码了一个优化问题,并面临着找到其基态的问题。基于200例随机情况的样本的数值分析表明,某些量子变体的表现要优于所有经典速度,而汇聚速度则超过了近乎最佳的结果。此外,我们还考虑了对角的哈密顿量和氢分子的哈密顿量,以用两个相关用例完成分析。如果此优势适用于较大的系统,则量子遗传算法将为解决量子计算机的优化问题提供新工具。
Genetic algorithms are heuristic optimization techniques inspired by Darwinian evolution. Quantum computation is a new computational paradigm which exploits quantum resources to speed up information processing tasks. Therefore, it is sensible to explore the potential enhancement in the performance of genetic algorithms by introducing quantum degrees of freedom. Along this line, a modular quantum genetic algorithm has recently been proposed, with individuals encoded in independent registers comprising exchangeable quantum subroutines [arXiv:2203.15039], which leads to different variants. Here, we address the numerical benchmarking of these algorithms against classical genetic algorithms, a comparison missing from previous literature. To overcome the severe limitations of simulating quantum algorithms, our approach focuses on measuring the effect of quantum resources on the performance. In order to isolate the effect of the quantum resources in the performance, the classical variants have been selected to resemble the fundamental characteristics of the quantum genetic algorithms. Under these conditions, we encode an optimization problem in a two-qubit Hamiltonian and face the problem of finding its ground state. A numerical analysis based on a sample of 200 random cases shows that some quantum variants outperform all classical ones in convergence speed towards a near-to-optimal result. Additionally, we have considered a diagonal Hamiltonian and the Hamiltonian of the hydrogen molecule to complete the analysis with two relevant use-cases. If this advantage holds for larger systems, quantum genetic algorithms would provide a new tool to address optimization problems with quantum computers.