paper

Fast Quantum Algorithms for Learning Linear Threshold Functions

arXiv:2609.40331

Abstract

Linear threshold functions (LTFs) are -valued functions , where has unit norm, , and or . If , the LTF is homogeneous, denoted . LTFs are fundamental linear classifiers. We give three results: one for general LTFs and two for homogeneous LTFs. (1) With real-domain membership queries evaluating at any chosen , we learn an LTF with classification error at most under the standard Gaussian distribution using queries and other gates. Classically, queries are required, giving an exponential quantum query speedup. (2) A homogeneous LTF over whose nonzero weights are equal and positive is Majority on the support of . We identify this hidden support exactly using queries, exponentially improving Belovs' upper bound. Our algorithm uses gates and has non-oracle depth. Classical algorithms require queries. (3) Suppose a unitary prepares discretized Gaussian quantum examples, corresponding to . This is weaker than membership queries. Using the efficient quantum Hermite transform circuit, we learn homogeneous LTFs with classification error at most under the Gaussian distribution using applications of and and other gates. Classically, examples are needed, giving a quartic quantum speedup in . We show that the quantum query complexities in all three cases are optimal by proving matching lower bounds.

arXiv commentv2: In section 3, new optimal lower bound. Small improvements in the presentation v3: Added new optimal lower bounds in Section 3 and 5, added gate complexity upper bound in Section 4, and improved the presentation in several places