Skip to content

A fermionic framework for quantum machine learning benchmarks

Jérémie Gince, Ayana Sarkar, Stefanos Kourtis

cond-mat.str-el

Abstract

We present a framework for building and benchmarking scalable machine learning (ML) models based on simulating free-fermion systems. Our fermionic ML (FermiML) framework is (i) versatile enough to encompass kernel methods and neural networks, (ii) applicable to classification and regression, and (iii) scalable to real-world datasets. FermiML models are quantum circuits sharing the building blocks of most quantum ML (QML) models: (parameterized) qubit rotations and entangling gates. This allows us to build fermionic surrogates that mimic the architecture, and hence the quantum resources and inductive bias, of any QML model while remaining efficiently classically simulable. We thus benchmark QML models against close fermionic counterparts on equal footing and ascertain whether a purported QML gain truly stems from classically inaccessible resources or is an accidental side-effect. Across 31 configurations from five classification datasets, we benchmark quantum kitchen sinks (QKS), instantaneous quantum polynomial (IQP) and generic parameterized quantum circuit (PQC) models against fermionic surrogates. fQKS significantly outperforms QKS and is statistically indistinguishable from IQP and PQC; fPQC outperforms IQP and QKS and ties PQC in 28 configurations. We also introduce fermionic fidelity and Pfaffian covariance kernels for regression and establish QML baselines for this harder task. Finally, we introduce a fermionic energy-based classifier scalable to large text and image datasets, which outperforms prominent QML models on images, beats or closely trails them on text, and stays close to classical baselines throughout. Our results show that while performance depends sensitively on architecture, FermiML yields fermionic surrogates that challenge or outperform their unrestricted counterparts and fermionic QML models that match the scale of classical baselines on real-world datasets.

Create a lesson

Metadata

Comments
37 pages, 11 figures, 9 tables