Computational Complexity of Learning Efficiently Generatable Pure States
Abstract
Understanding the computational complexity of learning efficient classical programs in various learning models has been a fundamental and important question in classical computational learning theory. In this work, we study the computational complexity of quantum state learning, which can be seen as a quantum generalization of distributional learning introduced by Kearns et.al [STOC94]. Previous works by Chung and Lin [TQC21], and Bădescu and O’Donnell [STOC21] study the sample complexity of the quantum state learning and show that polynomial copies are sufficient if unknown quantum states are promised efficiently generatable. However, their algorithms are inefficient, and the computational complexity of this learning problem remains unresolved.
In this work, we study the computational complexity of quantum state learning when the states are promised to be efficiently generatable. We show that if unknown quantum states are promised to be pure states and efficiently generateable, then there exists a quantum polynomial time algorithm and a language such that can learn its classical description. We also observe the connection between the hardness of learning quantum states and quantum cryptography. We show that the existence of one-way state generators with pure state outputs is equivalent to the average-case hardness of learning pure states. Additionally, we show that the existence of EFI implies the average-case hardness of learning mixed states.
1 Introduction
Since Valiant [Val84] formalized the notion of PAC learning, understanding the computational complexity of learning efficient classical programs in various learning models has been a fundamental and important question in classical computational learning theory. It is shown that we can learn arbitrary efficient classical programs in the PAC learning model if we can solve an arbitrary problem in [BEHW87, BP92, Sch90]. The hardness of learning efficient classical programs in the proper PAC learning model is also shown [PV88]. While showing the hardness of improper PAC learning has been an open question, several works [DLSS14, DSS16, Vad17, DV21] show its hardness assuming the specific average-case hardness assumptions of (See also [HN22, Hir22]). Understanding the computational complexity of learning efficient classical programs is also crucial for constructing classical cryptographic primitives. In fact, it is known that the existence of fundamental classical cryptographic primitives such as one-way functions (OWFs) is equivalent to the average-case hardness of learning efficient classical programs in the various learning models [IL90, BFKL94, NR06, OS17, NE19, HN23]. Furthermore, it has been shown that assuming the hardness of specific classical learning problems, such as the Learning with Errors (LWE) problem, various useful classical cryptographic protocols can be constructed [Reg09]. Given the importance of understanding the computational complexity of learning efficient classical programs, it is an interesting direction to study computational complexity of learning efficient quantum processes in the various learning models.
In this work, we study the computational complexity of quantum state learning, which can be seen as a quantum generalization of distributional learning introduced by [KMR+94]. In quantum state learning, a learner is given many copies of an unknown quantum state which is promised within some family of quantum states, and the task is to find a hypothetical quantum circuit whose output is close to the given unknown quantum state. When there is no promise on the input states, it is known that an exponential number of copies relative to the number of qubits is required [OW16, HHJ+16]. On the other hand, because many quantum states of interest can be efficiently generated, it is natural to ask the sample and computational complexities of quantum state learning with the promise that an unknown quantum state is efficiently generatable. In previous works, Chung and Lin [CL21], and Bǎdescu and O’Donell [BO21] independently showed that polynomial copies are sufficient when an unknown quantum state is promised to be efficiently generatable. However, their algorithms are not time-efficient, and it is natural to ask the computational complexity of the learning task.
Currently, it is known that if there exist pseudorandom state generators (PRSGs) [JLS18], then there exist pure states that can be generated by quantum polynomial-time algorithms, but hard to learn its description [ZLK+23, CLS24]. This implies that it seems difficult to learn arbitrary quantum states generated by quantum polynomial-time algorithms even if we can query oracle because it is known that PRSGs exist relative to an oracle such that [Kre21]. On the other hand, we do not know whether a QPT algorithm can learn quantum states generated by quantum polynomial-time algorithms even if the algorithm can query oracle. In particular, in quantum state learning, instances are themselves quantum states, and hence it is unclear how to reduce quantum state learning to traditional classical languages, where instances are represented by classical strings. Therefore, we believe that the following is an interesting open question:
Which oracle does help us to learn quantum states generated by an arbitrary quantum polynomial-time algorithm?
We also ask connection between quantum state learning and quantum cryptography. In the classical case, there exists an equivalence between the average-case hardness of learning in the various learning models and the existence of cryptography [IL90, BFKL94, NR06, OS17, NE19, HN23]. For example, it is known that the average-case hardness of distirutional learning is equivalent to the existence of OWFs [HN23]. It is natural to wonder whether a similar relationship holds in the quantum case. Therefore, we ask
Is the average-case hardness of learning quantum states equivalent to the existence of quantum cryptographic primitives?
1.1 Our Results
In this work, we study two questions above. Our contributions are summarized as follows.
Types of Problem | Computational Complexity | |
---|---|---|
Upper Bound | Lower Bound | |
Learning Pure States generated in Polynomial Time | (Theorem 4.1) | OWSGs with Pure State Outputs |
Average-Case Learning Pure States generated in Polynomial Time | OWSGs with Pure State Outputs (Theorem 5.1) | OWSGs with Pure State Outputs (Theorem 5.1) |
Learning Mixed State generated in Polynomial Time | N/A | EFI (Theorem 5.3) |
-
•
In column "Computational Complexity", the upper bound means that the learning tasks can be achieved with the listed class of algorithms, and the lower bound means that the listed class of algorithms is necessary to achieve the learning task. stands for QPT algorithm with PP oracle, OWSGs with pure state outputs stand for QPT algorithm which can query an algorithm that breaks any OWSGs with pure state outputs, and EFI stands for QPT algorithm which can query an algorithm that breaks any EFI.
-
1.
In Section 3, we formally define a quantum state learning model, which can be seen as a quantum generalization of the distributional learning model [KMR+94]. The distributional learning model can be categorized into two flavors: proper distributional learning and improper distributional learning. In this work, we focus on the proper one and generalize it to a quantum setting. In our proper quantum state learning model, as a setup, a learner is given a description of quantum polynomial-time algorithm , which takes as input and and outputs a quantum state . Then, it receives polynomially many copies of generated by . We say that the leaner can properly learn if, for all , and , it can find such that with probability at least , where 111 The other possible learning model is improper quantum state learning. In the improper quantum state learning model, a learner’s task is to find an arbitrary quantum algorithm whose output is close to instead of finding such that is close to . Remark that if we can properly learn , then we can also improperly learn . On the other hand, the other direction may not hold. .
-
2.
In Section 4, we show that, for all quantum polynomial-time algorithms with pure state outputs, there exists a quantum polynomial-time algorithm and a language such that can properly learn given -copies of with unknown 222Our QPT algorithm with oracle can be applied to improper learning.. This implies that, if a novel algorithm is found to solve any problems, then it will be useful to learn arbitrary pure states generated by any QPT algorithms. Let us stress that our learning algorithm with oracle cannot be applied to learning mixed state generated by any QPT algorithms.
-
3.
In Section 5, we study the connection between quantum state learning and quantum cryptography. We observe that the average-case hardness of learning pure states in quantum state learning model is equivalent to the existence of one-way state generators (OWSGs) with pure state outputs [MY22b]. In OWSGs with pure state outputs, the adversary receives many copies of , where is randomly sampled and is prepared by some QPT algorithm . What the adversary needs to do is to find such that the measurement on yields with high probability. This is very similar to what the learner needs to do in our learning model. We observe that we can break arbitrary OWSGs with pure state outputs if and only if we can learn pure states in the average-case version of our learning model. Intuitively, in average-case learning, the learner needs to find such that is close to for a large fraction of instead of for all . Therefore, the learning requirement is relaxed compared to worst-case learning.
We also observe that the existence of EFI [Yan22, BCQ23] implies that there are mixed states generated by quantum polynomial-time algorithms, which is hard to properly learn. Because [LMW24] conjectured that EFI may exist relative to a random oracle and any classical oracle, our observation implies that any classical oracles seem not help to properly learn arbitrary mixed states generated by quantum polynomial-time algorithms 333Remark that the argument cannot be applied to the hardness of improperly mixed state learning, and thus there exists the possibility that we can improperly learn mixed states by querying classical oracles.. Therefore, this implies that QPT algorithms with classical oracles do not seem applicable to learning any efficiently generatable mixed states.
The upper and lower bounds of the computational complexity of the quantum state learning problem are summarized in the Table 1.
1.2 Technical Overview
In this section, we explain how a quantum polynomial-time algorithm with -oracle can learn pure states generated by a quantum polynomial-time algorithm.
Our Learning Algorithm.
Our technical contribution is, given oracle, showing how to efficiently implement Chung and Lin’s algorithm (Given in Section4 in [CL21]). First, let us briefly recall their strategy in our language.
- Description of CL algorithm :
-
-
1.
As a setup, receives a quantum algorithm that takes and outputs .
-
2.
receives with sufficiently large and an unknown .
-
3.
For all , measures with Haar random POVM measurements , and obtains . Note that this process is possibly inefficient. Let be a quantum algorithm that takes , generates , measure it with , and outputs the measurement outcome.
-
4.
outputs such that
(1) Note that this step is possibly inefficient.
-
1.
Let us explain an intuitive reason why this algorithm works. First, it is known that Haar random measurements do not decrease the trace distance between quantum states if measured states are pure states [Sen06]. From this property, the measurements in the third step of does not decrease the trace distance between quantum states. In other words, there is a constant such that, for all ,
(2) |
This implies that, for finding such that is small, it is sufficient to find a , such that is small, given polynomially many copies of . In the fourth step, finds a maximum-likelihood such that is most likely to output . It is natural to expect that a maximum-likelihood algorithm seems to approximate well with high probability. [CL21] shows that if , then we have with probability , where the probability is taken over .
Although their algorithm learns pure states, their algorithm does not work efficiently. The first bottleneck is the third step of . In the third step, needs Haar random measurements, which is hard to implement. Fortunately, it is shown that we have the same property if we implement -design measurements instead of Haar random measurements [AE07]. Therefore, we can efficiently implement the third step by running -design measurements instead of Haar random measurements. The second bottleneck is the fourth step of . In the fourth step, given , needs to find a maximum-likelihood such that
(3) |
which we currently do not know how to implement efficiently. In our work, we show that we can achieve an approximated version of the task by querying oracle. More precisely, we show that for arbitrary quantum polynomial-time algorithms with classical inputs and classical outputs, there exists a language and an oracle-aided PPT algorithm that can find an approximated maximum-likelihood such that
(4) |
where is arbitrary polynomial.
A subtle but important point is that an “approximated” maximum-likelihood algorithm might not statistically approximate even if we take sufficiently large. Actually, we do not know how to prove an approximated maximum-likelihood algorithm approximates for sufficiently large . To overcome the issue, inspired by [AW92], we slightly modify the learning algorithm as follows. In a modified learning algorithm , instead of , considers a quantum algorithm , where takes as input , and outputs the output of with probability , and outputs a uniformly random string with probability . Given many copies of , measures with Haar random measurement and sets the measurement outcome as with probability , and uniform random string as with probability . outputs such that
(5) |
This modification makes it possible to prove that for sufficiently large , is small with high probability. Furthermore, we have
(6) |
This means that statistically approximates . Therefore, the remaining part is showing how to find an approximated maximum-likelihood algorithm given oracle.
Probabilistic Polynomial-Time Algorithm with PP oracle for Quantum Maximum-Likelihood Problem.
In the rest of the section, we explain how to solve the following quantum maximum-likelihood problem using oracle.
- Quantum Maximum-Likelihood Problem (QMLH).
-
-
Input:
A classical string and a quantum algorithm , which takes as input and a classical string , and outputs a classical string . (In the following, we often omit of .)
-
Output:
Output such that
(7)
-
Input:
As explained later, a PPT algorithm with oracle can exactly simulate an arbitrary probability distribution generated by a quantum polynomial-time algorithm even if it does post-selection. Therefore, it is sufficient to construct a quantum algorithm with post-selection, which solves the quantum maximum likelihood problem. Let us explain how works.
-
1.
For sufficiently large , generates the following quantum state
(8) (9) Here, we write to mean a quantum state generated by a quantum algorithm before measuring the state with the computational basis, where the register corresponds to the outcome register and the register corresponds to the auxiliary register.
-
2.
It post-selects all of registers to . Let be the post-selected quantum state.
-
3.
It measures the register of in the computational basis, and outputs the measurement outcome .
From the construction of , satisfies
(10) |
Therefore, it is natural to expect that, if we measure the register of , then, we obtain a measurement outcome such that is high. We can prove the intuition by taking sufficiently large as follows. If is not a good answer for the quantum maximum likelihood problem (i.e. ), then
(11) |
This implies that
(12) |
Therefore, by taking sufficiently large, outputs such that
(13) |
with high probability.
Although solves the quantum maximum likelihood problem with high probability, it is possibly inefficient since it does post-selection. In the following, we explain how a PPT algorithm with oracle exactly simulates the probability distribution of . As shown in [FR99], even a deterministic polynomial time algorithm with oracle can compute for an arbitrary QPT algorithm and a classical string . Our PPT algorithm simulates by using as follows:
-
•
For each , sequentially works as follows:
-
1.
For each , it computes the probability and . Here,
(14) where is the register in the first -bits of . Note that, in this step, uses given in [FR99].
-
2.
Set with probability
(15)
-
1.
-
•
Output .
From the construction of , we have
(16) |
for all . From the definition, is exactly equal to the probability that outputs . This means that the output distribution of is equivalent to that of .
1.3 More on Related works
On Quantum Cryptography.
Ji, Liu, and Song [JLS18] introduce a notion of PRSGs, and show that it can be constructed from OWFs. Kretchmer [Kre21] shows that PRSGs exist relative to an oracle such that , and that PRSGs does not exist if its adversary can query oracle. The subsequent works [ZLK+23, CLS24] observe that the existence of PRSGs implies that there exists a quantum state, which can be generated by quantum algorithms but hard to learn. Morimae and Yamakawa [MY22b] introduce the notion of OWSGs, and show how to construct them from PRSGs. In their original definition of OWSGs, the output quantum states are restricted to pure states, and its definition is generalized to mixed states by [MY22a]. In this work, we focus on the original pure-state version. Based on [KT24], Cavalar et. al. [CGG+23] shows that OWSGs with pure state outputs can be broken if its adversary can query oracle. As pointed out in our work, the existence of OWSGs with pure state outputs is equivalent to the average-case hardness of learning pure states generated by a quantum polynomial-time algorithm. Therefore, to rephrase their results in terms of learning, a quantum polynomial-time algorithm with oracle can learn an arbitrary pure state generated by quantum polynomial-time algorithms in the average sense. Remark that their algorithm works only for average-case learning, and it is unclear whether their QPT algorithm with PP oracle can learn pure states in the worst-case sense.
Brakerski, Canetti, and Qian [BCQ23] introduce the notion of EFI. (See also [Yan22]). It is shown that the existence of EFI is equivalent to that of quantum bit commitments, oblivious transfer, and multi-party computation [GLSV21, BCKM21, Yan22, BCQ23]. It is conjectured that EFI may exist relative to a random oracle and any classical oracle [LMW24].
On Classical Learning Theory.
Valiant [Val84] introduced the PAC (probabilistically approximately correct) learning model to capture the notion of computationally efficient learning. It is shown that PAC learning is equivalent to Occam learning [BEHW87, BP92, Sch90], which can be formulated as a search problem in NP. Inspired by Valiant’s formalization, Kearns et. al. [KMR+94] formalizes a distributional learning model. Note that our quantum state learning model can be seen as a quantum generalization of the distributional learning model. It is shown that a polynomial time learnability of a class of probabilistic automata with respect to Kullback–Leibler divergence is equivalent to that of the maximum likelihood problem for the same class [AW92].
Valiant observed that the existence of pseudorandom functions, which is equivalent to the existence of OWFs [GGM86, HILL99], implies the hardness of learning for P/poly in the PAC model [Val84]. Impagliazzo and Levin [IL90] initiate the study of the reverse direction, i.e. from the average-case hardness of learning to cryptography. Subsequent work [BFKL94, NR06, OS17, NE19, HN23] studies how to construct cryptographic primitives from the average-case hardness of learning in more general learning models. Among them, our result (i.e. the equivalence between OWSGs and average-case hardness of learning pure states) can be seen as a quantum analog of [HN23] in the following sense. In one of their results, they show the equivalence between the existence of OWFs and the average-case hardness of distributional learning [KMR+94]. In our work, we observe that the existence of OWSGs with pure state outputs is equivalent to the average case hardness of learning pure states.
More on Quantum Learning.
In quantum state tomography, a learner is given many independent copies of an unknown -qubit quantum state , and outputs a classical description such that . It is known that a learner needs -copies if there is no promise on the unknown quantum state [OW16, HHJ+16]. Given the negative results, a natural question is which subclass of quantum states can be learned using only polynomially many copies of unknown quantum states. [CL21, BO21] shows that if given quantum states are promised contained in some restricted families of quantum states, then a learner can find such that with probability given only -many copies of . This means that all quantum states generated by quantum polynomial-time algorithms can be learned in a sample-efficient way.
Beyond sample efficiency, these lines of work ([Mon17, GIKL23a, GIKL23b, HLB+24]) study which subclass of quantum states can be learned in polynomial-time. It is shown that stabilizer quantum circuits can be learned in a time-efficient way [Mon17]. Grewal, Iyer, Kretschmer, and Liang [GIKL23a, GIKL23b] generalize their results and show that low-rank stabilizer pure states can be learned in a time-efficient way. Huang, Liu, Broughton, Kim, Anshu, Landau, and McClean [HLB+24] show that a family of pure states generated by geometrically local shallow quantum circuits can be learned in a time-efficient way. Compared to their unconditional results, although our learning algorithm needs to query oracle, our learning algorithm can learn a classical description of arbitrary efficiently generatable pure states.
These lines of work ([Aar07, CHY16, Roc18, ACH+19, GL22, CHL+22, BJ95, AS07, AdW17, GKZ19, SSG23, CL21, Aar18, HKP20, BO21]) study how to learn quantum processes in other learning models. Aaronson [Aar07] considers one of quantum generalization of the PAC learning model [Val84], and the subsequent works [Roc18, ACH+19, GL22, CHL+22] study the learning model. In their model, a learner is given examples , where is an unknown quantum state and is a POVM operator sampled according to some distribution , to output a quantum state such that for small and . Bshouty and Jackson [BJ95] consider another quantum generalization of the PAC learning model. Roughly speaking, the model is the same as standard Valiant’s PAC model except that the learner can receive instead of , where is sampled according to the distribution . The subsequent works [AS07, AdW17, GKZ19, SSG23] study the learning model. Aaronson introduces another learning model called shadow tomography [Aar18]. In the model, a learner is given many copies of , and POVM operators . The learner needs to estimate up to additive error . The subsequent works [HKP20, BO21] also study the model.
1.4 Future Directions
We raise several open questions that remain to be explored. Below, we highlight the following two questions.
Show the hardness of properly learning pure states.
We show that oracle helps to properly learn pure states generated by quantum polynomial time algorithms. We leave the reverse direction as an open problem. In other words, can we decide any language in efficiently assuming that we can properly learn arbitrary pure states generated by quantum polynomial-time algorithms?
Remark that in the classical learning theory, the hardness of proper PAC learning is characterized by . It is shown that PAC learning can be reduced to Occam learning [BEHW87, BP92, Sch90], which can be formulated as a search problem in . Hence, oracle is sufficient to achieve proper PAC learning for arbitrary classical polynomial time algorithms. On the other hand, it is shown that if we can properly learn arbitrary classical polynomial-time algorithms in the proper PAC model [PV88], then we can decide any language in . Does a similar relationship hold between and proper pure state learning as the relationship between and proper PAC learning?
Characterize the hardness of learning mixed states.
In this work, we observe that the existence of EFI implies that there exist mixed states generated by quantum polynomial-time algorithms, which is hard to properly learn. This implies that it is unlikely to reduce proper mixed-state learning to classical language because it is conjectured that any classical oracles do not help to break the security of EFI [LMW24]. Note that the argument cannot be applied to improper mixed-state learning, and there exists the possibility that we can reduce improper mixed-state learning to classical language. We leave as an open problem whether we can reduce improper mixed-state learning to classical language or not. We also leave as an open problem whether we can characterize the hardness of proper mixed-state learning in terms of unitary complexities [RY22, MY23, BEM+23] instead of classical languages.
2 Preliminaries
2.1 Notations
Here, we introduce basic notations we will use in this paper. denotes selecting an element from a finite set uniformly at random, and denotes assigning to the output of a quantum or probabilistic or deterministic algorithm on an input . Let . QPT stands for quantum polynomial time. A function is a negligible function if, for any constant , there exists such that for any , . We write to denote being a negligible function. When we refer to polynomials, we mean functions , where there exists a constant such that for all , it holds that .
For simplicity, we often write to mean . For any two quantum states and , is the fidelity between them, and is the trace distance between them.
Sampleable Distribution.
We say that a family of distributions is efficiently sampleable distribution if there exists a uniform QPT algorithm such that, for each , the distribution of is statistically identical to .
Definition 2.1 (Kullback–Leibler Divergence).
Let and be a distribution over .
(17) |
2.2 Quantum Cryptographic Primitives
In this section, we introduce quantum cryptographic primitives, which we will use in this work. Note that throughout this work, as adversaries, we consider uniform QPT algorithms instead of non-uniform QPT algorithms.
One-Way State Generators (OWSGs)
Definition 2.2 (OWSGs with Pure State Outputs [MY22b]).
A one-way state generator with pure state outputs is a set of uniform QPT algorithms such that:
-
:
It takes a security parameter , and outputs a classical string .
-
:
It takes a security parameter and , and outputs a pure quantum state .
Security.
We consider the following security experiment .
-
1.
The challenger samples .
-
2.
can receive arbitrary polynomially many copies of .
-
3.
outputs .
-
4.
The challenger measures with .
-
5.
The experiment outputs if the result is , and otherwise.
We say that an OWSG with pure state outputs satisfies security if, for any uniform QPT adversaries ,
(18) |
Remark 2.3.
We sometimes omit the security parameter of when it is clear from the context.
Definition 2.4 (Secretly-Verifiable Statistically-Invertible OWSGs (SV-SI-OWSG) [MY22a]).
A SV-SI-OWSG is a set of uniform QPT algorithms such that:
- :
-
It takes a security parameter , and outputs a classical string .
- :
-
It takes a security parameter and , and outputs .
Statistically Invertibility:
For any with ,
(19) |
Computational Non-Invertibility:
For any uniform QPT adversaries and any polynomials ,
(20) |
Note that [MY22a] shows that the existence of EFI is equivalent to that of SV-SI-OWSG.
3 Model of Quantum State Learning
Definition 3.1 (Quantum State Learnability).
Let be a quantum algorithm that takes with , , and outputs a -qubit quantum state . We say that an algorithm can learn if, for all polynomials and , there exists a polynomial such that for all , we have
(25) |
for all sufficiently large .
Remark 3.2.
Throughout this work, we consider proper quantum state learning, where the learner’s output is promised within . The other variant of quantum state learning model is an improper one, where the learner’s task is not to output such that approximates , but output arbitrary polynomial-size quantum circuits , whose output approximates . Note that if we can properly learn , then we can improperly learn . On the other hand, the other direction does not follow in general.
In this work, we also consider the average-case hardness of quantum state learning, which is defined as follows:
Definition 3.3 (Average-Case Hardness of Quantum State Learning).
Let be a quantum algorithm that takes with , , and outputs a -qubit quantum state . We say that is hard on average if there exists an efficiently sampleable distribution over and polynomials and such that for all polynomials and all QPT algorithms , we have
(31) |
for all sufficiently large .
4 Quantum State Learning Algorithm with Classical Oracle
In this section, we prove the following main theorem.
Theorem 4.1 (Quantum State Learning Algorithm with oracle).
For all quantum polynomial-time algorithms with pure state outputs, there exists a language and an oracle-aided quantum polynomial-time algorithm that can learn in the sense of Definition 3.1.
To prove Theorem 4.1, we use the following Lemmata 4.2, 4.4 and 4.3, and the following Proposition 4.5.
Lemma 4.2 (Algorithm for Quantum Maximum Likelihood Problem).
For all quantum polynomial-time algorithms that takes and as input and outputs a classical string , there exists a language and an oracle-aided PPT algorithm such that for all with and all polynomial and ,
(32) |
for all sufficiently large .
We give the proof of Lemma 4.2 in Section 4.1.
Lemma 4.3 (Random Measurement preserves Distance [AE07]).
There exists constants and such that, for any -qubit mixed states with , we have
(33) |
where is a POVM with respect to an -approximate (4, 4)-design.
Lemma 4.4 (Followed by Hoeffding Inequality).
Let , , and let be a family of function such that for all , where . Let be an arbitrary distribution over . If
(34) |
then, for all , we have
(35) |
with probability greater than , where the probability is taken over .
Proposition 4.5.
When and are pure states,
(36) |
We describe the proof of Theorem 4.1.
Proof of Theorem 4.1.
Let be a language in and given in Lemma 4.2. Let us describe our notations, and our oracle-aided learning algorithm .
- Notations:
-
-
•
Let be a quantum polynomial-time algorithm that takes as input and , and outputs a .
-
•
Let be a quantum polynomial-time algorithm that takes as input and , generates by running , measures with , and obtains the measurement outcome , where is a POVM measurement given in Lemma 4.3. outputs the measurement outcome with probability , and, with probability , outputs a uniformly random .
-
•
Let be a -repetition version of . More formally, it takes as input and , and generates . Then, for each , it measures with , obtains the measurement outcome , and sets with probability and with probability , where is a POVM measurement given in Lemma 4.3. Finally, it outputs .
-
•
Let , where is a constant given in Lemma 4.3.
-
•
Let be a number of copies of , which uses.
-
•
- The description of :
-
-
1.
It takes as input , a quantum polynomial-time algorithm , and , which is generated by with unknown .
-
2.
For all , it measures with the POVM given in Lemma 4.3, obtains a classical string , and sets with probability and with probability .
- 3.
-
1.
Now, we show that
(38) |
with probability , where the probability is taken over and the internal randomness of .
First, for all , the output of satisfies
(39) |
with probability , where the probability is taken over and the internal randomness of . We will prove the inequality above later. Once we have obtained the inequality above, the remaining part straightforwardly follows. First, we have
(40) | |||
(41) |
with probability . Furthermore, from Pinsker’s inequality, we have
(42) |
On the other hand, for all , we have
(43) | |||
(44) | |||
(45) | |||
(46) | |||
(47) |
Hence,
(48) |
Suppose that
(49) |
where is a constant given in Lemma 4.3. Then, for all polynomial , we have
(50) |
for all sufficiently large . On the other hand, if
(51) |
then Lemmata 4.3 and 4.5 imply that
(52) |
Now, we prove the remaining part, that is, for all ,
(53) |
with , where the probability is taken over and the internal randomness of . From the construction of , for all , outputs such that
(54) | |||
(55) |
with probability , where the probability is taken over the internal randomness of . By taking logarithmic and dividing with , we have
(56) |
This implies that for all ,
(57) | |||
(58) | |||
(59) |
with probability , where the probability is taken over the internal randomness . Furthermore, because
(60) |
for all and , we have
(61) |
and
(62) |
with probability , where the probability is taken over . Note that, here, we use Lemma 4.4.
By summing up three inequalities above, we have
(63) |
with probability , where the probability is taken over and the internal randomness of . This implies that
(64) |
with probability , where the probability is taken over and the internal randomness of . ∎
4.1 Algorithm for Quantum Maximum-Likelihood Problem
Lemma 4.6 ([FR99]).
There exists a language and an oracle-aided deterministic polynomial-time algorithm such that the following holds.
(65) |
Here, is a quantum polynomial-time algorithm that takes as input, and outputs .
Proof of Lemma 4.2.
Let and be a deterministic polynomial time algorithm given in Lemma 4.6. We describe our notations and our PPT algorithm .
- Notations:
-
-
•
Let be a QPT algorithm that takes as input and , and outputs . Let be the length of .
-
•
Without loss of generality, we can assume that the QPT algorithm works as follows:
-
1.
It prepares a quantum state
(66) -
2.
It measures the register, and outputs the measurement outcome.
-
1.
-
•
Let so that
(67) -
•
Let be a quantum algorithm with post-selection working as follows:
-
1.
It prepares
(68) (69) measures the in the computational basis, and obtains . Repeat this step until for all . Let be the post-selected quantum state. Note that we have
(70) -
2.
Measure the register and output the measurement outcome .
-
1.
Our oracle aided PPT algorithm simulates by working as follows.
-
•
- Description of :
-
-
•
As an input of , it receives , a QPT algorithm , and a classical string .
-
•
For , sequentially works as follows:
-
–
For each , it computes
(71) Here,
(72) where is the register in the first -bits of . For this procedure, we use the algorithm and given in Lemma 4.6.
-
–
Set with probability
(73)
-
–
-
•
Output .
-
•
From the construction of , we have
(74) |
for all . From the definition, is exactly equal to the probability that outputs . This means that the output distribution of is equivalent to that of . Therefore, it is sufficient to show that
(75) |
Let be a subset of such that
(76) |
From the construction of , we have
(77) |
for all . Then, for all , we have
(78) |
Therefore, we have
(79) |
which completes the proof.
∎
5 Hardness of Quantum State Learning
5.1 Equivalence between Average-Case Hardness of Learning Pure States and OWSGs
Theorem 5.1.
The existence of OWSGs with pure state outputs is equivalent to that of a polynomial-size quantum circuit with pure state outputs, which is hard on average in the sense of Definition 3.3.
Remark 5.2.
This result works only for "proper" quantum state learning, and it is unclear how to show the hardness of improper quantum state learning from OWSGs as far as we understand. On the other hand, we can show the hardness of improper quantum state learning from the existence of pseudorandom state generators.
Theorem 5.1 relatively straightforwardly follows from the definition. We describe the proof for clarity.
Proof of Theorem 5.1.
First, we show that if there exist OWSGs with pure state outputs, then there exists a quantum polynomial-time algorithm with pure state outputs, which is hard on average.
OWSGs Average-Case Hardness of Quantum State Learning.
It is sufficient to construct a quantum polynomial-time algorithm such that there exists a sampleable distribution over and polynomials and such that for all polynomials ,
(85) |
for all sufficiently large .
We define and as follows:
- The description of :
-
-
•
is the same as the distribution of .
-
•
- The description of :
-
-
•
runs , and outputs its output.
-
•
For contradiction, assume that for all polynomials and there exists a polynomial , and a QPT learner such that
(91) |
for infinitely many . Now, by using , we construct a QPT adversary that breaks the security of OWSGs . We describe the in the following.
-
1.
receives sufficiently many copies of , where and .
-
2.
passes them to , and receives .
-
3.
sends to the challenger.
-
4.
The challenger measures with .
-
5.
The challenger outputs if the measurement result is is obtained, and otherwise.
Let us define
(92) |
Now, we compute the probability that the challenger outputs .
(93) | |||
(98) | |||
(99) | |||
(100) | |||
(101) | |||
(102) |
for infinitely many . This contradicts that is OWSG with pure state outputs, which completes the proof.
Average-case hardness of quantum state learning OWSGs
Let be a quantum polynomial-time algorithm that takes and and outputs , and let be a sampleable distribution over and let and be polynomials such that for all polynomials and all QPT algorithms ,
(108) |
for infinitely many . Let be an algorithm that takes and perfectly approximates .
We describe the construction of OWSGs :
- :
-
-
•
runs and obtains .
-
•
- :
-
-
•
outputs the output of .
-
•
For contradiction, assume that there exist polynomials , and and a QPT algorithm such that
(109) |
for infinitely many . For some polynomial, let us define
(110) | |||
(111) |
Now, we have
(112) | ||||
(113) | ||||
(114) | ||||
(115) |
This implies that
(116) |
This means that
(122) |
for infinitely many , which is a contradiction. Therefore, satisfies
(123) |
for all polynomials and infinitely many . As shown in [MY22a], from , we can construct such that for all polynomials ,
(124) |
which completes the proof. ∎
5.2 Average-Case Hardness of Learning Mixed State from EFI
Theorem 5.3.
If there exists EFI, then there exists a quantum polynomial-time algorithm with mixed states, which is hard on average in the sense of Definition 3.3.
Remark 5.4.
This result works only for "proper" quantum state learning, and it is unclear how to show the hardness of improperly learning mixed states from EFI as far as we understand.
Theorem 5.3 straightforwardly follows from the definition. We describe the proof for clarity.
Proof of Theorem 5.3.
Let be a SV-SI-OWSGs such that for any , where . It is known that EFI is equivalent to SV-SI-OWSGs. Therefore, it is sufficient from SV-SI-OWSGs to construct a quantum polynomial-time algorithm such that there exists a sampleable distribution over and polynomials and such that for all polynomials and all QPT algorithms ,
(130) |
for all sufficiently large .
Let us describe and .
- The description of :
-
-
•
outputs the output of .
-
•
- The description of :
-
-
•
outputs the output of .
-
•
For contradiction, assume that for all polynomials and , there exists a QPT learner and a polynomial such that
(137) |
for infinitely many . Now, by using , we construct a QPT adversary that breaks the security of the SV-SI-OWSG scheme as follows.
-
1.
receives sufficiently many copies of , where and .
-
2.
passes them to , and receives .
-
3.
sends to the challenger.
Let us define a family
(138) |
From the definition of , we have
(139) | ||||
(140) |
for infinitely many . Here, in the second equation, we have used that for all
(141) |
Now, we compute the winning probability of the adversary as follows.
(142) | |||
(143) | |||
(144) |
for infinitely many . This contradicts that satisfies the security of SV-SI-OWSGs, which completes the proof. ∎
Acknowledgements. We appreciate Tomoyuki Morimae and Yuki Shirakawa for illuminating discussions. TH is supported by JSPS research fellowship and by JSPS KAKENHI No. JP22J21864.
References
- [Aar07] Scott Aaronson. The learnability of quantum states. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 463(2088):3089–3114, September 2007.
- [Aar18] Scott Aaronson. Shadow tomography of quantum states. In Ilias Diakonikolas, David Kempe, and Monika Henzinger, editors, 50th ACM STOC, pages 325–338. ACM Press, June 2018.
- [ACH+19] Scott Aaronson, Xinyi Chen, Elad Hazan, Satyen Kale, and Ashwin Nayak. Online learning of quantum states. Journal of Statistical Mechanics: Theory and Experiment, 2019(12):124019, December 2019.
- [AdW17] Srinivasan Arunachalam and Ronald de Wolf. Optimal quantum sample complexity of learning algorithms. In Proceedings of the 32nd Computational Complexity Conference, CCC ’17, Dagstuhl, DEU, 2017. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik.
- [AE07] Andris Ambainis and Joseph Emerson. Quantum t-designs: t-wise independence in the quantum world. In Twenty-Second Annual IEEE Conference on Computational Complexity (CCC’07), pages 129–140, 2007.
- [AS07] Alp Atıcı and Rocco A. Servedio. Quantum algorithms for learning and testing juntas. Quantum Information Processing, 6(5):323–348, September 2007.
- [AW92] Naoki Abe and Manfred K Warmuth. On the computational complexity of approximating distributions by probabilistic automata. Machine Learning, 9, 1992.
- [BCKM21] James Bartusek, Andrea Coladangelo, Dakshita Khurana, and Fermi Ma. On the round complexity of secure quantum computation. In Tal Malkin and Chris Peikert, editors, CRYPTO 2021, Part I, volume 12825 of LNCS, pages 406–435, Virtual Event, August 2021. Springer, Heidelberg.
- [BCQ23] Zvika Brakerski, Ran Canetti, and Luowen Qian. On the computational hardness needed for quantum cryptography. In Yael Tauman Kalai, editor, 14th Innovations in Theoretical Computer Science Conference, ITCS 2023, January 10-13, 2023, MIT, Cambridge, Massachusetts, USA, volume 251 of LIPIcs, pages 24:1–24:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023.
- [BEHW87] Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K. Warmuth. Occam’s razor. Information Processing Letters, 24(6):377–380, 1987.
- [BEM+23] John Bostanci, Yuval Efron, Tony Metger, Alexander Poremba, Luowen Qian, and Henry Yuen. Unitary complexity and the uhlmann transformation problem. arXiv:2306.13073, 2023. https://arxiv.org/abs/2306.13073.
- [BFKL94] Avrim Blum, Merrick L. Furst, Michael J. Kearns, and Richard J. Lipton. Cryptographic primitives based on hard learning problems. In Douglas R. Stinson, editor, CRYPTO’93, volume 773 of LNCS, pages 278–291. Springer, Heidelberg, August 1994.
- [BJ95] Nader H. Bshouty and Jeffrey C. Jackson. Learning dnf over the uniform distribution using a quantum example oracle. In Proceedings of the Eighth Annual Conference on Computational Learning Theory, COLT ’95, page 118–127, New York, NY, USA, 1995. Association for Computing Machinery.
- [BO21] Costin Bădescu and Ryan O’Donnell. Improved quantum data analysis. STOC 2021, page 1398–1411, New York, NY, USA, 2021. Association for Computing Machinery.
- [BP92] Raymond Board and Leonard Pitt. On the necessity of occam algorithms. Theoretical Computer Science, 100(1):157–184, 1992.
- [CGG+23] Bruno Cavalar, Eli Goldin, Matthew Gray, Peter Hall, Yanyi Liu, and Angelos Pelecanos. On the computational hardness of quantum one-wayness. arXiv:2312.08363, 2023.
- [CHL+22] Xinyi Chen, Elad Hazan, Tongyang Li, Zhou Lu, Xinzhao Wang, and Rui Yang. Adaptive online learning of quantum states. arXiv:2206.00220, 2022.
- [CHY16] Hao-Chung Cheng, Min-Hsiu Hsieh, and Ping-Cheng Yeh. The learnability of unknown quantum measurements. Quantum Info. Comput., 16(7–8):615–656, May 2016.
- [CL21] Kai-Min Chung and Han-Hsuan Lin. Sample Efficient Algorithms for Learning Quantum Channels in PAC Model and the Approximate State Discrimination Problem. In Min-Hsiu Hsieh, editor, 16th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2021), volume 197 of Leibniz International Proceedings in Informatics (LIPIcs), pages 3:1–3:22, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
- [CLS24] Nai-Hui Chia, Daniel Liang, and Fang Song. Quantum state learning implies circuit lower bounds. arXiv:2405.10242, 2024.
- [DLSS14] Amit Daniely, Nati Linial, and Shai Shalev-Shwartz. From average case complexity to improper learning complexity. In Proceedings of the Forty-Sixth Annual ACM Symposium on Theory of Computing, STOC ’14, page 441–448, New York, NY, USA, 2014. Association for Computing Machinery.
- [DSS16] Amit Daniely and Shai Shalev-Shwartz. Complexity theoretic limitations on learning dnf’s. In Vitaly Feldman, Alexander Rakhlin, and Ohad Shamir, editors, 29th Annual Conference on Learning Theory, volume 49 of Proceedings of Machine Learning Research, pages 815–830, Columbia University, New York, New York, USA, 23–26 Jun 2016. PMLR.
- [DV21] Amit Daniely and Gal Vardi. From local pseudorandom generators to hardness of learning. In Mikhail Belkin and Samory Kpotufe, editors, Proceedings of Thirty Fourth Conference on Learning Theory, volume 134 of Proceedings of Machine Learning Research, pages 1358–1394. PMLR, 15–19 Aug 2021.
- [FR99] Lance Fortnow and John Rogers. Complexity limitations on quantum computation. Journal of Computer and System Sciences, 59(2):240–252, 1999.
- [GGM86] Oded Goldreich, Shafi Goldwasser, and Silvio Micali. How to construct random functions. Journal of the ACM, 33(4):792–807, 1986.
- [GIKL23a] Sabee Grewal, Vishnu Iyer, William Kretschmer, and Daniel Liang. Efficient learning of quantum states prepared with few non-clifford gates. arXiv:2305.13409, 2023.
- [GIKL23b] Sabee Grewal, Vishnu Iyer, William Kretschmer, and Daniel Liang. Efficient learning of quantum states prepared with few non-clifford gates ii: Single-copy measurements. arXiv:2308.07175, 2023.
- [GKZ19] Alex B. Grilo, Iordanis Kerenidis, and Timo Zijlstra. Learning-with-errors problem is easy with quantum samples. Physical Review A, 99(3), March 2019.
- [GL22] Aravind Gollakota and Daniel Liang. On the Hardness of PAC-learning Stabilizer States with Noise. Quantum, 6:640, February 2022.
- [GLSV21] Alex B. Grilo, Huijia Lin, Fang Song, and Vinod Vaikuntanathan. Oblivious transfer is in MiniQCrypt. In Anne Canteaut and François-Xavier Standaert, editors, EUROCRYPT 2021, Part II, volume 12697 of LNCS, pages 531–561. Springer, Heidelberg, October 2021.
- [HHJ+16] Jeongwan Haah, Aram W. Harrow, Zhengfeng Ji, Xiaodi Wu, and Nengkun Yu. Sample-optimal tomography of quantum states. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’16, page 913–925, New York, NY, USA, 2016. Association for Computing Machinery.
- [HILL99] Johan Håstad, Russell Impagliazzo, Leonid A. Levin, and Michael Luby. A pseudorandom generator from any one-way function. SIAM Journal on Computing, 28(4):1364–1396, 1999.
- [Hir22] Shuichi Hirahara. Np-hardness of learning programs and partial mcsp. 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 968–979, 2022.
- [HKP20] Hsin-Yuan Huang, Richard Kueng, and John Preskill. Predicting many properties of a quantum system from very few measurements. Nature Physics, 16(10):1050–1057, June 2020.
- [HLB+24] Hsin-Yuan Huang, Yunchao Liu, Michael Broughton, Isaac Kim, Anurag Anshu, Zeph Landau, and Jarrod R. McClean. Learning shallow quantum circuits. arXiv:2401.10095, 2024.
- [HN22] Shuichi Hirahara and Mikito Nanashima. On worst-case learning in relativized heuristica. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 751–758, 2022.
- [HN23] Shuichi Hirahara and Mikito Nanashima. Learning in pessiland via inductive inference. In 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), pages 447–457, 2023.
- [IL90] R. Impagliazzo and L.A Levin. No better ways to generate hard NP instances than picking uniformly at random. In Proceedings [1990] 31st Annual Symposium on Foundations of Computer Science, pages 812–821 vol.2, 1990.
- [JLS18] Zhengfeng Ji, Yi-Kai Liu, and Fang Song. Pseudorandom quantum states. In Hovav Shacham and Alexandra Boldyreva, editors, CRYPTO 2018, Part III, volume 10993 of LNCS, pages 126–152. Springer, Heidelberg, August 2018.
- [KMR+94] Michael Kearns, Yishay Mansour, Dana Ron, Ronitt Rubinfeld, Robert E. Schapire, and Linda Sellie. On the learnability of discrete distributions. In Proceedings of the Twenty-Sixth Annual ACM Symposium on Theory of Computing, STOC ’94, page 273–282, New York, NY, USA, 1994. Association for Computing Machinery.
- [Kre21] William Kretschmer. Quantum Pseudorandomness and Classical Complexity. In Min-Hsiu Hsieh, editor, 16th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2021), volume 197 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:20, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
- [KT24] Dakshita Khurana and Kabir Tomer. Commitments from quantum one-wayness. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, page 968–978, New York, NY, USA, 2024. Association for Computing Machinery.
- [LMW24] Alex Lombardi, Fermi Ma, and John Wright. A one-query lower bound for unitary synthesis and breaking quantum cryptography. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, page 979–990, New York, NY, USA, 2024. Association for Computing Machinery.
- [Mon17] Ashley Montanaro. Learning stabilizer states by bell sampling. arXiv:1707.04012, 2017.
- [MY22a] Tomoyuki Morimae and Takashi Yamakawa. One-wayness in quantum cryptography. Cryptology ePrint Archive, Paper 2022/1336, 2022.
- [MY22b] Tomoyuki Morimae and Takashi Yamakawa. Quantum commitments and signatures without one-way functions. In Yevgeniy Dodis and Thomas Shrimpton, editors, Advances in Cryptology – CRYPTO 2022, pages 269–295, Cham, 2022. Springer Nature Switzerland.
- [MY23] Tony Metger and Henry S. Yuen. stateQIP = statePSPACE. 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), pages 1349–1356, 2023.
- [NE19] Moni Naor and Yogev Eylon. Bloom filters in adversarial environments. ACM Trans. Algorithms, 15(3), jun 2019.
- [NR06] Moni Naor and Guy N. Rothblum. Learning to impersonate. In Proceedings of the 23rd International Conference on Machine Learning, ICML ’06, page 649–656, New York, NY, USA, 2006. Association for Computing Machinery.
- [OS17] Igor C. Carboni Oliveira and Rahul Santhanam. Conspiracies Between Learning Algorithms, Circuit Lower Bounds, and Pseudorandomness. In Ryan O’Donnell, editor, 32nd Computational Complexity Conference (CCC 2017), volume 79 of Leibniz International Proceedings in Informatics (LIPIcs), pages 18:1–18:49, Dagstuhl, Germany, 2017. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
- [OW16] Ryan O’Donnell and John Wright. Efficient quantum tomography. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’16, page 899–912, New York, NY, USA, 2016. Association for Computing Machinery.
- [PV88] Leonard Pitt and Leslie G. Valiant. Computational limitations on learning from examples. J. ACM, 35(4):965–984, oct 1988.
- [Reg09] Oded Regev. On lattices, learning with errors, random linear codes, and cryptography. J. ACM, 56(6):34:1–34:40, 2009.
- [Roc18] Andrea Rocchetto. Stabiliser states are efficiently pac-learnable. Quantum Info. Comput., 18(7–8):541–552, jun 2018.
- [RY22] Gregory Rosenthal and Henry Yuen. Interactive Proofs for Synthesizing Quantum States and Unitaries. In Mark Braverman, editor, 13th Innovations in Theoretical Computer Science Conference (ITCS 2022), volume 215 of Leibniz International Proceedings in Informatics (LIPIcs), pages 112:1–112:4, Dagstuhl, Germany, 2022. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
- [Sch90] Robert E Schapire. The strength of weak learnability. Machine Learning, 5(2):197–227, 1990.
- [Sen06] Pranab Sen. Random measurement bases, quantum state distinction and applications to the hidden subgroup problem. In 21st Annual IEEE Conference on Computational Complexity (CCC’06), pages 14 pp.–287, 2006.
- [SSG23] Wilfred Salmon, Sergii Strelchuk, and Tom Gur. Provable advantage in quantum pac learning. arXiv:2309.10887, 2023.
- [Vad17] Salil Vadhan. On learning vs. refutation. In Satyen Kale and Ohad Shamir, editors, Proceedings of the 2017 Conference on Learning Theory, volume 65 of Proceedings of Machine Learning Research, pages 1835–1848. PMLR, 07–10 Jul 2017.
- [Val84] L. G. Valiant. A theory of the learnable. Commun. ACM, 27(11):1134–1142, nov 1984.
- [Yan22] Jun Yan. General properties of quantum bit commitments (extended abstract). In Shweta Agrawal and Dongdai Lin, editors, Advances in Cryptology – ASIACRYPT 2022, pages 628–657, Cham, 2022. Springer Nature Switzerland.
- [ZLK+23] Haimeng Zhao, Laura Lewis, Ishaan Kannan, Yihui Quek, Hsin-Yuan Huang, and Matthias C. Caro. Learning quantum states and unitaries of bounded gate complexity. arXiv:2310.19882, 2023.