Manuscript Offprint
arXiv:2610.17648Nearly Optimal Quantum Sample Complexity of Learning Fourier-Sparse Boolean Functions
Abstract
We study the number of uniform quantum examples needed to exactly learn a Boolean function with at most nonzero Fourier coefficients. We give a learner with near-optimal sample complexity independent of the input length . The learner uses only separate measurements of individual examples. This improves the previous upper bound [ACL]. The main ingredient is a candidate set formed by symmetric differences of subsets from independent groups of Fourier samples. A multilinear majority polynomial combines unbiased random approximations into an accurate witness whose Fourier support lies in this set. Granularity then forces the set to contain the entire Fourier support, including subsets never directly sampled. For comparison, we derive the tight classical sample complexity by combining known sparse-recovery and lower-bound results.
Keywords. Quantum learning, exact learning, Fourier sparsity, quantum examples.
1 Introduction
Learning from examples is a central task in computational learning theory [AdW17]. Structure in an unknown function can make learning possible without examining its exponentially large domain. Fourier analysis describes such structure by expressing Boolean functions as linear combinations of parity functions. A function is Fourier-sparse when only a few coefficients are nonzero.
Fourier sparsity counts the nonzero terms in the representation and provides a natural parameter for relating representation complexity to the amount of data needed for learning. The class includes signed parity functions, which have sparsity one, and every function depending on variables, whose sparsity is at most . Unlike dependence on a small set of variables, Fourier sparsity also permits the relevant parity functions to involve arbitrarily many input coordinates [ACL].
Exact Learning. In exact learning, the goal is to identify an unknown target from a known class of functions [AdW17, ACL 21]. A learner must output a classical description that agrees with the target on every input, with high success probability. For Fourier-sparse Boolean functions, we recover the complete Fourier representation. This requires identifying every nonzero spectral component, including those that contribute little to average prediction error.
Classical and Quantum Examples. We study under the uniform distribution. A uniform classical example is a labeled pair , where is uniformly distributed on . A uniform quantum example is the state
This quantum-example model was introduced by Bshouty and Jackson [BJ99]; see [AdW17] for a broader account. The objective is to output an exact classical description of the target using as few examples as possible.
Following [HR16a], the sample complexity of exact learning is the minimum number of independent uniform examples needed by a learner to identify any target in the class, with success probability at least 2/3. Classical and quantum sample complexity refer to the corresponding types of examples [ACL 21].
The essential quantum operation is Fourier sampling. Conditional on an event of probability 1/2, one copy yields a subset of variables with probability [BJ99, ACL 21]. For a signed parity function, a successful Fourier sample reveals , and one further classical example determines its sign. Thus learning a signed parity function requires only a constant number of quantum examples, compared with uniform classical examples [ACL 21], in both cases with constant success probability. Fourier-sparse functions extend this basic separation from one parity function to a sparse combination of parity functions. Determining their sample complexity asks how much of the advantage survives when several spectral components must be identified simultaneously.
The Gap in Known Bounds. Arunachalam, Chakraborty, Lee, Paraashar, and de Wolf [ACL 21] gave an quantum upper bound independent of , together with an lower bound for and any fixed . They conjectured that uniform quantum examples suffice to learn every -Fourier-sparse Boolean function exactly.
Why the General Case Is Difficult. For , if every nonzero Fourier coefficient has magnitude comparable to , coupon collection finds the support from Fourier samples. Fixed-target recovery then determines the coefficients from classical examples [CP11]. In general, however, a nonzero coefficient can have magnitude of order , so its corresponding subset may appear with probability of order [GOS 11, ACL 21]. Waiting to observe every support element can therefore be too expensive. Existing learners instead find the linear span of the support, but recovering within that span incurs an additional polynomial cost in [San19, ACL 21]. The challenge is to identify a sufficiently small candidate set containing the support without observing every support element directly.
We call f k-Fourier-sparse if at most k of these coefficients are nonzero.
Our main result is a near-optimal upper bound, establishing the conjectured near-linear sample bound . To state it precisely, put for and . Both results below hold for all integers and .
Throughout, log is base two and ln is natural. Logarithmic factors in asymptotic bounds are understood to be at least one. The notation suppresses factors polynomial in .
Theorem 1.1 (Quantum upper bound). There exists a quantum learner that exactly learns any k-Fourier-sparse Boolean function using uniform quantum examples, with success probability at least 2/3. The learner reconstructs the following Fourier list exactly:
The learner measures each copy separately. For any , independent repetition uses copies to recover the list exactly, with success probability at least .
The earlier learner [ACL 21] first identifies the linear span of the Fourier support and then recovers the function within that span. Its sample bound is , where is the span dimension; substituting [San19] gives the dependence. Our method instead constructs a candidate set with using examples. Recovery then uses further examples [CP11], giving the near-linear total.
Theorem 1.1 is near-optimal: the lower bound of applies when for fixed , and the same bound for all follows from the quantum coupon-collector theorem . Appendix A records this consequence and its reduction. Thus the gap is at most throughout the parameter range.
For comparison, combining known recovery and lower-bound results gives the following tight classical characterization.
Theorem 1.2 (Tight classical sample complexity). The number of independent uniform classical examples necessary and sufficient to learn the class of k-Fourier-sparse Boolean functions on exactly is , with success probability at least 2/3.
Haviv and Regev [HR16a, Corollary 3.6] obtained an upper bound with failure probability . Theorem 1.2 removes a factor of when only constant error is required; it does not assert the same improvement at their exponentially small error.
1.2 Related Work
Fourier Methods and Learning Models. Fourier methods have long been central to learning Boolean functions. Linial, Mansour, and Nisan [LMN93] used Fourier concentration to learn constant-depth circuits. Kushilevitz and Mansour [KM93] gave a membership-query algorithm for learning decision trees; in that model, the learner chooses which inputs to label. Our problem concerns exact learning from independent uniform examples. The surveys of Arunachalam and de Wolf [AdW17] and Chatterjee [Cha26] review quantum learning models and their sample complexities.
Quantum Learning. Bernstein and Vazirani [BV97] showed how to identify a parity function with one quantum query. In the quantum-example model, Bshouty and Jackson [BJ99] gave an algorithm for learning disjunctive normal form (DNF) formulas under the uniform distribution. Atici and Servedio [AS07] subsequently developed algorithms for learning and testing juntas from uniform classical and quantum examples, with sample bounds independent of the input length. For distribution-independent probably approximately correct (PAC) and agnostic learning, Arunachalam and de Wolf [AdW18] proved that quantum and classical sample complexities agree up to constant factors. Our setting fixes the uniform distribution and requires exact identification of the target.
Exact Learning of Fourier-Sparse Functions. For the problem studied here, Arunachalam, Chakraborty, Lee, Paraashar, and de Wolf [ACL 21] proved an quantum upper bound and an quantum lower bound for and any fixed . Theorem 1.1 improves the quantum upper bound to . For classical examples, Haviv and Regev [HR16a] proved an upper bound and an lower bound. By combining known results, we obtain the tight classical sample complexity at constant error for all (Theorem 1.2).
Sparse Recovery. Exact recovery from partial Fourier information was developed by Candès, Romberg, and Tao [CRT06]. Candès and Plan [CP11] established exact recovery of each fixed sparse vector under general random measurement models. Rudelson and Vershynin [RV08] and Haviv and Regev [HR16b] studied uniform recovery, in which one measurement matrix must recover all sparse vectors simultaneously. These works develop sparse-recovery techniques relevant to exact learning.
1.3 Proof Overview
The quantum upper-bound proof has two parts: first construct a candidate set containing the entire Fourier support, and then exactly learn the coefficients within that set. These parts use independent batches of examples. We describe the main ideas here and defer the quantitative estimates to Sections 3–5.
Part I: Covering the Fourier Support. The algorithm collects several independent groups of Fourier samples. It forms a candidate set C by selecting at most one observed subset from each group and taking their symmetric difference. The resulting set can contain subsets never observed directly, which is essential for recovering coefficients that Fourier sampling rarely reveals.
To prove coverage, we introduce a weighted average of the sampled parity functions in each group. A subset is sampled with probability [BJ99, ACL], so assigning the corresponding parity function the weight gives expected contribution . Summing over the possible outcomes recovers in expectation. Averaging more samples within a group decreases the variance. These weighted functions are only tools for the analysis: their weights are unknown, and the learner never computes them. The candidate set itself is formed solely from the observed subsets.
We combine the independent averages using the multilinear extension of majority. At an input where all signs agree, changing a minority of signs cannot change the majority. As a result, the expansion of this polynomial about the correct Boolean value has no low-degree error terms. Every surviving term contains many independent, mean-zero errors. Their mixed terms vanish in the second moment, making the expected squared error small. Multilinearity also ensures that every parity function in the resulting auxiliary function is indexed by a subset in the candidate set.
Finally, Boolean Fourier granularity supplies a minimum possible size of a nonzero coefficient. By Parseval's identity, omitting any subset in the true support would force the auxiliary function to incur a definite squared error. The small expected error therefore implies that the candidate set contains the entire Fourier support with high probability. This proves support containment without separately estimating the Fourier coefficients.
Part II: Recovering the Fourier Coefficients. Let be the candidate set constructed in Part I. Once is fixed and contains the support, the unknown Fourier coefficients form a sparse vector in the dictionary . Uniform classical examples provide exact linear equations for this vector. Orthogonality of parity functions verifies the hypotheses of the Candès–Plan recovery theorem [CP11]. The true coefficient vector is the unique solution of minimization with high probability. These examples are independent of those used to construct the candidate set. Conditional on that construction, the theorem applies to a fixed dictionary and a fixed target, requiring examples.
Applied to all parity functions, the same recovery theorem [CP11] also gives the classical upper bound in Theorem 1.2.
2 Preliminaries
We write for the field with two elements and for the real numbers. For a positive integer , let . The symbols Pr and denote probability and expectation. For a real random variable with finite second moment,
A subscript specifies the random variable or distribution being averaged over. In particular, averages over a uniform input, whereas averages over the samples used by the learner. Without a subscript, the source of randomness is the one specified locally. We write for the indicator of an event or condition ; an empty product equals one.
For real vectors, and . The notation denotes the M-dimensional identity matrix, and denotes transpose. The space consists of real vectors indexed by a finite set . A vector is s-sparse if at most entries are nonzero.
2.1 Fourier Analysis
Identify every subset with its incidence vector in , and let denote the inner product modulo two. The same notation is used for binary vectors of any equal length. We use + for addition modulo two. For subsets, is their symmetric difference. This convention applies to subsets of any coordinate set. For every real function , define
The function is the -valued parity function on . The subset specifies its variables and is represented by its -bit incidence vector. Unless otherwise specified, is uniform on . The Fourier support of is . For the target , define its Fourier support and sparsity by
The promise on the target is . For any , the parity functions satisfy
They form an orthonormal basis under the uniform inner product, giving Fourier inversion and Parseval's identity [O'D14]:
The second equality is Parseval's identity: the average squared value of a function equals the sum of the squares of its Fourier coefficients. It follows by expanding the square in the first equality; orthogonality makes every mixed term vanish. In particular, for Boolean .
A function has Fourier sparsity one if and only if it is a signed parity function , where and . Indeed, Parseval forces its sole nonzero coefficient to have magnitude one. The case gives the two constant functions.
Lemma 2.1 (Consequence of granularity [GOS 11, Theorem 8.1]). Let be an integer and let have Fourier sparsity at most . Every nonzero Fourier coefficient satisfies
2.2 Quantum Examples
We use the uniform quantum-example state defined in (1). The ket is the computational-basis vector labeled by ; adjacent kets and denote tensor products. The single-qubit Hadamard gate and the uniform qubit state are
Lemma 2.2 (Measurements of a quantum example [BJ99, ACL 21]). Computational-basis measurement of one copy of (1) gives a uniform classical example. Alternatively, apply H to every qubit and measure in the computational basis, declaring success when the label qubit is 1. This succeeds with probability 1/2 and, conditional on success, returns each subset with probability .
We call a successful outcome in Lemma 2.2 a Fourier sample. All Fourier samples used below come from different copies. The learner has no membership-query access or access to an inverse state-preparation circuit. Both Fourier measurements and classical-example measurements are charged to the copy budget.
2.3 Probability Inequalities
Proposition 2.3 (Markov's inequality). Let Z be a nonnegative random variable with finite expectation. For every ,
Proposition 2.4 (Chernoff–Hoeffding bound [Hoe63]). Let be independent random variables taking values in and put . For ,
Proposition 2.5 (Hoeffding's inequality [Hoe63]). Let be independent random variables taking values in , and set . For every ,
3 Covering the Fourier Support
The construction has two sampling choices: the number of Fourier samples in each group and the number of independent groups. Let be the sampling ratio: each group contains Fourier samples, rounded up to an integer. Thus measures the group size relative to the sparsity bound . We set
The construction uses successful Fourier samples in total. The group count is odd because the groups are combined by a majority polynomial with arguments. At least inputs must change to reverse a unanimous majority; this threshold controls the error bound below.
For each , draw independent Fourier samples , independently across groups. Put and define
Here the sumset consists of all symmetric differences obtained by choosing one subset from each , where 0 denotes the empty subset. Because every Fourier sample belongs to , we have . Consequently,
The candidate set may contain subsets outside ; the required property is .
Theorem 3.1 (Coverage of the complete support). For the set in (6), with the parameters in (5),
We prove Theorem 3.1 by constructing an auxiliary function whose Fourier support lies in C. Each sample group gives an unbiased approximation to f with variance at most 1/r. The multilinear extension of majority combines these approximations into a function with small expected squared error. Multilinearity ensures that its Fourier support remains in C. If C omits a nonzero Fourier coefficient of f, granularity and Parseval's identity force the squared error to be at least . Markov's inequality then gives the claimed probability bound.
3.1 Independent Unbiased Approximations
For each group, introduce the random real function
The denominators are nonzero because Fourier samples lie in . These functions are used solely in the proof; they are not computed by the learner. In particular, the candidate set in (6) does not require their coefficients.
Lemma 3.2 (Moments of a group mean). For every fixed and every ,
For fixed x, the random variables are independent.
Proof. Let be one Fourier sample. Its distribution is , so
Since , one summand has variance . The summands are independent, so their average satisfies
Independence of the groups proves the final assertion.
Only independence across groups at a fixed x is used. Values at different inputs may be correlated; the proof later averages over x and does not require a union bound over the input domain or a pointwise approximation guarantee for every group.
3.2 The Multilinear Extension of Majority
For an odd number of groups, let be the majority of . Its multilinear extension to is
At a Boolean vector , all summands vanish except the one with , which has value . Thus this formula is the unique multilinear polynomial agreeing with majority on the Boolean cube. It remains a polynomial identity for arbitrary real . No probabilistic interpretation of the interpolation factors is used when .
Lemma 3.3 (Vanishing of low-degree terms). For each there are coefficients with such that, for every ,
Proof. The translated polynomial is multilinear and its constant term is . For a nonempty , fix every coordinate outside to . Write , and let denote this restricted polynomial. The coefficient of after substituting equals the coefficient of in : a monomial missing a variable cannot contribute to the full product. Multiplying by and averaging over uniform removes every other monomial, so this coefficient is
It is an average of signs, so . If , the fixed coordinates already determine the majority, and the restricted function is constant. Its coefficient on the nonempty product is therefore zero. This proves the expansion, as a polynomial identity for arbitrary real errors.
3.3 Mean-Square Error and Support Coverage
To bound the approximation error and then establish support containment, define
We first bound its approximation error, and then determine which subsets can appear in its Fourier representation.
Lemma 3.4 (Mean-square error bound). The random function satisfies
Proof. Fix , and put and for . The expectations below are over the sample groups, with fixed. By Lemma 3.2, the are independent, , and . Set
Squaring (10) gives
For distinct J, K, independence gives
because is nonempty. For , independence gives
Consequently, using and ,
Averaging over the uniform input x proves (11). All sums are finite, so the order of the two expectations can be exchanged; no union bound over inputs is needed.
Lemma 3.5 (Fourier support of the analysis function). For every realization of the samples, .
Proof. Each in (8) is a linear combination of parity functions indexed by subsets in . Use the original multilinear expansion
where the real coefficients depend only on majority. In a term , expanding the product selects one parity function with from each . Their product equals . Taking for shows that this sum is in . The empty product contributes only the empty subset, also in . Adding these terms can cancel coefficients but cannot introduce subsets outside .
Proof of Theorem 3.1. If , choose . Lemma 3.5 gives . By Parseval and Lemma 2.1,
This implication holds for each realization. Apply Markov's inequality (Proposition 2.3) to the nonnegative random variable with threshold . Together with Lemma 3.4, this gives
The penultimate inequality follows from the choice of the group count g in (5) and r/4 > 1. ☐
4 Exact Recovery from a Candidate Set
Once a candidate set contains the Fourier support, the problem becomes sparse recovery in a known finite dictionary of parity functions. We first state the external recovery result in the form we use.
Lemma 4.1 (Fixed-vector recovery, Candès–Plan [CP11, Theorem 1.1]). Let , and let be a random vector in such that and almost surely. Fix an -sparse vector and a number . There is a universal constant such that, for independent copies of with
the vector w is the unique minimizer of
with probability at least .
Fix a constant c for which Lemma 4.1 holds. Define the recovery budget uniformly for all by
The constant cutoff permits a reduction of the small-dimensional case to dimension 100, without a separate recovery algorithm.
Lemma 4.2 (Recovery on a known candidate set). Let contain distinct subsets, and suppose . From independent uniform classical examples, Algorithm 1 recovers all Fourier coefficients of with probability at least 0.9. This statement also holds conditional on any independently generated candidate set that contains .
Proof. Fix a nonempty containing , and put
For uniform X, orthogonality of parity functions gives
Every entry of has magnitude one, and w has at most k nonzero entries. Fourier inversion gives the required labels:
For , apply Lemma 4.1 with , , and budget (12). The true vector is the unique optimum with failure probability at most .
For , append independent uniform signs to each row, independently of the inputs and other rows; append zeros to . Writing and , independence and give
The same application of Lemma 4.1 in dimension 100 makes uniquely optimal with probability at least 0.9. On this event, any other original feasible vector with would give a competing augmented vector of no larger norm, a contradiction. Hence is also uniquely
Algorithm 1 RECOVER(C, k)
Require: A nonempty set C of distinct subsets, a sparsity bound k, and uniform classical examples independent of the data used to construct C
1: ; from (12)
2: Draw q independent examples , where
3: Set and for ,
4: Solve subject to exactly
5: if the constraints are infeasible then
6: return FAIL
7: end if
8: Let z be an exact optimal solution
9: if then
10: return FAIL
11: end if
12: return
optimal in the original problem. The padding is only for the proof and uses no additional examples.
In both cases the budget is , since under our logarithmic convention. On the success event, is feasible and -sparse, so Algorithm 1 returns its Fourier list. If is random, condition on all data used to construct it. For every resulting containing , the dictionary and target are fixed, while the independent recovery examples remain uniform. Applying the preceding guarantee and averaging over these conditionings proves the final assertion.
Algorithm 1 may return any exact optimal solution. On the success event in Lemma 4.2, the true coefficient vector is the unique optimum, so this choice cannot affect correctness. An incorrect list is counted as failure, even if it is feasible and has at most k nonzero entries. The program has rational data, and we use an exact linear-programming solver that returns a rational optimum; no further tie-breaking rule is needed.
5 The Learning Algorithm and Its Sample Complexity
Algorithm 2 combines the support construction with exact recovery. Each classical example requested by RECOVER is obtained by measuring one quantum copy in the computational basis. The recovery copies are independent of those used for Fourier sampling. The recursive construction of in the pseudocode is exactly the sumset in (6), with repeated subsets removed after each step.
Lemma 5.1 (Obtaining independent Fourier samples). The Fourier stage of Algorithm 2 fails with probability at most . Conditional on having at least gm successful measurements, its retained subsets are gm independent Fourier samples.
Proof. Let count the successes among the measurements. By Lemma 2.2, is binomial with mean . Apply the Chernoff–Hoeffding bound (Proposition 2.4) with :
For the distributional claim, each measurement can equivalently be generated by an independent fair success flag and an independent subset drawn from , with the subset revealed
Algorithm 2 LEARNFOURIERSPARSE(n, k)
Require: Independent copies of ; known n and
1:
2: ;
3: Apply the Fourier measurement of Lemma 2.2 to exactly 4gm copies
4: if fewer than gm measurements succeed then
5: return FAIL
6: end if
7: Retain the first gm Fourier samples and split them, in order, into g groups of size m
8:
9: for do
10: Let be the set of distinct subsets in group i
11:
12: end for
13: return RECOVER( ) using classical examples obtained by measuring additional copies
only on success. This construction is valid because
The event depends only on the flags. Conditional on any flag sequence with this property, the retained subsets come from distinct independent draws. Their joint distribution is the product Fourier distribution, independent of which successful positions are retained. Averaging over the flag sequences proves the statement.
Proof of Theorem 1.1. The proof has three parts: we establish constant success probability, bound the number of copies on every execution, and amplify success.
Success probability. Conditional on sufficient Fourier outcomes, Lemma 5.1 allows us to apply Theorem 3.1 to . Conditional further on any first-stage transcript with , the copies reserved for RECOVER give independent uniform classical examples. Lemma 4.2 then bounds the recovery failure by 0.1. Taking the union bound over these three types of failure gives
Indeed, , , and , so
This proof includes sparsity one. On failure events the algorithm may return an incorrect list or FAIL; neither event changes its copy bound.
Sample bound. First suppose . For a general sampling ratio , the Fourier and recovery stages use and copies, respectively. Taking balances these contributions. Algorithm 2 chooses . The definitions in (5) therefore give
Indeed, and ; rounding only changes these bounds by constants. The Fourier stage thus uses
copies. By (7) and Lemma 4.2, the recovery stage uses at most
additional copies. The bound holds for every measurement record, even when omits a subset in the true support. Each recovery example uses one additional quantum copy, so both stages have a total budget of on every execution.
For , the chosen , , and are all bounded by absolute constants, as is ; the same algorithm uses copies. This proves the sample bound in Theorem 1.1 for the entire parameter range. Every quantum copy is measured separately, either by the Fourier measurement or in the computational basis; all subsequent processing is classical.
Amplification. Run the learner independently an odd number R of times. Write each nonfailure output in a canonical form by sorting the incidence vectors of the subsets lexicographically and reducing each rational coefficient to lowest terms. Return the list appearing in a strict majority of the runs, and return FAIL if there is no such list. This is a vote on complete representations, not on individual coefficients.
Let equal one exactly when run returns FAIL or an incorrect representation, and set . The runs use independent copies, so the are independent. The success guarantee gives and hence . If , a strict majority returns the same correct list. Therefore the final failure probability is at most .
On the event , we have
Applying Hoeffding's inequality (Proposition 2.5) with gives
Choose the smallest odd integer . Then , and the failure probability is at most . Multiplying the fixed budget of one run by proves the amplification claim in Theorem 1.1.
6 Classical Sample Complexity
We prove Theorem 1.2 by applying sparse recovery to the full dictionary and combining the Haviv–Regev lower bound with Proposition A.1.
Lemma 6.1 (Consequence of the Haviv–Regev lower bound [HR16a, Theorem 3.7]). For every and , any learner using independent uniform classical examples requires examples in the worst case to identify every Boolean function of Fourier sparsity at most exactly with probability at least .
Haviv and Regev use -valued targets. Every nonzero such target has , so has no larger Fourier support; the zero function maps to the constant function 1. Relabeling the examples therefore transfers their lower bound to our sign convention. For arbitrary , apply their construction at : and . For , signed parity functions give the required bound .
Proof of Theorem 1.2. For the upper bound, take in Lemma 4.2. This set always contains , so uniform classical examples suffice.
For the lower bound, Lemma 6.1 gives . A quantum learner can measure each copy in the computational basis to obtain one classical example. Hence the quantum lower bound in Proposition A.1 also applies to classical samples and gives the additional bound . Both bounds must hold, and
Thus the classical sample complexity is , matching the upper bound.
Acknowledgements
The author was supported by start-up research funding from Fuzhou University (Grant No. XRC-26004).
Disclosure of Generative AI Use. ChatGPT (model: GPT-6 Astra) was used in developing the arguments and preparing this manuscript. Its uses included exploring candidate-set constructions, expanding intermediate proof steps, checking the quantum lower-bound reduction and the applicability of cited recovery results, searching for related literature, organizing the exposition, and drafting text. The author is responsible for the mathematical claims, references, and final presentation.
References
[ABC 20] Srinivasan Arunachalam, Aleksandrs Belovs, Andrew M. Childs, Robin Kothari, Ansis Rosmanis, and Ronald de Wolf. Quantum coupon collector. In 15th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2020), volume 158 of Leibniz International Proceedings in Informatics (LIPIcs), pages 10:1–10:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020.
[ACL 21] Srinivasan Arunachalam, Sourav Chakraborty, Troy Lee, Manaswi Paraashar, and Ronald de Wolf. Two new results about quantum exact learning. Quantum, 5:587, 2021.
[AdW17] Srinivasan Arunachalam and Ronald de Wolf. Guest column: A survey of quantum learning theory. ACM SIGACT News, 48(2):41–67, 2017.
[AdW18] Srinivasan Arunachalam and Ronald de Wolf. Optimal quantum sample complexity of learning algorithms. Journal of Machine Learning Research, 19(71):1–36, 2018.
[AS07] Alp Atici and Rocco A. Servedio. Quantum algorithms for learning and testing juntas. Quantum Information Processing, 6(5):323–348, 2007.
[BJ99] Nader H. Bshouty and Jeffrey C. Jackson. Learning DNF over the uniform distribution using a quantum example oracle. SIAM Journal on Computing, 28(3):1136–1153, 1999.
[BV97] Ethan Bernstein and Umesh Vazirani. Quantum complexity theory. SIAM Journal on Computing, 26(5):1411–1473, 1997.
[Cha26] Sagnik Chatterjee. The quantum learning menagerie (a survey on quantum learning for classical concepts), 2026. arXiv:2602.01054.
[CP11] Emmanuel J. Candès and Yaniv Plan. A probabilistic and RIPless theory of compressed sensing. IEEE Transactions on Information Theory, 57(11):7235–7254, 2011.
[CRT06] Emmanuel J. Candès, Justin Romberg, and Terence Tao. Robust uncertainty principles: Exact signal reconstruction from highly incomplete frequency information. IEEE Transactions on Information Theory, 52(2):489–509, 2006.
[GOS 11] Parikshit Gopalan, Ryan O'Donnell, Rocco A. Servedio, Amir Shpilka, and Karl Wimmer. Testing Fourier dimensionality and sparsity. SIAM Journal on Computing, 40(4):1075–1100, 2011.
[Hoe63] Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963.
[HR16a] Ishay Haviv and Oded Regev. The list-decoding size of Fourier-sparse Boolean functions. ACM Transactions on Computation Theory, 8(3):10:1–10:14, 2016.
[HR16b] Ishay Haviv and Oded Regev. The restricted isometry property of subsampled Fourier matrices. In Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2016), pages 288–297. SIAM, 2016.
[KM93] Eyal Kushilevitz and Yishay Mansour. Learning decision trees using the Fourier spectrum. SIAM Journal on Computing, 22(6):1331–1348, 1993.
[LMN93] Nathan Linial, Yishay Mansour, and Noam Nisan. Constant depth circuits, Fourier transform, and learnability. Journal of the ACM, 40(3):607–620, 1993.
[O'D14] Ryan O'Donnell. Analysis of Boolean Functions. Cambridge University Press, 2014.
[RV08] Mark Rudelson and Roman Vershynin. On sparse reconstruction from Fourier and Gaussian measurements. Communications on Pure and Applied Mathematics, 61(8):1025–1045, 2008.
[San19] Swagato Sanyal. Fourier sparsity and dimension. Theory of Computing, 15(11):1–13, 2019.
A A Quantum Lower Bound of Sample Complexity
Theorem 5 of [ACL 21] establishes uniform quantum examples for and fixed . The following all-parameter version is a consequence of the quantum coupon-collector theorem [ABC 20].
Proposition A.1 (Quantum lower bound). For every and , any quantum learner requires uniform quantum examples in the worst case to identify every Boolean function of Fourier sparsity at most exactly with probability at least 2/3. The bound holds even for learners using arbitrary joint measurements.
We use the following specialization of the quantum coupon-collector lower bound.
Lemma A.2 (Quantum coupon collection [ABC 20, Theorem 6]). Let be even, and let be an unknown set of size . Given independent copies of
any procedure requires copies in the worst case to identify every such A with probability at least 2/3. The bound holds even for procedures using arbitrary joint measurements.
The cited theorem concerns an unknown -element subset of an -element universe and gives copies. Taking and yields the statement above. Only copies of are supplied; no oracle depending on is available.
Lemma A.3 (Converting a subset state into a labeled example). For every even , there is a unitary , independent of , such that every of size satisfies
Here equals 1 if and 0 otherwise. Thus one copy of suffices to prepare exactly one uniform quantum example for its membership function.
Proof of Lemma A.3. For , define
The reflection fixes and negates orthogonal vectors, so it is unitary. Since , we have and . Hence
Append and apply the controlled unitary
which is unitary on each orthogonal label subspace. Then
All operations depend only on K, not on A: no reflection about the unknown state, membership query, or postselection is used.
Proof of Proposition A.1. First suppose . Set and , so and . For , define
For every of size , let
Thus equals 1 precisely when , and is -1 in that case and 1 otherwise. This function depends only on the first variables. To check its sparsity explicitly, if contains some coordinate , pairing inputs that differ only in coordinate cancels the sum defining . Hence the Fourier support is contained in and has size at most .
Suppose a learner uses at most uniform quantum examples to learn every target of sparsity at most . Starting with copies of , apply Lemma A.3 separately to each copy. Relabel by the binary digits of , and append qubits in . After ordering the registers, each resulting state is exactly
No further unknown-state copies are used. Feed these T states to the learner. On its success event, evaluate its exact classical description on the inputs ; those giving value -1 identify precisely the members of A. This evaluation needs no additional samples. If the learner returns FAIL, or these evaluations do not yield a set of size , return any fixed set of that size. Otherwise return the set obtained; on the learner's success event it is exactly A.
We have therefore obtained a quantum coupon-collection algorithm with the same copy bound and at least the same success probability. Lemma A.2 implies
since and . The reduction preserves the learner's arbitrary joint measurements and adaptive processing. For , distinguishing the two constant functions requires at least one copy, which gives the asserted bound under our convention for logarithmic factors.