Artificial neural networks have quietly become the invisible engine of modern life, powering everything from speech recognition to image generation. Yet their most fundamental building block, the artificial neuron, has remained stubbornly classical: a deterministic device that sums inputs and fires according to a fixed rule. Researchers at Leibniz Universität Hannover have now reimagined that building block from the ground up for quantum hardware, showing that networks of stochastic artificial neurons can be expressed, trained, and deployed directly as quantum circuits on gate-based quantum computers.
The work, published in the journal Quantum Machine Intelligence by Bodo Rosenhahn, Tobias J. Osborne, and Christoph Hirche, draws on a surprisingly old idea. The perceptron, introduced by Frank Rosenblatt in 1958 and rooted in the 1943 McCulloch-Pitts model of neural computation, sums weighted inputs and produces a binary output. In the new formulation, the neuron becomes probabilistic: rather than firing deterministically, it activates with a probability derived from a weighted score. This stochasticity is not a limitation but a perfect match for quantum mechanics, where measurement outcomes are inherently probabilistic.
Technically, the quantum perceptron is realized with rotation gates. A bias term is encoded in an RX gate, and each binary input qubit increments the activation probability of the neuron through a controlled RX gate, whose rotation angle is set via an arcsine function that maps probability scores linearly onto angles. Remarkably, the model requires no ancilla qubits and no repeat-until-success circuits, tricks that earlier quantum neuron proposals needed to emulate deterministic activation. And because the sine function is already nonlinear, the architecture shares an expressive kinship with radial basis function networks.
One particularly striking property emerges when rotation angles accumulate. If cumulative scores exceed one, the activation probability actually decreases, allowing a single quantum perceptron to implement the XOR function, something impossible for a classical perceptron with sigmoid, ReLU, or similar monotonic activation functions. Intriguingly, this mirrors biology: neuroscientists have discovered pyramidal neurons in the human cerebral cortex that can learn XOR, a feat once thought beyond individual nerve cells.
Training such quantum networks presents its own challenge, since gradients must be estimated stochastically. The authors turn to the Kiefer-Wolfowitz algorithm from 1952, a stochastic approximation method that estimates gradients using finite differences, embedded within a simulated annealing scheme borrowed from metallurgy. The acceptance probability for uphill moves decays over time according to a Boltzmann-like schedule, allowing the optimizer to escape local minima. Crucially, this stochastic search naturally accommodates architectural constraints such as weight sharing and connection cutting, requirements that gradient-based methods struggle to enforce.
The generality of the approach is demonstrated across a remarkable range of classical architectures, all rebuilt as quantum circuits. Shallow fully connected networks trained on the classic iris, wine, zoo, and MNIST datasets achieve reliable classification, with the annealing-based optimizer outperforming vanilla gradient descent, which frequently gets trapped in local minima. Quantum Hopfield networks store and retrieve binary patterns, converging after just three to five recurrent iterations. Restricted Boltzmann Machines, whose stochastic binary units are a natural fit for the probabilistic activation, compress twelve-dimensional iris data into a latent space of only two qubits with reasonable reconstruction quality, and autoencoders with separated encoder and decoder weights improve upon it further.
The researchers also probe the practical limits of their model. Analyzing amplitude damping noise on a three-qubit XOR perceptron, they show that trace distances between noisy and ideal circuits remain small for inputs near zero but grow when both input qubits approach the excited state. Because the gate count scales linearly with feature dimension, noise will compound in larger systems, making error correction essential on today’s hardware. The authors are candid that models rivaling modern billion-parameter networks will only become feasible on future fault-tolerant, large-scale quantum devices.
The most tantalizing result may be the fusion of these trained networks with Grover’s celebrated quantum search algorithm to create a quantum generative AI model. A trained, frozen quantum neural network acting as a classifier is converted into an oracle. By preparing input qubits in superposition, applying the oracle, and following with a diffusion circuit, the combined system samples patterns that satisfy the learned classification property with dramatically amplified likelihood. Unlike generative adversarial networks, which suffer from unstable training and mode collapse, this quantum generative scheme requires no adversarial game and no iterative denoising: generation happens through a single circuit execution.
Beyond generative AI, the framework promises practical advantages wherever data is already quantum. Quantum sensors, for instance, encode information directly in qubit states, and conventional pipelines waste resources converting that information to the digital domain before analysis. A stochastic quantum neural network can process sensed quantum signals on-board, classifying them without cumbersome digitization or tomography. As quantum hardware matures, this bridge between the oldest ideas in machine learning and the newest ideas in quantum computing may prove to be exactly the connector the field has been waiting for.
Subject of Research: Formulating and training stochastic artificial neural networks as quantum circuits for gate-based quantum computing, including their use as oracles in Grover's algorithm for quantum generative AI.
Article Title: Stochastic neural networks for quantum devices
Article References: Rosenhahn, B., Osborne, T. J., & Hirche, C. (2026). Stochastic neural networks for quantum devices. Quantum Machine Intelligence, 8(2), Article 98. https://doi.org/10.1007/s42484-026-00438-w
Image Credits: AI Generated
DOI: 10.1007/s42484-026-00438-w
Keywords: quantum computing, quantum neural networks, stochastic neurons, perceptron, Kiefer-Wolfowitz algorithm, simulated annealing, Hopfield networks, Restricted Boltzmann Machines, autoencoders, Grover algorithm, quantum generative AI, machine learning
Cite Scienmag News
Cassandra Pierce. (September 20, 2026). Quantum Neural Networks Learn Like Classical Perceptrons. Scienmag. https://scienmag.com/quantum-neural-networks-learn-like-classical-perceptrons/
Cassandra Pierce. "Quantum Neural Networks Learn Like Classical Perceptrons." Scienmag, 20 September 2026, https://scienmag.com/quantum-neural-networks-learn-like-classical-perceptrons/. Accessed 20 September 2026.
Cassandra Pierce. "Quantum Neural Networks Learn Like Classical Perceptrons." Scienmag. September 20, 2026. https://scienmag.com/quantum-neural-networks-learn-like-classical-perceptrons/

