SPSA及其量子近似优化算法
Introductory Tutorial for SPSA and the Quantum Approximation Optimization Algorithm
摘要:
这个简短的教程介绍了量子近似优化算法(QAOA)。具体来说,如何使用QAOA与同时扰动随机近似(SPSA)算法来解决最大割问题。算法的所有步骤都明确显示,没有使用任何理论或复杂的数学。重点完全是建立一个实际的实施。提供了R和Python(使用Qiskit)的全功能示例,两者都使用了大约100行代码。
英文摘要:
This short tutorial provides an introduction to the Quantum Approximation Optimization Algorithm (QAOA). Specifically, how to use QAOA with the Simultaneous Perturbation Stochastic Approximation (SPSA) algorithm to solve the Max-Cut problem. All steps of the algorithm are explicitly shown and no theory or complex mathematics are used. The focus is entirely on setting up a practical implementation. Fully functional examples in both R and python (using Qiskit) are provided, both using roughly 100 lines of code.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。