arXiv:2604.06523quant-phcs.AI2026-04被引 1

直接训练量子矩阵,更快实现高精度分类与强化学习。

Soft-Quantum Algorithms

  • 用正则项约束矩阵保持幺正性,直接优化矩阵而非分解为门电路。
  • 五比特分类任务中4分钟完成训练,误差低于传统方法,速度提升10倍以上。
  • 适合资源有限的量子设备,尤其适用于小规模但数据量大的任务。

纯态上的量子操作可完全由幺正矩阵表示。变分量子电路(即量子神经网络)将数据和可训练参数嵌入基于门的操作,并通过梯度下降优化参数。然而,训练成本高和当前量子设备保真度低,限制了量子机器学习在真实设备上的应用,多数仍依赖经典模拟。对于少量量子比特且数据集较大的问题,直接训练矩阵元素(类似经典神经网络的权重矩阵)比将数据和参数分解为门操作更高效。本文提出一种方法:通过在损失函数中添加单一正则项,直接训练矩阵并维持其幺正性;随后通过第二步电路对齐,从得到的软幺正矩阵恢复出基于门的电路结构。在包含1000个样本的五量子比特监督分类任务中,该两步流程在四分钟内完成训练,相较直接电路训练超过两小时,效率显著提升,且达到更低的二元交叉熵损失。在第二个实验中,将软幺正矩阵嵌入混合量子-经典网络用于强化学习的CartPole任务,混合智能体表现优于同等规模的纯经典基线。

原文摘要 · Abstract (English)

Quantum operations on pure states can be fully represented by unitary matrices. Variational quantum circuits, also known as quantum neural networks, embed data and trainable parameters into gate-based operations and optimize the parameters via gradient descent. The high cost of training and low fidelity of current quantum devices, however, restricts much of quantum machine learning to classical simulation. For few-qubit problems with large datasets, training the matrix elements directly, as is done with weight matrices in classical neural networks, can be faster than decomposing data and parameters into gates. We propose a method that trains matrices directly while maintaining unitarity through a single regularization term added to the loss function. A second training step, circuit alignment, then recovers a gate-based architecture from the resulting soft-unitary. On a five-qubit supervised classification task with 1000 datapoints, this two-step process produces a trained variational circuit in under four minutes, compared to over two hours for direct circuit training, while achieving lower binary cross-entropy loss. In a second experiment, soft-unitaries are embedded in a hybrid quantum-classical network for a reinforcement learning cartpole task, where the hybrid agent outperforms a purely classical baseline of comparable size.

量子机器学习变分量子电路软幺正加速训练

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