IBM Quantum, Almaden Research Center, San Jose, CA, USA.
IBM Quantum, IBM Research - Zurich, Rüschlikon, Switzerland.
Nature. 2023 Jul;619(7969):282-287. doi: 10.1038/s41586-023-06095-4. Epub 2023 Jul 12.
Quantum computers promise to solve certain computational problems much faster than classical computers. However, current quantum processors are limited by their modest size and appreciable error rates. Recent efforts to demonstrate quantum speedups have therefore focused on problems that are both classically hard and naturally suited to current quantum hardware, such as sampling from complicated-although not explicitly useful-probability distributions. Here we introduce and experimentally demonstrate a quantum algorithm that is similarly well suited to current hardware, but which samples from complicated distributions arising in several applications. The algorithm performs Markov chain Monte Carlo (MCMC), a prominent iterative technique, to sample from the Boltzmann distribution of classical Ising models. Unlike most near-term quantum algorithms, ours provably converges to the correct distribution, despite being hard to simulate classically. But like most MCMC algorithms, its convergence rate is difficult to establish theoretically, so we instead analysed it through both experiments and simulations. In experiments, our quantum algorithm converged in fewer iterations than common classical MCMC alternatives, suggesting unusual robustness to noise. In simulations, we observed a polynomial speedup between cubic and quartic over such alternatives. This empirical speedup, should it persist to larger scales, could ease computational bottlenecks posed by this sampling problem in machine learning, statistical physics and optimization. This algorithm therefore opens a new path for quantum computers to solve useful-not merely difficult-sampling problems.
量子计算机有望比经典计算机更快地解决某些计算问题。然而,当前的量子处理器受到其适度规模和可观的错误率的限制。因此,最近为了展示量子优势的努力主要集中在那些既是经典难题,又适合当前量子硬件的问题上,例如从虽然复杂但不是特别有用的概率分布中进行抽样。在这里,我们介绍并实验证明了一种类似地适合当前硬件的量子算法,但它从几个应用中出现的复杂分布中进行抽样。该算法执行马尔可夫链蒙特卡罗(MCMC),这是一种突出的迭代技术,从经典伊辛模型的玻尔兹曼分布中进行抽样。与大多数近期的量子算法不同,我们的算法即使在经典上难以模拟,也可以证明收敛到正确的分布。但是,与大多数 MCMC 算法一样,其收敛速度很难在理论上建立,因此我们通过实验和模拟进行了分析。在实验中,我们的量子算法在较少的迭代次数内收敛,比常见的经典 MCMC 替代方案更快,这表明它对噪声具有异常的稳健性。在模拟中,我们观察到在这些替代方案之间存在立方和四次方的多项式加速。如果这种经验加速能够持续到更大的规模,那么它可以缓解机器学习、统计物理和优化中这种抽样问题带来的计算瓶颈。因此,该算法为量子计算机解决有用的而不仅仅是困难的抽样问题开辟了一条新途径。