健身房中的量子代理:用于深度Q学习的变分量子算法
Quantum agents in the Gym: a variational quantum algorithm for deep Q-learning
摘要:
量子机器学习(QML)已被确定为可以从近期量子设备中获得优势的关键领域之一,仅次于优化和量子化学。在这方面的研究主要集中在变分量子算法(VQA),并提出了一些建议,以加强监督,无监督和强化学习(RL)算法与VQA。在这三者中,RL是研究最少的,VQA是否可以与基于神经网络(NN)的最先进的经典算法竞争,即使是在简单的基准任务上,也仍然是一个悬而未决的问题。在这项工作中,我们介绍了一种参数化量子线路(PQC)的训练方法,该方法可用于基于深度Q学习算法解决离散和连续状态空间的RL任务。我们通过对许多不同的数据编码和读出策略进行消融研究,研究量子Q学习代理的哪些架构选择对于成功解决某些类型的环境是最重要的。我们深入了解了为什么基于VQA的Q学习算法的性能关键取决于量子模型的可观测量,并展示了如何根据手头的学习任务选择合适的可观测量。为了将我们的模型与经典的DQN算法进行比较,我们对具有不同数量参数的PQC和NN进行了广泛的超参数搜索。我们证实,类似于经典文献中的结果,架构的选择和超参数的贡献更多的代理的成功,在RL设置比模型中使用的参数的数量。最后,我们表明,当最近的分离结果之间的经典和量子代理的政策梯度RL可以扩展到推断最佳Q值的限制家庭的环境。
英文摘要:
Quantum machine learning (QML) has been identified as one of the key fields that could reap advantages from near-term quantum devices, next to optimization and quantum chemistry. Research in this area has focused primarily on variational quantum algorithms (VQAs), and several proposals to enhance supervised, unsupervised and reinforcement learning (RL) algorithms with VQAs have been put forward. Out of the three, RL is the least studied and it is still an open question whether VQAs can be competitive with state-of-the-art classical algorithms based on neural networks (NNs) even on simple benchmark tasks. In this work, we introduce a training method for parametrized quantum circuits (PQCs) that can be used to solve RL tasks for discrete and continuous state spaces based on the deep Q-learning algorithm. We investigate which architectural choices for quantum Q-learning agents are most important for successfully solving certain types of environments by performing ablation studies for a number of different data encoding and readout strategies. We provide insight into why the performance of a VQA-based Q-learning algorithm crucially depends on the observables of the quantum model and show how to choose suitable observables based on the learning task at hand. To compare our model against the classical DQN algorithm, we perform an extensive hyperparameter search of PQCs and NNs with varying numbers of parameters. We confirm that similar to results in classical literature, the architectural choices and hyperparameters contribute more to the agents' success in a RL setting than the number of parameters used in the model. Finally, we show when recent separation results between classical and quantum agents for policy gradient RL can be extended to inferring optimal Q-values in restricted families of environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。