Current predominant QML paradigms attempt to project classical machine learning paradigms onto the quantum domain. They use parameterised quantum circuits (PQCs) and an outer classical loop to optimise the circuit parameters.
The expected circuit-evaluation cost scales as
The Bernstein-Vazirani (BV) algorithm provides a canonical example of quantum interference extracting global structure from data. Given a Boolean function \(f:\{0,1\}^n\rightarrow\{0,1\}\) with the promise \(f(x)=s^Tx \mod 2\), the goal is to recover the unknown parameter vector \(s\) from observed pairs \((x,f(x))\).
The algorithm performs three steps:
(i) Input encoding: Encode all possible inputs simultaneously: \(\frac{1}{\sqrt{2^n}}\sum_x |x\rangle\).This is a genuine learning algorithm. BV implement the parametric model \[ N(s,x)=s^Tx \mod 2, \] an identifies the parameter \(s\) out of \(2^n\) many that explains the observed training pairs \((x,f(x))\) via \(f(x) = N(s,x)\) completely by interference.
We validate our BVN paradigm on several representative supervised learning tasks of adequate size for classical simulation:
BVNs succesfully perform binary-class classification on the the different shapes S1-S10 and challenge the quantum and calssical baselines. On high-frequency shapes such as S2, S6 and S9, the basilines are subject to the spectral bias and perform badly, whereas BVNs succeed. We use a total of 8 and 14 qubits for the standard and generalised BVN, with a total of 100 measurement shots in both cases.
BVNs succesfully perform multi-class classification on the 4-dimensional real-world Iris and Penguins datasets and stand competitevely along the quantum and calssical baselines. We use a total of 16 and 22 qubits for the standard and generalised BVN, with a total of 100 measurement shots in both cases.
BVNs are excellent in implicit image representations. The top row shows results on the coarse (64×64) training image, while the bottom evaluates the optimised models on a finer (128×128) testing image. The caption high-variations, and can even interpolate on unseen pixels coordinates. We use a total of 12 and 24 qubits for the standard and generalised BVN, with a total of 10.000 measurement shots in both cases.
We ablate the value of quantum interference by replacing the quantum-selected basis states functions by uniformly random basis states of identical cardinality. Clearly, randomly selecting basis functions from the exponentially large pool do not lean to an accurate approximation of our unkown learning target function. Quantum interference truly finds informative basis function that aling with the target.
@article{meli2026bvns,
title={Bernstein-Vazirani Networks: Quantum Machine Learning by Interference},
author={Kuete Meli, Natacha and Birdal, Tolga and Tiwari, Prayag and Golyanik, Vladislav and Moeller, Michael},
journal={#},
year={2026}
}
Natacha Kuete Meli
natacha.kuetemeli@uni-siegen.de
Vladislav Golyanik
golyanik@mpi-inf.mpg.de