Bernstein-Vazirani Networks: Quantum Machine Learning by Interference
Organizations: Department of Vision and Graphics, University of Siegen · Department of Computing, Imperial College London · School of Information Technology, Halmstad University · 44D and Quantum Vision, Max Planck Institute for Informatics
Abstract
We introduce Bernstein-Vazirani Networks (BVNs), a non-variational quantum machine learning framework that leverages quantum interference for supervised learning, demonstrated on vision and representation learning tasks. In their standard form, BVNs follow the principle of quantum Fourier sampling: labelled data are placed in superposition and interfered in the Fourier basis to extract globally informative features. We then define generalised BVNs that enable interference in problem-adapted bases, yielding more expressive models under the same measurement budget as in the standard setting. BVNs achieve universal function approximation through (over)complete interference bases, while training of BVNs is gradient-free. Experiments on synthetic and real-world classification tasks, as well as implicit image representation, show strong generalisation capabilities and competitive performance with classical and quantum baselines.
Figures & tables
| -dimensional Boolean space, | |
| , | inner-product and sum , respectively |
| , | standard and generalised target function |
| Fourier coefficient of | |
| Hadamard transform | |
| interference operator | |
| oracle unitary for function |
| Model | Num. of qubits | Params (PQC) | Params (class.) | Epochs Basis states for BVNs | Shots (parameter-shift) | Runtime (back-prob.) |
| Classification (2D), Figure 4 | ||||||
| MLP | – | – | 151 | 30 | – | 2.70s |
| SVM | – | – | 253 | – | – | 0.001s |
| SQC | 1 | 120 | – | 30 | 37.5s | |
| Std. BVN | 8(+1) | – | – | 45 | 100 | 0.027s |
| Gen. BVN | 14(+1) | – | – | 95 | 100 | 0.039s |
| (0, 0.0) | (4, 0.25) | (4, 0.5) | (4, 0.75) | (4, 1) | (10, 1) | (100, 1) | (1000, 1) | ||
| Iris | Stad. BVN | 0.84 | 0.78 | 0.65 | 0.39 | 0.33 | 0.33 | 0.33 | 0.33 |
| Gen. BVN | 0.77 | 0.76 | 0.74 | 0.99 | 0.88 | 0.99 | 0.93 | 0.85 | |
| Penguins | Std. BVN | 0.60 | 0.38 | 0.40 | 0.23 | 0.20 | 0.20 | 0.20 | 0.20 |
| Gen. BVN | 0.59 | 0.86 | 0.85 | 0.87 | 0.96 | 0.93 | 0.95 | 0.96 |
| Noise-free | Noise | Random | |
| Std. BVN | 0.99 (0.005) | 0.86 (13.610) | 0.80 (0.005) |
| Gen. BVN | 0.98 (0.028) | 0.92 (13.525) | 0.85 (0.028) |
| SQC | 0.96 (112.066) | 0.99 (11513.526) | - |
| MLP | 0.94 (3.801) | - | - |
| SVM | 0.98 (0.010) | - | - |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
Quantum Machine Learning
Quantum machine learning uses quantum circuits and quantum data to build learning algorithms and study their computational and statistical limits.
See all 256 papers