Enhancing Expressivity of Quantum Neural Networks Based on the SWAP test
Sebastian Nagies, Emiliano Tolotti, Davide Pastorello, Enrico Blanzieri

TL;DR
This paper analyzes the expressivity of SWAP test-based quantum neural networks, identifies their limitations, and introduces generalized circuits with polynomial activations that improve their ability to learn complex functions like parity checks.
Contribution
It establishes a connection between SWAP test QNNs and classical neural networks, identifies their limitations, and proposes generalized circuits with polynomial activations to enhance expressivity.
Findings
SWAP test QNNs are equivalent to classical two-layer networks with quadratic activations.
Original architecture cannot learn parity functions beyond two dimensions.
Generalized SWAP circuits with polynomial activations successfully learn parity functions in arbitrary dimensions.
Abstract
Quantum neural networks (QNNs) based on parametrized quantum circuits are promising candidates for machine learning applications, yet many architectures lack clear connections to classical models, potentially limiting their ability to leverage established classical neural network techniques. We examine QNNs built from SWAP test circuits and discuss their equivalence to classical two-layer feedforward networks with quadratic activations under amplitude encoding. Evaluation on real-world and synthetic datasets shows that while this architecture learns many practical binary classification tasks, it has fundamental expressivity limitations: polynomial activation functions do not satisfy the universal approximation theorem, and we show analytically that the architecture cannot learn the parity check function beyond two dimensions, regardless of network size. To address this, we introduce…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Quantum many-body systems · Quantum Information and Cryptography
MethodsDense Connections · Feedforward Network
