Distributional property testing in a quantum world
Andr\'as Gily\'en, Tongyang Li

TL;DR
This paper introduces quantum algorithms that significantly accelerate the testing of distribution properties, such as closeness, independence, and entropy estimation, applicable to both classical and quantum distributions.
Contribution
It presents the first quantum algorithms with speed-ups for property testing of density operators and improves precision dependence for classical distribution testing.
Findings
Quantum algorithms outperform classical methods in distribution testing tasks.
Speed-ups achieved for testing closeness, independence, and entropy of distributions.
Algorithms work with coherent quantum access to data.
Abstract
A fundamental problem in statistics and learning theory is to test properties of distributions. We show that quantum computers can solve such problems with significant speed-ups. In particular, we give fast quantum algorithms for testing closeness between unknown distributions, testing independence between two distributions, and estimating the Shannon / von Neumann entropy of distributions. The distributions can be either classical or quantum, however our quantum algorithms require coherent quantum access to a process preparing the samples. Our results build on the recent technique of quantum singular value transformation, combined with more standard tricks such as divide-and-conquer. The presented approach is a natural fit for distributional property testing both in the classical and the quantum case, demonstrating the first speed-ups for testing properties of density operators that…
| -closeness testing | (robust) -closeness testing | Shannon / von Neumann entropy | |||||
|---|---|---|---|---|---|---|---|
| Classical sampling |
|
Chan et al. (2014) |
|
||||
|
; Bun et al. (2018) | ||||||
|
|||||||
|
Bădescu et al. (2017) | Bădescu et al. (2017) | , Acharya et al. (2017b) |
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.
Distributional property testing in a quantum world
András Gilyén QuSoft, CWI and University of Amsterdam, the Netherlands. Supported by ERC Consolidator Grant QPROGRESS and partially supported by QuantERA project QuantAlgo 680-91-034. [email protected]
Tongyang Li Department of Computer Science, Institute for Advanced Computer Studies, and Joint Center for Quantum Information and Computer Science, University of Maryland. Supported by IBM PhD Fellowship, QISE-NET Triplet Award (NSF DMR-1747426), and the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, Quantum Algorithms Teams program. [email protected]
Abstract
A fundamental problem in statistics and learning theory is to test properties of distributions. We show that quantum computers can solve such problems with significant speed-ups. In particular, we give fast quantum algorithms for testing closeness between unknown distributions, testing independence between two distributions, and estimating the Shannon / von Neumann entropy of distributions. The distributions can be either classical or quantum, however our quantum algorithms require coherent quantum access to a process preparing the samples. Our results build on the recent technique of quantum singular value transformation, combined with more standard tricks such as divide-and-conquer. The presented approach is a natural fit for distributional property testing both in the classical and the quantum case, demonstrating the first speed-ups for testing properties of density operators that can be accessed coherently rather than only via sampling; for classical distributions our algorithms significantly improve the precision dependence of some earlier results.
1 Introduction
Distributional property testing is a fundamental problem in theoretical computer science (see, e.g. Goldreich (2017)). In such property testing questions the goal is to determine properties of probability distributions with the least number of independent samples. This has intimate connections and applications to statistics, learning theory, and algorithm design.
The merit of distributional property testing mainly comes from the fact that the testing of many properties admits sublinear algorithms. For instance, given the ability to take samples from a discrete distribution on , it requires samples to “learn” , i.e., to construct a distribution on such that with success probability at least ( being -distance). However, testing whether or requires only samples from and (Chan et al. (2014)), which is sublinear in and significantly smaller than the complexity of learning the entire distributions. See Section 1.4 for more examples and discussions.
In this paper, we study the impact of quantum computation on distributional property testing problems. We are motivated by the emerging topic of “quantum property testing” (see the survey of Montanaro and de Wolf (2016)) which focuses on investigating the quantum advantage in testing classical statistical properties. Quantum speed-ups have already been established for a few specific problems such as testing closeness between distributions (Bravyi et al. (2011), Montanaro (2015)), testing identity to known distributions (Chakraborty et al. (2010)), estimating entropies (Li and Wu (2018)), etc. In this paper we propose a generic approach for quantum distributional property testing, and illustrate its power on a few examples. This is our attempt to make progress on the question:
Can quantum computers test properties of distributions systematically and more efficiently?
1.1 Problem statements
Throughout the paper, we denote probability distributions on by and ; their -distance is defined as . Similarly, we denote density operators111For readers less familiar with quantum computing, a density operator (=quantum distribution) is a positive semidefinite matrix with . Please refer to the textbook Nielsen and Chuang (2000) for more information. (quantum distributions) by and ; their -distance is defined via the corresponding Schatten norm.
Input models.
To formulate the problems we address, we define classical and quantum access models for distributions on . We begin with the very natural model of sampling.
Definition 1** (Sampling).**
A classical distribution is accessible via classical sampling if we can request samples from the distribution, i.e., get a random with probability . A quantum distribution is accessible via quantum sampling if we can request copies of the state .
Now we define a coherent analogue of the above sampling model. To our knowledge this type of query-access was not studied before in detail, especially in the context of density operator testing. The motivation for this input model is the following: we can think about a density operator as the outcome of some physical process. If we are able to simulate the corresponding process on a fault-tolerant quantum computer, then it provides purified access to the density operator. In the special case when we study a classical probability distribution coming from some classical randomized process, we can simply simulate the classical randomized process on a quantum computer.
Definition 2** (Purified quantum query-access).**
A density operator , has purified quantum query-access if we have access to a unitary oracle (and its inverse) acting as222 denotes a “ket” vector and stands for its conjugate transpose, called “bra” in Dirac notation; is the basis vector. An -normalized is called a pure state, and corresponds to density operator . For and we denote by the partial trace over .
[TABLE]
such that . If , then is a diagonal density operator which can be identified with the classical distribution , so we can simply write instead of . With a slight abuse of notation sometimes we will concisely write instead of .
We also define an even stronger input model that is considered in a series of earlier works, see, e.g., (Bravyi et al. (2011), Chakraborty et al. (2010), Li and Wu (2018), Bun et al. (2018)).
Definition 3** (Classical distribution with discrete query-access).**
A classical distribution , has discrete query-access if we have classical / quantum query-access to a function such that for all , . (Typically the interesting regime is when .) In the quantum case a query oracle is a unitary operator acting on as
[TABLE]
Note that if one first creates a uniform superposition over and then makes a query, then the above oracle turns into a purified query oracle to a classical distribution as in Definition 2. Therefore all lower bounds that are proven in this model also apply to the purified query-access oracles. In fact all algorithms that the authors are aware of do this conversion, so they effectively work in the purified query-access model. Moreover, we conjecture that the two input models are equivalent when . For this reason we only work with the purified query-access model in this work.
Another strengthening of the purified query-access model for classical distributions when we have access to a unitary (and its inverse) acting as .
Definition 4** (Classical distribution with pure-state preparation access).**
A classical distribution , is accessible via pure state preparation oracle if we have access to a unitary oracle (and its inverse) acting as
[TABLE]
This is again strictly stronger than the purified query-access model. In order to simulate purified queries we can first do a pure state query and then copy to a second fresh ancillary register using, e.g., some CNOT gates. Finally, for completeness we mention that one could also consider a model similar to the above where one can only request samples of pure states of the form , as studied for example in Arunachalam and de Wolf (2017), Arunachalam et al. (2018).
We will mostly focus on the first two input models and will only use the latter strengthenings of the purified query-access model for invoking and proving lower bounds.
Property testing problems.
We study three distributional properties: -closeness testing, independence testing, and entropy estimation. These properties are highly-representative; classically, these testers motivate general algorithms for testing properties of discrete distributions (Diakonikolas and Kane (2016), Acharya et al. (2017a)).
For brevity we only give the definitions for classical distributions; similar definitions apply to quantum density matrices if we replace vector norms by the corresponding Schatten norms.
Definition 5** (-closeness testing).**
Given and two probability distributions , on , -closeness testing is to decide whether or with success probability at least . Robust testing: decide whether or with success probability at least .
Definition 6** (Independence testing).**
Given and a probability distribution on with , independence testing is to decide, with success probability at least , whether is a product distribution or is -far in -norm from any product distribution on .
Definition 7** (Entropy estimation).**
Given and a density operator , entropy estimation is to estimate the Shannon / von Neumann entropy within additive -precision with success probability at least .
1.2 Contributions
We give a systematic study of distributional property testing for classical / quantum distributions, and obtain the following results for the purified quantum query model of Definition 2:
- •
Entropy estimation of classical / quantum distributions costs and queries respectively, as we prove in Theorem 12 and Theorem 13.
- •
Robust -closeness testing of classical / quantum distributions costs and \mathcal{O}\kern-0.85358pt\left(\kern-1.13809pt\min\!\big{(}\frac{\sqrt{n}}{\epsilon}\!,\frac{1}{\epsilon^{2}}\big{)}\!\kern-0.28453pt\right)\! queries respectively, as we prove in Theorem 14 and Theorem 15.
- •
-closeness testing of classical / quantum distributions costs and queries respectively, as we prove in Corollary 17.
- •
Independence testing of classical / quantum distributions costs and queries respectively, as we prove in Corollary 18.
For context, we compare our results with previous classical and quantum results in Table 1 and Table 2. (Note that all of our results are gate efficient, because they are based on singular value transformation and amplitude estimation, both of which have gate-efficient implementations.)
33footnotetext: Recent results of Chailloux (2018) imply that in this model quantum speed-ups are at most cubic.
1.3 Techniques
The motivating idea behind our approach is that if we can prepare a purification of a quantum distribution / density operator , then we can construct a unitary , which has this density operator in the top-left corner, using only two queries to . This observation is originally due to Low and Chuang (2016). We call such a unitary a block-encoding of :
[TABLE]
One can think of a block-encoding as a probabilistic implementation of the linear map : given an input state , applying the unitary to the state , measuring the first -qubit register and post-selecting on the outcome, we get a state in the second register. Block-encodings are easy to work with, for example given a block-encoding of and we can easily construct a block-encoding of , see for example in the work of Chakraborty et al. (2018).
Example application to -testing.
The problem is to decide whether or , with query complexity . The first idea is that if we can prepare a purification of and , then by flipping a fair coin and preparing or based on the outcome, we can also prepare a purification of . The second idea is to combine the block-encodings of and to apply the map to the purification of , to get
[TABLE]
Finally, apply amplitude estimation with setting . This works since if , then the ancilla state has probability .
Working with singular values.
The above is a promising approach because it directly makes the density operator in question operationally accessible. However, it turns out that using this simple block-encodings is often suboptimal for distribution testing, because a query in some sense gives access to the square-root of , whereas this unitary has itself in the top-left corner. Since the problems often heavily depend on smaller eigenvalues of , the square root of is more desirable since it has quadratically larger singular-/eigenvalues.
Therefore, we show how to efficiently construct a unitary matrix whose top-left corner contains a matrix with singular values , given purified access to a classical distribution . To be more precise, we define projected unitary encodings, which represents a matrix in the form of , where are orthogonal projectors and is a unitary matrix. One can think about in a projected unitary encoding as a probabilistic implementation of the map . Take for example , , and . As we show in Appendix A these operators form a projected unitary encoding of
[TABLE]
We can use a similar trick for a general density operator too. However, there is a major difficulty which arises from the fact that we do not a prioiri know the diagonalizig basis of . Therefore we use slightly different operators. Let be a unitary,444This unitary is easy to implement, e.g., by using a few Hadamard and CNOT gates. mapping . Let , and as above. As we show in Appendix A these operators form a projected unitary encoding of
[TABLE]
As we can see, the case of general density operators is less efficient, it only gives operational access to the “square root” of . If the factor could be directly improved, that would speed up our von Neumann entropy estimation algorithm Theorem 13, which seems unlikely, cf. Table 2.
General recipe.
Our recipe to distributional property testing can be summarized as follows.
- 1.)
Construct a unitary matrix / quantum circuit operationally representing the distribution. 2. 2.)
Transform the singular values of the corresponding matrix according to a desired function. 3. 3.)
Apply the resulting map to the purification of the distribution, or another suitable state. 4. 4.)
Estimate the amplitude of the flagged output state and conclude.
The above general scheme describes our approach to the problems we discuss in this paper. Sometimes it is useful to divide the probabilities / singular values into bins, and fine-tune the algorithm by using the approximate knowledge of the size of the singular values. This divide-and-conquer strategy is at the core of our improved robust -closeness tester of Theorem 14.
1.4 Related works on distributional property testing
Classical algorithms.
Many distributional property testing problems fall into the category of closeness testing, where we are given the ability to take independent samples from two unknown distributions and with cardinality , and the goal is to determine whether they are the same versus significantly different. For -closeness testing, which is about testing whether or , Batu et al. (2013) first gave a sublinear algorithm using samples to and . The follow-up work by Chan et al. (2014) determined the optimal sample complexity as ; the same paper also gave a tight bound for -closeness testing.
Besides closeness testing, a similar problem is identity testing where one of the distributions, say , is known and we are given independent samples from the other distribution . For identity testing, it is known that the sample complexity can be smaller than that of -closeness testing, which was proved by Batu et al. (2001) to be and then Paninski (2008) gave the tight bound . More recently, Diakonikolas and Kane (2016) proposed a modular reduction-based approach for distributional property testing problems, which recovered all closeness and identity testing results above. Furthermore, they also studied independence testing, i.e., whether a distribution on () is a product distribution or at least -far in -distance from any product distribution, and determined the optimal bound .
Apart from the relationship between distributions, properties of a single distribution also have been extensively studied. One of the most important properties is Shannon entropy (Shannon (1948)) because it measures for example compressibility. The sample complexity of estimating within additive error has been intensively studied (Batu et al. (2005), Paninski (2003, 2004)); in particular, Valiant and Valiant (2011a, b) gave an explicit algorithm for entropy estimation using samples when and ; for the general case Jiao et al. (2015) and Wu and Yang (2016) gave the optimal estimator with samples.
Quantum algorithms.
The first paper on distributional property testing by quantum algorithms was by Bravyi et al. (2011), which considered classical distributions with discrete quantum query-access (see Definition 3); it gives a quantum query complexity upper bound for -closeness testing and for identity testing to the uniform distribution on . Subsequently, Chakraborty et al. (2010) gave an algorithm for identity testing (to an arbitrary known distribution) with queries, and Montanaro (2015) improved the -dependence of -closeness testing to . More recently, Li and Wu (2018) studied entropy estimation under this model, and gave a quantum algorithm for Shannon entropy estimation with queries and also sublinear quantum algorithms for estimating Rényi entropies (Rényi (1961)).
Another type of quantum property testing results (O’Donnell and Wright (2015, 2016, 2017), Bădescu et al. (2017), Acharya et al. (2017b)) concern density matrices, where the -distance becomes the trace distance and the Shannon entropy becomes the von Neumann entropy. To be more specific, for -dimensional density matrices, the number of samples needed for and -closeness testing are and (Bădescu et al. (2017)), respectively. In addition Acharya et al. (2017b) gave upper and lower bounds for estimating the von Neumann entropy of an -dimensional density matrix with accuracy .
1.5 Organization of the paper
The rest of the paper is organized as follows. In Section 2 we introduce two important quantum algorithmic techniques, amplitude estimation and singular value transformation. We give entropy estimators of classical and quantum distributions in Section 3. In Section 4 we give an (essentially) optimal quantum algorithm for robustly testing -closeness of classical distributions, and another efficient robust -closeness tester for quantum distributions. Proof details of projected encodings, polynomial approximations for singular value transformation, and corollaries about -closeness and independence testing are deferred to Appendix A, B, and C respectively.
2 Preliminaries
2.1 Amplitude estimation
Classically, given i.i.d. samples of a Bernoulli random variable with , it takes samples to estimate within with high success probability. Quantumly, if we are given a unitary such that
[TABLE]
then if measure the output state, we get [math] in the first register with probability . Given access to we can estimate the value of quadratically more efficiently than what is possible by sampling:
Theorem 8**.**
*(Brassard et al., 2002, Theorem 12)** Given satisfying (3), the amplitude estimation algorithm outputs such that and*
[TABLE]
with success probability at least , using calls to and .
In particular, if we take in (4), we have
[TABLE]
Therefore, using only implementations of and , we could get an -additive approximation of with success probability at least , which is a quadratic speed-up compared to the classical sample complexity . The success probability can be boosted to by executing the algorithm for times and taking the median of the estimates.
2.2 Quantum singular value transformation
Singular value decomposition (SVD) is one of the most important tools in linear algebra, generalizing eigen-decomposition of Hermitian matrices. Recently, Gilyén et al. (2018) proposed quantum singular value transformation which turns our to be very useful for property testing. Mathematically, it is defined as follows:
Definition 9** (Singular value transformation).**
Let be an even or odd function. Let have the following singular value decomposition
[TABLE]
where . For the function we define the singular value transformation on as
[TABLE]
Quantum singular value transformation by real polynomials can be efficiently implemented on a quantum computer as follows:
Theorem 10**.**
*(Gilyén et al., 2018, Corollary 18)** Let be a finite-dimensional Hilbert space and let be linear operators on such that is a unitary, and are orthogonal projectors. Suppose that is a degree- polynomial such that*
- •
* only if , and*
- •
for all .
Then there exist , such that
[TABLE]
where .555This is the mathematical form for odd ; even is defined similarly.
Thus for an even or odd polynomial of degree , we can apply singular value transformation of the matrix with uses of , and the same number of controlled reflections .
To apply singular value transformation corresponding to our problems, we need low-degree polynomial approximations to the following functions, which we construct in Appendix B.
Lemma 11**.**
(Polynomial approximations)* Let , and . There exists polynomials such that*
- •
, and ,
- •
, and ,
- •
, and ,
moreover , , and .
3 Entropy estimation
3.1 Classical distributions with purified quantum query-access
Recall that we introduced purified quantum query-access in Definition 2. In particular, for a classical distribution on , we are given a unitary acting on such that
[TABLE]
We use and to estimate the Shannon entropy :
Theorem 12**.**
For any , we can estimate with accuracy with success probability at least using calls to and .
Proof.
The general idea is to first construct a unitary matrix with singular values . We use the construction of Eq. (1) and apply singular value transformation (Theorem 10) by a polynomial constructed in Corollary 11, setting and for . Notice that this satisfies
[TABLE]
provided that . Note that the polynomial satisfies both conditions in Theorem 10. Applying the singular value transformed version of the operator (1) to the state results in
[TABLE]
Preparing costs uses of and and the same number of controlled reflections through . Furthermore, Eq. (15) implies that for all such that ,
[TABLE]
For all such that , we have
[TABLE]
where the first inequality comes from the fact that for all , the second inequality comes from the monotonicity of on , and the third inequality comes from (6). As a result of (5), (8), and (9), we have
[TABLE]
Therefore, . By Theorem 8, we can use applications of the unitaries (and their inverses) that implement and to estimate within additive error . In total, this estimates within additive error with success probability at least . The total complexity of the algorithm is
[TABLE]
3.2 Density matrices with purified quantum query-access
For a density matrix , we also assume the purified quantum query-access in Definition 2, i.e., a unitary oracle acting as . We use and to estimate the von-Neumann entropy :
Theorem 13**.**
For any , we can estimate with accuracy with success probability at least using calls to and .
Proof.
We use the construction of Eq. (2). The proof is essentially the same as that of Theorem 12 proceeding by constructing singular value transformation via Theorem 10, with the only difference that all probabilities are rescaled by a factor of in (2); as a result, the number of calls to and is blown up to . ∎
4 Robust testers for -closeness with purified query-access
First we give an -closeness tester for unknown classical distributions .
Theorem 14**.**
Given purified quantum query-access for classical distributions as in Definition 2, for any the quantum query complexity of distinguishing the cases and with success probability at least is .
Proof.
The main idea is to first bin the elements based on the approximate value of , then apply fine-tuned algorithms exploiting the knowledge of the approximate value of .
Using amplitude estimation for any we can construct an algorithm that for any input with outputs “greater” with probability at least , and for any with outputs “smaller” and uses queries to and . Using repetitions we can boost the success probability to . Since our algorithm only needs to succeed with constant probability, and will use these subroutines at most times, we can ignore the small failure probability. Therefore in the rest of the proof we assume without loss of generality, that that solves perfectly the above question with (query) complexity .
For any with , Algorithm 1 outputs a such that . However, note that this labeling is probabilistic; let us denote by the probability that is labeled by . Observe that unless . Now let us express in terms of this “soft-selection” function .
[TABLE]
where the bound on follows from the observation that
[TABLE]
If for all we have a -precise estimate of
[TABLE]
then we get a -precise estimate of . In particular setting , this solves the robust testing problem, since if then , on the other hand if then .
Now we describe how to construct a quantum algorithm that sets the first output qubit to with probability (11). Start with preparing a purification of the distribution of , then set the label of to with probability using Algorithm 1 terminating it after using . Then separately apply the maps and to the state.
Note that we do not need to apply the above transformations exactly, it is enough if apply them with precision say . We analyze the complexity of (approximately) implementing the above sketched algorithm. To implement the map , we use the unitary of Eq. (1), and transform the singular values by the polynomial from Corollary 11 using Theorem 10. In order to implement the map , we again use the unitary of Eq. (1), but now separately for and . We amplify both the singular values and by a factor using the polynomial from Corollary 11 in Theorem 10. Then we create a bolck-encoding666If we have a projected unitary encoding of with we can immediately turn it into a block-encoding of , by e.g. applying Theorem 10 with the polynomial . of both and and and then combine them to get a block-encoding of . In both cases the query complexity of -precisely implementing the transformations is . Since computing the label also costs , this is the overall complexity so far. Finally we estimate the probability of the first qubit being set to with setting in Theorem 8, and boost the success probability to with repetitions. Thus for any the overall complexity of estimating Eq. (11) with sufficient precision has (query) complexity . Therefore estimating to precision with high probability has (query) complexity
[TABLE]
It is easy to see an lower bound on the above problem even in the strongest quantum pure state input model Definition 4. Indeed, consider the case (the uniform distribution on ) and we want to test whether or . This is equivalent to test whether or ; due to the optimality of amplitude estimation in Theorem 8, this task requires quantum queries to the unitary preparing the state .
Now we prove the following result on (robust) -closeness testing for quantum distributions:
Theorem 15**.**
Given and two density operators with purified quantum query-access to and as in Definition 2, it takes queries to to decide whether or , with success probability at least .
Proof.
We can combine the block-encodings of and to apply the map to the maximally entangled state , which gives
[TABLE]
The probability of measuring the ancilla state is
[TABLE]
Thus it suffices to apply amplitude estimation with calls to .
On the other hand, we can estimate by observing that . Since the success probability of the SWAP test (Buhrman et al. (2001)) on input states is , we can individually estimate the latter quantities with precision using amplitude estimation (Theorem 8) with queries to . As a result, we could decide whether or using queries.
The result of Theorem 15 hence follows by taking the minimum of the two complexities. ∎
5 Future work and open questions
Our paper raises a couple of natural open questions for future work. For example:
- •
Can we prove quantum lower bounds that match our upper bounds? For instance, can we prove an lower bound on estimating the von Neumann entropy in the purified quantum query-access model for density operators? Is there a lower bound technique which naturally fits our purified quantum query input model?
- •
For which other distributional property testing problems can we get speed-ups using the presented methodology?
Acknowledgments
A.G. thanks Ronald de Wolf, Ignacio Cirac and Yimin Ge for useful discussion.
Appendix A Projected unitary encodings used for singular value transformation
First we handle the case of classical distributions. Let be a purified quantum oracle of a classical distribution as in Definition 2, and let , also let , , then
[TABLE]
Now we turn to quantum distributions where we do not know the diagonalizing basis of the density operator . Let be a purified quantum oracle of a quantum distribution as in Definition 2, and a unitary, mapping . Let , and as above, then
[TABLE]
where is the Schmidt decomposition of the maximally entangled state under the basis .
Appendix B Polynomial approximations for singular value transformation
We use the following result based on local Taylor series:
Lemma 16**.**
*(Gilyén et al., 2018, Corollary 66)** Let , , and let and be such that for all . Suppose is such that . Let , then there is an efficiently computable polynomial of degree such that777For a function , and an interval , we define .*
[TABLE]
We can use the above result to construct the following useful polynomial approximations.
See 11
Proof.
For the construction of the and polynomials see Corollary 67 and Theorem 30 of Gilyén et al. (2018), respectively. It remains to construct the polynomial above.
Denote ; by taking , , , , and in Corollary 16, we have a polynomial of degree such that
[TABLE]
Note that is valid because the local Taylor series of at is , and as a result we could take
[TABLE]
However, is not an even polynomial in general; we instead take for all . Then by (12) and (14) we have
[TABLE]
Furthermore, is an even polynomial such that ; hence (13) and (14) imply
[TABLE]
given . (Finally we can take the real part of if it has some complex coefficients.) ∎
Appendix C Corollaries of our -closeness testing results
C.1 -closeness testing with purified query-access
Corollary 17**.**
Given and two distributions on the domain with purified quantum query-access via and as in Definition 2, it takes queries to to decide whether or with success probability at least . Similarly for density operators with purified quantum query-access via and , it takes queries to to decide whether or with success probability at least .
Proof.
By the Cauchy-Schwartz inequality we have , therefore Theorem 14 implies our claim by taking therein. Similarly, Theorem 15 implies our claim for quantum distributions and . ∎
C.2 Independence testing with purified query-access
Corollary 18**.**
Given and a classical distribution on with the purified quantum query-access via as in Definition 2, it takes queries to to decide whether is a product distribution on or is -far in -norm from any product distribution on with success probability at least .
Proof.
We define to be the margin of on the first marginal space, i.e., for all . We similarly define to be the margin of on the second marginal space, i.e., for all . Assume the quantum oracle from Definition 2 acts as
[TABLE]
if we denote for all and for all , then we have
[TABLE]
As a result,
[TABLE]
in other words, one purified quantum query to the distribution can be implemented by two queries to .
If is a product distribution on , then ; if is -far in -norm from any product distribution on , then . Therefore, the problem of independence testing reduces to -closeness testing for distributions on , and hence Corollary 18 follows from Corollary 17. ∎
Similarly, Corollary 17 implies that the quantum query complexity of testing independence of quantum distributions is .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Acharya et al. (2017 a) Jayadev Acharya, Hirakendu Das, Alon Orlitsky, and Ananda Theertha Suresh. A unified maximum likelihood approach for estimating symmetric properties of discrete distributions. In Proceedings of the 34th International Conference on Machine Learning (ICML) , pages 11–21, 2017 a. URL http://proceedings.mlr.press/v 70/acharya 17a.html . ar Xiv: 1611.02960
- 2Acharya et al. (2017 b) Jayadev Acharya, Ibrahim Issa, Nirmal V. Shende, and Aaron B. Wagner. Measuring quantum entropy. ar Xiv: 1711.00814 , 2017 b.
- 3Arunachalam and de Wolf (2017) Srinivasan Arunachalam and Ronald de Wolf. Optimal quantum sample complexity of learning algorithms. In Proceedings of the 32nd IEEE Conference on Computational Complexity (CCC) , pages 25:1--25:31, 2017. doi: 10.4230/LIP Ics.CCC.2017.25 . ar Xiv: 1607.00932 · doi ↗
- 4Arunachalam et al. (2018) Srinivasan Arunachalam, Sourav Chakraborty, Troy Lee, and Ronald de Wolf. Two new results about quantum exact learnings. ar Xiv: 1810.00481 , 2018.
- 5Bădescu et al. (2017) Costin Bădescu, Ryan O’Donnell, and John Wright. Quantum state certification. ar Xiv: 1708.06002 , 2017.
- 6Batu et al. (2001) Tuğkan Batu, Eldar Fischer, Lance Fortnow, Ravi Kumar, Ronitt Rubinfeld, and Patrick White. Testing random variables for independence and identity. In Proceedings of the 42nd IEEE Symposium on Foundations of Computer Science (FOCS) , pages 442--451, 2001. doi: 10.1109/SFCS.2001.959920 . · doi ↗
- 7Batu et al. (2005) Tuğkan Batu, Sanjoy Dasgupta, Ravi Kumar, and Ronitt Rubinfeld. The complexity of approximating the entropy. SIAM Journal on Computing , 35(1):132--150, 2005. doi: 10.1145/509907.510005 . · doi ↗
- 8Batu et al. (2013) Tuğkan Batu, Lance Fortnow, Ronitt Rubinfeld, Warren D Smith, and Patrick White. Testing closeness of discrete distributions. Journal of the ACM , 60(1):4, 2013. doi: 10.1145/2432622.2432626 . ar Xiv: 1009.5397 · doi ↗
