量子与经典遗传算法:数值比较显示更快的收敛速度
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。