arXiv:2410.23940cs.LGquant-ph2024-10NeurIPS被引 8

用量子深度均衡模型,让浅量子电路达到深电路效果。

Quantum Deep Equilibrium Models

论文配图:Quantum Deep Equilibrium Models
图 1 · 摘自论文原文
  • 用固定点求解器替代深层量子线路,降低内存占用。
  • 4量子比特上分类准确率超5倍层数的普通模型。
  • 适合资源受限的近中期量子计算机开发者。

变分量子算法在噪声中近期量子硬件上的可行性,高度依赖于参数化量子电路(PQC)的电路深度。更深的电路虽提升表达能力,却导致误差累积加剧;且参数数量影响性能,因梯度评估需测量次数与参数数成线性关系。受此启发,我们引入深度均衡模型(DEQ),通过求解网络不动点,在仅占少量内存的前提下模拟无限深度、权重共享的网络。本文提出量子深度均衡模型(QDEQ):一种基于DEQ的量子机器学习模型参数训练范式。据我们所知,这是首个将DEQ应用于量子机器学习模型的工作。我们在两个场景中应用QDEQ:其一为4量子比特分类MNIST-4数字;其二扩展至10类MNIST、FashionMNIST和CIFAR。结果表明,QDEQ不仅与现有基准模型相当,还优于参数量相同但层数多5倍的网络。这证明QDEQ可显著降低任务所需的量子电路深度,对近中期量子计算机的实用性至关重要。代码已开源:https://github.com/martaskrt/qdeq。

原文摘要 · Abstract (English)

The feasibility of variational quantum algorithms, the most popular correspondent of neural networks on noisy, near-term quantum hardware, is highly impacted by the circuit depth of the involved parametrized quantum circuits (PQCs). Higher depth increases expressivity, but also results in a detrimental accumulation of errors. Furthermore, the number of parameters involved in the PQC significantly influences the performance through the necessary number of measurements to evaluate gradients, which scales linearly with the number of parameters. Motivated by this, we look at deep equilibrium models (DEQs), which mimic an infinite-depth, weight-tied network using a fraction of the memory by employing a root solver to find the fixed points of the network. In this work, we present Quantum Deep Equilibrium Models (QDEQs): a training paradigm that learns parameters of a quantum machine learning model given by a PQC using DEQs. To our knowledge, no work has yet explored the application of DEQs to QML models. We apply QDEQs to find the parameters of a quantum circuit in two settings: the first involves classifying MNIST-4 digits with 4 qubits; the second extends it to 10 classes of MNIST, FashionMNIST and CIFAR. We find that QDEQ is not only competitive with comparable existing baseline models, but also achieves higher performance than a network with 5 times more layers. This demonstrates that the QDEQ paradigm can be used to develop significantly more shallow quantum circuits for a given task, something which is essential for the utility of near-term quantum computers. Our code is available at https://github.com/martaskrt/qdeq.

量子机器学习深度均衡量子优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。