arXiv:2605.24386quant-phcond-mat.stat-mech2026-05被引 5

将经典神经元量子化,构建可学习复杂函数的新型量子神经网络。

Fermi-Dirac machines as quantizations of neurons

论文配图:Fermi-Dirac machines as quantizations of neurons
图 1 · 摘自论文原文
  • 用量子哈密顿量替代经典神经元参数,实现激活函数的量子化。
  • 数值实验显示量子神经元可学习经典模型无法表达的函数。
  • 适用于研究量子优势的深度学习模型,适合量子计算方向读者。

Fermi-Dirac 机器被提出用于在量子计算机上求解半定优化问题。本文将其重新诠释为经典神经元的正则量子化。通过将经典神经元视为作用于参数化经典哈密顿量上的激活函数,我们通过将经典变量替换为本征值编码其可能取值的算符,实现该模型的量子化,遵循量子力学中的标准正则量子化方法。关键的是,当哈密顿量由对易算符构成时,该构造恰好还原为经典神经元。更一般地,该方法生成一个激活可观测量,定义为激活函数作用于参数化量子哈密顿量的结果。此量子化神经元的输出是一个随机变量,其期望值等于输入态下该激活可观测量的期望。我们开发了高效的混合量子-经典算法来评估输出和梯度,支持模型评估与训练,依赖于随机采样、哈密顿量模拟和Hadamard测试等基本技术。同时,我们还对多种激活函数(如平滑ReLU、Sigmoid线性单元、高斯平滑ReLU、Gaussian误差线性单元)进行了量子化,这些函数在深度学习中已证明有效。数值实验表明,基于量子哈密顿量的神经元可学习经典神经元无法表达的函数。我们进一步定义了一个基于Fermi-Dirac神经元的计算决策问题,并证明其为BQP完全,提供了反对高效经典模拟的复杂性理论证据。最后,我们将方法推广至连续量子变量,并提出两种构建神经网络的组合方式。

原文摘要 · Abstract (English)

Fermi-Dirac machines were proposed recently as an approach to solving semidefinite optimization problems on quantum computers. Here, we reinterpret them as canonical quantizations of classical neurons. By viewing a classical neuron as an activation function applied to a parameterized classical Hamiltonian, we quantize this model by replacing classical variables with operators whose eigenvalues encode their possible values. This follows the standard approach to canonical quantization in quantum mechanics. Crucially, when the Hamiltonian consists of commuting operators, our construction reduces exactly to a classical neuron. More generally, our approach yields an activation observable, defined as an activation function applied to a parameterized quantum Hamiltonian. The output of this quantized neuron is a random variable with expectation value equal to that of the activation observable with respect to an input state. We develop efficient hybrid quantum-classical algorithms for evaluating outputs and gradients of our quantized neurons, enabling evaluation and training. These algorithms rely on basic primitives that include random sampling, Hamiltonian simulation, and the Hadamard test. We also quantize a whole host of other activation functions, including the smooth rectified linear unit (ReLU), sigmoid linear unit, Gaussian-smoothed ReLU, and Gaussian error linear unit (GeLU), which are known to be useful for deep learning applications. Numerical experiments indicate that neurons based on quantum Hamiltonians can learn functions that classical neurons cannot. We further define a computational decision problem based on Fermi-Dirac neurons and prove that it is BQP-complete, providing complexity-theoretic evidence against efficient classical simulation. Finally, we generalize our approach to continuous quantum variables and sketch two different ways of composing these neurons into networks.

量子神经网络量子计算深度学习

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