Explorer›Quantum Computing›Quantum Physics
Research PaperResearchia:202610.01077

Fast Quantum Algorithms for Learning Linear Threshold Functions

Aleksandrs Krivcenko

Abstract

Linear threshold functions are $f_{w,θ}(x)=\text{sign}(\langle x,w \rangle -θ)$, where the weight vector $w\in\mathbb{R}^n$ is a unit vector, $θ\in\mathbb R$ is a threshold, and typically $x\in\mathbb{R}^n$ or $x\in\{-1,1\}^n$. When $θ=0$, the LTF is called homogeneous, and we write $f_w:=f_{w,0}$. Such functions are among the most important objects in machine learning, since they serve to linearly discriminate positive and negative examples. We give three positive results about learning LTFs: 1...

Submitted: October 1, 2026Subjects: Quantum Physics; Quantum Computing

Description / Details

Linear threshold functions are fw,θ(x)=sign(⟨x,w⟩−θ)f_{w,θ}(x)=\text{sign}(\langle x,w \rangle -θ), where the weight vector w∈Rnw\in\mathbb{R}^n is a unit vector, θ∈Rθ\in\mathbb R is a threshold, and typically x∈Rnx\in\mathbb{R}^n or x∈{−1,1}nx\in\{-1,1\}^n. When θ=0θ=0, the LTF is called homogeneous, and we write fw:=fw,0f_w:=f_{w,0}. Such functions are among the most important objects in machine learning, since they serve to linearly discriminate positive and negative examples. We give three positive results about learning LTFs: 1. Suppose we can make real-domain queries, meaning we can compute fw,θ(x)f_{w,θ}(x) at any x∈Rnx\in\mathbb{R}^n of our choice. We give a quantum algorithm that learns fw,θf_{w,θ} up to Euclidean error~εε using O(log⁡(n/ε))O(\log(n/ε)) membership queries and O~(n)\widetilde{O}(n) other gates. Then we have also learned fw,θf_{w,θ} up to error O(ε)O(ε) when xx is Gaussian. Classical algorithms need Ω(nlog⁡(1/ε))Ω(n\log(1/ε)) queries. 2. A homogeneous LTF fwf_w on domain {−1,1}n\{-1,1\}^n where ww has only kk nonzero entries of the same value, is the Majority function on the support of ww. Belovs gave a bounded-error quantum algorithm that identifies the hidden support exactly (and hence learns fwf_w) using O(k1/4)O(k^{1/4}) queries. We give an exponential improvement, using O(log⁡k)O(\log k) queries. 3. Suppose we have a unitary UU that can produce (discretized) \emph{quantum examples} under Gaussian measure, corresponding to ∫xγn(x)∣x⟩∣fw(x)⟩dx\int_x \sqrt{γ_n(x)}|x\rangle |f_w(x)\rangle dx. This is a weaker access model than membership queries. We give a quantum algorithm based on the efficient \emph{Hermite transform} of Jain et al.\ to learn homogeneous LTFs~fwf_w with error~εε under the Gaussian distribution, using O(n1/4/ε)O(n^{1/4}/\sqrtε) applications of UU and U†U^\dagger and O~(n2/ε4)\widetilde{O}(n^2/ε^4) other gates.


Source: arXiv:2609.40331v1 - http://arxiv.org/abs/2609.40331v1 PDF: https://arxiv.org/pdf/2609.40331v1 Original Link: http://arxiv.org/abs/2609.40331v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Oct 1, 2026
Topic:
Quantum Computing
Area:
Quantum Physics
Comments:
0
Bookmark