Fast Quantum Algorithms for Learning Linear Threshold Functions
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.
Create a lesson
Metadata
- Comments
- v2: 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
Related papers
A linear-size, logarithmic-depth quantum constant adder with one dirty ancilla
Shared title terminologyquant-phJingquan Luo, Lvzhou Li
Thermodynamic limits of a quasi-polynomial quantum algorithm for module lattices
Shared title terminologyquant-phRalf Riedinger
Real-time decoding of quantum kirigami for fast computation with a high-rate code
Shared title terminologyquant-phNatalie C. Brown, Elijah Durso-Sabina, David T. Stephen et al.
Dyson Carleman Quantum Algorithm for nonlinear differential equations
Shared title terminologyquant-phMehul Pandita, Soumyadip Das, Frédéric Cadet et al.
On Benchmarking Quantum Algorithms Without Quantum Computers
Shared title terminologyquant-phVedran Dunjko
Fast and Accurate Correlated Decoding of Quantum Error-Correcting Codes
Shared title terminologyquant-phYiming Zhang, Riling Li, Ke Liu