A hybrid document-intelligence pipeline with two quantum stages — a quanvolutional feature extractor and a Grover string-matching oracle — benchmarked honestly against classical baselines. QIntern 2026 / QWorld.
The results are largely negative and are reported as such. A tuned demonstration would have been easier to produce and worth less.
At matched dimensionality the quanvolutional layer ties a classical convolution — and both lose to raw pixels (93.6%). Training the filter does not close the gap.
Measured CX cost per oracle call grows faster than linearly in text length, because loading classical text into the circuit dominates. The query advantage is real; the end-to-end speedup is not.
Clean-document character error rate. Fixing a train/serve skew cut it 6.6×, which was worth more than any quantum component — and it was found because a better feature set produced worse output.
Everything below runs in your browser. No image is uploaded anywhere.
The filter unitary and OCR weights are the exact trained artifacts from the
repository, and web/verify_parity.py checks stage by stage that
this page produces byte-identical output to the Python pipeline.
Both quantum stages reduce to small dense linear algebra, so the browser reproduces them exactly rather than approximating them.
Quanvolutional layer. The filter is a fixed circuit, so it is one 16×16 unitary. The angle encoding produces a product state, so a patch's statevector is a Kronecker product of four single-qubit states and the layer is a matrix–vector product — precisely what Aer computes.
Grover search. The comparator oracle was measured in Python to have zero uncomputation leakage: the window register returns exactly to |0⟩, leaving the position register unentangled. That measurement is what licenses simulating the position register alone here. The reduced dynamics are exact, and the leakage check is the evidence.
The full circuit for a 16-character field is 14 qubits with ~3,300 CX gates. The page reports those real costs even though it does not execute the full circuit.
A–Z 0–9 - : in a sans/serif face at one
size. Photos, unusual fonts, coloured backgrounds and handwriting will
degrade badly — that is a property of the training data, not a bug.