arXiv:2510.25557cs.LGcs.AI2025-10被引 1

用量子电路做循环核心,实现高效记忆与非线性控制的混合神经网络。

Hybrid Quantum-Classical Recurrent Neural Networks

  • 用量子线路作为循环单元,隐藏状态为高维量子态
  • 14量子比特下在情感分析等任务中表现接近经典模型
  • 适合对量子计算与序列建模交叉感兴趣的读者

我们提出一种混合量子-经典循环神经网络(QRNN),其中循环核心由受经典前馈网络控制的参数化量子电路(PQC)实现。隐藏状态是n量子比特PQC在指数级希尔伯特空间ℂ²ⁿ中的量子态,作为相干的循环量子记忆。由于构造上为酉操作,隐藏状态演化保持范数,无需外部约束。每一步时间,中电路的泡利期望值读出与输入嵌入结合,经前馈网络处理以提供显式经典非线性。输出参数化PQC,通过酉动力学更新隐藏状态。该模型结构紧凑且物理一致,统一了(i)高容量的酉递归记忆、(ii)中电路部分观测、(iii)输入条件化的非线性经典控制。我们在模拟中评估了最多14量子比特的模型,在情感分析、MNIST、打乱MNIST、复制记忆和语言建模任务上表现良好。针对序列到序列学习,我们进一步设计了基于中电路读出的软注意力机制,并在机器翻译中验证其有效性。据我们所知,这是首个基于量子操作、在广泛序列学习任务上达到与强经典基线竞争性能的模型。

原文摘要 · Abstract (English)

We present a hybrid quantum-classical recurrent neural network (QRNN) architecture in which the recurrent core is realized as a parametrized quantum circuit (PQC) controlled by a classical feedforward network. The hidden state is the quantum state of an $n$-qubit PQC in an exponentially large Hilbert space $\mathbb{C}^{2^n}$, which serves as a coherent recurrent quantum memory. The PQC is unitary by construction, making the hidden-state evolution norm-preserving without external constraints. At each timestep, mid-circuit Pauli expectation-value readouts are combined with the input embedding and processed by the feedforward network, which provides explicit classical nonlinearity. The outputs parametrize the PQC, which updates the hidden state via unitary dynamics. The QRNN is compact and physically consistent, and it unifies (i) unitary recurrence as a high-capacity memory, (ii) partial observation via mid-circuit readouts, and (iii) nonlinear classical control for input-conditioned parametrization. We evaluate the model in simulation with up to 14 qubits on sentiment analysis, MNIST, permuted MNIST, copying memory, and language modeling. For sequence-to-sequence learning, we further devise a soft attention mechanism over the mid-circuit readouts and show its effectiveness for machine translation. To our knowledge, this is the first model (RNN or otherwise) grounded in quantum operations to achieve competitive performance against strong classical baselines across a broad class of sequence-learning tasks.

量子神经网络循环网络混合计算

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