A spiking neuron and a qubit turn out to fit together. Take the leaky integrate-and-fire neuron of neuromorphic computing — a membrane that charges toward a threshold and fires — and put its decision on a qubit: encode the membrane voltage as a rotation angle, and let the spike be a measurement. The integration stays classical and smooth; the firing becomes genuinely probabilistic, a quantum coin weighted by how close the membrane is to threshold. Run one below.
The membrane charges and leaks by the usual Euler step. Its distance to threshold is mapped to a rotation angle $\theta$ from $0$ to $\pi$, applied as an $R_y$ gate to a qubit that starts in $\lvert 0\rangle$. Measuring in the computational basis gives a spike with probability $\sin^2(\theta/2)$ — zero at rest, one at threshold, and a smooth quantum ramp in between. Fire, and the membrane resets. It is the classical stochastic LIF neuron, re-expressed as a single-qubit circuit.
The left panel is the membrane charging toward threshold and resetting on each spike; the raster ticks along the top. The right panel is the firing law itself: the quantum probability $\sin^2(\theta/2)$ rises smoothly from rest to threshold, where a classical neuron would have a hard step. In deterministic mode the neuron fires once that probability passes a half; switch to stochastic and each step is an actual weighted coin flip — the same neuron, now genuinely noisy near threshold, which is what a real measured qubit would give.
This is the bridge between two of the institute's substrates — the neuromorphic stack, where the same leaky neuron is a stochastic bitstream, and the quantum-control stack here, where it is a qubit circuit. The membrane, threshold and reset are identical; only the firing mechanism differs, a measurement in one and a bitstream comparison in the other. Learning stays local through a quantum spike-timing rule, and training reuses the parameter-shift gradient from the variational side.
| Part | Classical neuromorphic | Quantum here |
|---|---|---|
| Membrane | leaky Euler integration | identical leaky Euler |
| Firing | threshold / bitstream compare | $R_y$ rotation + measurement, $P=\sin^2(\theta/2)$ |
| Learning | STDP | quantum STDP (local) |
| Training | surrogate gradient | parameter-shift gradient |
Evidence boundary: the panel runs the library's quantum LIF neuron exactly — the membrane Euler step, the $R_y$ angle map and the $\sin^2(\theta/2)$ firing probability — live in your browser, its deterministic trajectory checked against the library to machine precision. It demonstrates the neuromorphic-to-qubit mapping, not a quantum speedup for spiking networks, which the library flags as an open question.