The Learning Stabilizers with Noise Problem
Abstract
Random classical codes have good error correcting properties, and yet they are notoriously hard to decode in practice. Despite many decades of extensive study, the fastest known algorithms still run in exponential time. The Learning Parity with Noise () problem, which can be seen as the task of decoding a random linear code in the presence of noise, has thus emerged as a prominent hardness assumption with numerous applications in both cryptography and learning theory.
Is there a natural quantum analog of the problem? In this work, we introduce the Learning Stabilizers with Noise () problem, the task of decoding a random stabilizer code in the presence of local depolarizing noise. We give both polynomial-time and exponential-time quantum algorithms for solving in various depolarizing noise regimes, ranging from extremely low noise, to low constant noise rates, and even higher noise rates up to a threshold. Next, we provide concrete evidence that is hard. First, we show that includes as a special case, which suggests that it is at least as hard as its classical counterpart. Second, we prove worst-case to average-case reductions for variants of . We then ask: what is the computational complexity of solving ? Because the task features quantum inputs, its complexity cannot be characterized by traditional complexity classes. Instead, we show that the problem lies in a recently introduced (distributional and oracle) unitary synthesis class. Finally, we identify several applications of our assumption, ranging from the construction of quantum bit commitment schemes to the computational limitations of learning from quantum data.
Keywords and phrases:
Random quantum stabilizer codes, average-case hardnessCopyright and License:
2012 ACM Subject Classification:
Theory of computation Problems, reductions and completenessAcknowledgements:
The authors would like to thank Alexandru Gheorghiu, Anand Natarajan, Aram Harrow, Henry Yuen, John Bostanci, Jonas Haferkamp, Jonas Helsen, Jonathan Conrad, Soonwon Choi, Thomas Vidick and Vinod Vaikuntanathan for useful discussions.Funding:
Supported by the Department of Energy, Office of Science, National Quantum Information Science Research Centers, Quantum Systems Accelerator, under Grant number DOE DE-SC0012704, and Co-design Center for Quantum Advantage (C2QA) under contract number DE-SC0012704.Editor:
Shubhangi SarafSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Coding theory has offered many valuable insights into the theory of computation, ranging from structural insights in complexity theory [21, 4], to the design of cryptographic primitives [47, 49, 26, 43, 3] and even to lower bounds in the field of computational learning theory [12, 25]. The existence of asymptotically good error correcting codes, in particular, is a major cornerstone in the field. Thanks to the probabilistic method, we know that a random linear code already attains the so-called Gilbert-Varshamov bound [28, 50] with high probability. This suggests that asymptotically good error correcting codes not only exist in theory, but are in fact also abundant. Despite their remarkable error correcting properties, however, random linear codes have been found to be notoriously hard to decode in practice.
Learning Parity with Noise
The observation that better codes seem harder to decode is captured by the Learning Parity with Noise () problem [10]. In a nutshell, this assumption says that it is computationally difficult to decode a random linear code under Bernoulli noise. In other words, given as input
it is hard to find the secret string which is chosen uniformly at random in , and where is a random Bernoulli error for some appropriate noise rate . Here, serves as a random generator matrix of a linear code, for .
In practice, is believed to be hard for both classical and quantum algorithms running in time in various noise regimes, and the best known algorithms still run in exponential time. In some parameter regimes, however, is also known to admit subexponential-time algorithms; for block length of and constant noise rate , the celebrated BKW algorithm [12] solves in subexponential time . Lyubashevksy [41] later gave an algorithm that succeeds in time even when , for any .
The conjectured hardness of has found applications in both cryptography [35, 3, 39, 5, 38, 20, 6, 14] and learning theory [10, 25]. The Learning with Errors (LWE) problem [46] – a more structured variant of – has since become the basis of modern cryptography and has even led to highly advanced cryptographic primitives, such as fully homomorphic encryption [27, 15] and the classical verification of quantum computations [42]. In the context of learning theory, it was shown that an efficient algorithm for would allow us to learn important function classes, such as -DNF formulas, juntas, and even more general functions with sparse Fourier spectrum [25].
Because the LPN problem is so prevalent in many areas of computer science, a significant effort has been devoted to finding evidence of its hardness. One of these pieces of evidence is a worst-to-average-case reduction [14, 55]. Recall that the problem is an average-case problem: the computational task is to decode a random code, secret and error. Ref. [14] studied a related worst-case problem – the nearest codeword problem (NCP) – and showed that it reduces to . This reduction, later improved by [55], showed that is at least as hard as (a mildly hard variant of) NCP in the worst case. [14] also found the first non-trivial complexity upper bound on the hardness of the problem; specifically, they showed that (a variant of) the problem is contained in the complexity class , and is thus unlikely to be -hard.
The hardness of decoding random stabilizer codes
Just like random linear codes, random quantum stabilizer codes111The stabilizer formalism was first developed by Gottesman [30] and incorporates the majority of quantum error correcting codes we know today [2]. also possess remarkable error correcting properties [48, 31]. They are ubiquitous in quantum information science; for example, random stabilizer codes appear in the context of quantum authentication schemes and the verification of quantum computations [1], quantum cryptography [22], the theory of quantum communication [48, 52], and even in black-hole physics and quantum gravity [33, 54, 32]. Characterizing the hardness and complexity of decoding random stabilizer codes is therefore not only important from the perspective of quantum error correction, but could also shed a new light on the computational limitations of many natural quantum information processing tasks. In this work, we ask:
How hard is it to decode a random quantum stabilizer code?
Surprisingly, this subject has seen little theoretical treatment. While prior work has shown that decoding quantum stabilizer codes is worst-case hard [36, 37] – via reduction from a purely classical decoding problem – the average-case complexity of decoding stabilizer codes on typical instances of stabilizer decoding was left as an open problem [37]. We re-formulate this as a question that bears on all of the areas mentioned above:
Can we find a natural quantum analog of the Learning Parity with Noise problem? In particular, what would its hardness imply for quantum information science as a whole?
Given the success of constructing cryptographic primitives from the hardness of LPN in a classical world, could such a quantum analog of LPN offer a new hardness assumption which would allow us to construct cryptographic protocols in a quantum world? Finally – and perhaps, even more interestingly – this assumption may turn out to be even harder to break than its classical counterpart of LPN.
2 Overview
We now give an overview of our contributions in this work, summarized in Table 1.
2.1 Learning Stabilizers with Noise
In this work, we introduce a natural quantum analog of – the Learning Stabilizers with Noise (LSN) problem. In studying the LSN problem, we thoroughly characterize the hardness and complexity of decoding random stabilizer codes in different noise regimes. Similar to the problem, which has found numerous applications in both cryptography and learning theory, we believe that our LSN assumption has the potential to occupy a similar role in quantum information more broadly. Before we introduce our task formally, we first revisit and draw a connection to quantum error correction.
| Learning Parity with Noise | Learning Stabilizers with Noise (this problem) | |
|---|---|---|
| Worst-case hardness | -complete [9] as a decisional syndrome decoding task. Variant of the Nearest Codeword Problem () [14] | As a classical syndrome decoding task: -complete [36, 40] or -complete [37] depending on the decoding problem |
| Average-case hardness | [14, 55] | This paper |
| Worst-to-average-case reductions | [14, 55] | This paper |
| Algorithms for average-case problem | time complexity [11] in constant-noise regime. | This paper |
A quantum analog of ?
Let be integers with , and let be a parameter. Recall that an instance of the problem consists of a generator matrix for a random linear code, together with a noisy codeword for a random string; specifically, we consider samples of the form
where is a random generator matrix, where is a noisy codeword which encodes uniformly random string , and where is a random Bernoulli error. Without loss of generality222This happens with overwhelming probability for provided that ., we assume that the matrix has full column-rank, i.e., the columns of generate all of . We now make a simple observation; namely, we can interpret the instance as a particular noisy quantum codeword on qubits333Strictly speaking, we should think of as encoding the row vector ., since
| (1) |
where is a product of low-weight Pauli-X operators and where the unitary operator is defined to be the matrix multiplication operation
| (2) |
Because has full column-rank, corresponds to a linear reversible circuit which can be described solely in terms of gates [45]. Therefore, is a Clifford operator and thus maps Pauli operators to Pauli operators via conjugation.
We may also observe that is the encoding circuit for a stabilizer code. The stabilizer group associated with this code is precisely the group of commuting Pauli operators under which remains invariant. These are easily seen to be the Pauli operators
where denotes a Pauli operator which acts as a Pauli- operator on the -th qubit, and is equal to the identity everywhere else. In other words, the Clifford encoding unitary (derived from an instance of an problem) gives rise to the quantum stabilizer code given by . This shows that every instance of can be mapped to an instance of decoding stabilizer codes.
We now generalize this idea significantly, ultimately leading us to define the Learning Stabilizers with Noise (LSN) problem – the natural quantum analog of the problem:
-
(Random stabilizer code:) Note that the encoding Clifford unitary in Equation 2 generates a specific stabilizer code of the form . We consider stabilizer subgroups of the Pauli group which are chosen uniformly at random from the set of all stabilizer subgroups with generators, denoted by . In fact, as we show in this work, this is equivalent to choosing random stabilizer codes which are described by the set of generators , where is a random -qubit Clifford operator.444While this is considered folklore, we are not aware of a proof which has previously appeared in the literature. Therefore, we decided to rigorously prove this statement.
-
(Local depolarizing noise:) Recall that the noisy codeword in Equation 1 is only affected by low-weight bit-flip errors , where comes from a Bernoulli distribution. In quantum systems, however, noise may also come in the form of phase errors. This leads us to consider a quantum noise model in the form of local depolarizing noise . Similar to the Bernoulli distribution, local depolarizing noise also produces low-weight errors with high probability, which therefore naturally generalizes the classical noise model.
In other words, we consider the task of decoding a random quantum stabilizer code in the presence of local depolarizing noise. Because the codeword is a stabilizer state, we call this the Learning Stabilizers with Noise (LSN) problem – in analogy to the classical problem. We now give a formal definition of the problem.
Learning Stabilizers with Noise
The Learning Stabilizers with Noise () problem is to find given as input
where is a uniformly random stabilizer subgroup, where is a Pauli error from a local depolarizing channel, where is a random string, and where is some canonical encoding circuit for the stabilizer code associated with . As mentioned before, the encoding circuit is typically given in the form of a random -qubit Clifford operator.
At first sight, it may not be clear why the LSN problem is even well-defined, since a unique solution to the quantum learning problem may not exist in certain parameter regimes. The intuition behind our argument for the existence of a unique solution is as follows. Suppose that is a sufficiently small constant. Then, the quantum Gilbert-Varshamov bound implies that a random stabilizer code is non-degenerate and has distance at least with overwhelming probability, in which case for any pair of codewords with , we have
by the Knill-Laflamme conditions – provided that have weight at most . Fortunately, a simple Chernoff bound analysis reveals that this is the case with overwhelming probability for the local depolarizing channel . Therefore, Pauli errors which originate from a local depolarizing noise channel take orthogonal codewords to orthogonal codewords, and hence there must exist a measurement that perfectly distinguishes between them. This observation is also at the core of our algorithms for the LSN problem, which we describe next.
Algorithms for Learning Stabilizers with Noise
Previously, we discussed why random stabilizer codes give rise to a single-shot decoding problem which exhibits unique solutions with high probability. This suggests that LSN can be solved information-theoretically. Can we also find efficient algorithms for solving the LSN problem? Not surprisingly, the answer depends on the specific noise regime of the error distribution (see Figure 1). We give both polynomial-time and exponential-time quantum algorithms for solving the LSN problem in various noise-regimes:
-
Extremely low-noise regime with parameter . In this parameter regime, we show that a simple projection onto the stabilizer codespace (see Algorithm 1) suffices to solve the LSN problem in time with constant success probability.
-
Low constant-noise regime for a small constant . In this regime, we show that the Pretty Good Measurement (PGM) [8, 44] (with only a single sample) succeeds with high probability. Concretely, we view the problem as a state discrimination task where the goal is to identify -out-of- (almost) orthogonal states. The success of the PGM is inextricably linked to the structure of our problem: although the distance between two arbitrary orthogonal states contracts tremendously – in fact, exponentially in system size (see, e.g. Proposition IV.7 in [34]) – under a layer of local depolarizing noise, a random stabilizer code encodes orthogonal states into orthogonal subspaces that are “protected” from such destructive contraction even under noise. This means that the information of the LSN secret is preserved under noise, and this is the intuition behind our approach in Algorithm 2.
-
Higher constant-noise regime. In this regime, decoding is still possible at the cost of more samples. We derive the scaling of the sample complexity with noise, up to a certain noise threshold.
Connection to syndrome decoding
Recall that an instance of the LSN problem by definition features quantum inputs, which naturally led us to consider quantum algorithms as a means of solving the problem. However, despite the fact that LSN is a quantum problem, it reduces to a natural classical problem – stabilizer syndrome decoding. One way of solving the problem is to just measure the stabilizer syndromes of the noisy quantum codeword and to tackle the classical decoding problem instead. However, there are good reasons to believe that the classical (average-case) syndrome decoding problem is actually harder: while LSN trivially reduces to stabilizer syndrome decoding, the reverse direction is highly unclear; in particular, it is not at all obvious why an algorithm for the LSN problem would also imply an algorithm for the classical stabilizer syndrome decoding problem.
Worst-case to average-case reductions
Recall that the LSN problem is stated as an average-case problem, where the success probability of an algorithm is measured on average over the random choice of stabilizer , secret and error . While the quantum Gilbert-Varshamov bound does in fact guarantee that an average-case instance of LSN can be solved information-theoretically, our results indicate that the problem becomes computationally intractable for large – even in constant-noise regimes. This raises the question of whether we can find concrete evidence for the average-case hardness of the LSN problem, beyond the fact that it subsumes the classical problem.
Recently, a number of works showed that there is in fact evidence of worst-case hardness for ; specifically, by studying a related worst-case problem – the nearest codeword problem (NCP) [14, 55]. Using the sample amplification technique [41], Brakerski, Lyubashevsky, Vaikuntanathan and Wichs [14] gave a worst-case to average-case reduction from NCP to . Here, an instance to the former problem consists of for some , with the promise that the generator matrix is balanced555Roughly speaking, this means that the minimum and maximum distance of the linear code generated by is neither too small nor too large. and that the Hamming weight of the error is known. On a high level, the reduction in [14] proceeds in two steps:
-
(Re-randomization of the secret) A random string is chosen, and the worst-case instance gets mapped via an additive shift to
Note that, whereas the initial secret was fixed, the new secret is now distributed according to the uniform distribution over .
-
(Re-randomization of the code and error) A random is sampled from a smoothing distribution , and the previous sample gets mapped to
[14] show that the resulting sample is statistically close to an (average-case) sample – provided that the smoothing distribution is chosen appropriately.
By taking a similar approach, we develop a worst-case to average-case reduction for the LSN problem. Here, the starting point is a worst-case stabilizer decoding instance for some stabilizer , Pauli error of bounded weight (at most for any ), and secret . First, we observe that, in order to re-randomize the secret , we need to act on the encoded data itself. Hence, it suffices to choose a random string and to apply the logical Pauli operator associated with to the noisy codeword itself, resulting in the desired transformation .
To re-randomize the code and the error, we first observe that the shifted codeword can be written as
for some (not necessarily random) encoding Clifford . Because forms a finite group, this suggests that one could simply sample a uniformly random and consider the state , where now comes from a random stabilizer code for a uniformly random encoding Clifford . While this does seem to result in a re-randomized stabilizer code, the aforementioned transformation could potentially blow up the weight of the Pauli error . In fact, it is well-known that random Cliffords are Pauli-mixing [19, 1]: they take any non-identity Pauli operator and map it to a uniformly random non-identity Pauli operator via conjugation. This seems to suggest that any naive worst-case to average-case reduction for LSN is doomed to fail: the weight of the re-randomized Pauli error now appears to follow a Binomial distribution with parameter , thereby inducing a high-noise distribution which is statistically far from any reasonable noise channel (e.g., such as a local depolarizing channel).
In an attempt to overcome this barrier, we develop a re-randomization strategy which is much more gentle on the error (i.e., it does not cause it to blow up), and yet still ensures that the code gets somewhat re-randomized; however, this occurs at an expense: our random self-reduction only applies to a very restrictive case of the problem. Our strategy is to follow the random Pauli operator with a twirl – another random unitary consisting of a random permutation operator, followed by a layer of random single-qubit Cliffords. Similar ensembles of unitaries been used in the randomized compiling and benchmarking literature in order to tailor noise with arbitrary coherence and spatial correlations into a symmetric Pauli channel [51, 23].666To our knowledge, however, our work is the first to identify the twirl as a useful tool in the context of a worst-case to average-case reduction. Under this twirl, a worst-case error of weight is transformed into a uniformly random error of weight ; in particular, the weight of the error remains invariant. However, that the distributions of the error and the code are now correlated, which requires a much more refined analysis.
Complexity of Learning Stabilizers with Noise
What is the computational complexity of solving the LSN problem? Notice that the description of the learning task features quantum inputs, which means that its complexity cannot be characterized by traditional complexity classes such as or which deal with classical-input decision problems. Instead, we show that (a variant of) the problem lies in the complexity class called , a (distributional and oracle) unitary synthesis class which was recently formalized by Bostanci et al. [13]. At a high level, this follows from the quantum Gilbert-Varshamov bound which ensures that a random instance carries a unique stabilizer syndrome with overwhelming probability. Once the syndrome is computed, it can then be decoded with the help of an oracle. In other words, any polynomial-time quantum machine which access to the oracle can synthesize the appropriate Pauli correction for the noisy quantum codeword.
In the full version of the paper, we give a brief review of unitary complexity and also prove our aforementioned complexity upper bound on the hardness of the problem.
2.2 Applications
Learning from quantum data
Just as has been fundamental to lower bounds in classical learning theory, we expect that will be a useful tool for proving lower bounds in quantum learning theory. In the full version of the paper, we identify one such learning setting: learning from quantum data [16, 18, 24, 17], a generalization of Probably Approximately Correct (PAC) learning to the quantum setting. Here, the goal is to learn a map from classical to quantum data – for example, a Hamiltonian can be construed as a map from temperatures to Gibbs states, or time-evolved states.
In one special case of this task known as learning state preparation processes, the learner is allowed to observe input-output pairs for an unknown map, but the inputs are sampled from a distribution and are not identical. Refs. [18, 24] gave sample-efficient algorithms for learning in this setting, thus showing that it is information theoretically possible. But we show that these algorithms can never be computationally efficient – assuming the hardness of our assumption. While the lack of computational efficiency was implicit for the fully general learning setting due to a result of [7], that result does not apply when there are physically natural restrictions on the concept class, such as learning processes that involve quantum noise. Our hardness assumption fills this gap.
Constructing quantum bit commitment schemes
In the full version of the paper, we give a cryptographic application of LSN and show how to construct a statistically hiding and computationally binding quantum commitment scheme [53]. This is a fundamental cryptographic primitive that allows two parties (called a sender and receiver) to engage in a two-phase quantum communication protocol: in the first phase (the “commit phase”), the sender sends a commitment (i.e., a quantum register) to a bit to the receiver; the hiding property of a bit commitment scheme ensures that the receiver cannot decide the value of from the commitment alone. In the second phase (the “reveal phase”), the sender sends another quantum register to the receiver that allows the receiver to compute the value of ; the binding property of commitments ensures that the sender can only reveal the correct value of , i.e. if the sender sent a reveal register that was meant to convince the receiver it had committed to a different value of , the receiver would detect this.
3 Random stabilizer codes
A random quantum stabilizer code is a uniformly random choice of abelian subgroup with generators. Note, here the Pauli signs are important and will determine what subspace is stabilized by . Because the members of must commute, choosing elements uniformly from will not always give a valid stabilizer code.
We now give a rigorous proof of the fact that a random element of the Clifford group , acting on any initial choice of , generates a uniformly random , and hence a uniformly random stabilizer code.
Theorem 1.
Let be an integer and let be any stabilizer with generators . Then, the conjugated stabilizer code
yields a uniformly stabilizer in the set .
Proof.
First, we show that the Clifford group acts transitively on the set of stabilizers . Let be an arbitrary stabilizer with generators. From [31], we know that there exists a Clifford operator and a Pauli such that the composition of the two operations maps to the canonical stabilizer . In particular, we can let such that
Likewise, from [31], we also know that once we have the canonical all-Z stabilizer , we can obtain any other stabilizer via some other composition of operators , where and , i.e.,
Therefore, for any pair of distinct stabilizers there exists an operator that maps to . By using the fact that Cliffords are the normalizer of the Pauli group, can be realized as a single Pauli operation followed by a single Clifford operation.
Finally, we show that the probability that a random Clifford applied to an arbitrary stabilizer yields any pair of distinct stabilizers with exactly the same probability. From before, there exists a Clifford such that
The last line follows from the fact that is a group, and hence the uniform distribution over is Clifford invariant.
4 The Learning Stabilizers with Noise problem
In this section, we formally define the Learning Stabilizers with Noise (LSN) problem as the natural quantum analog of the problem. We begin with a set of definitions for the problem (and its variants), and then show that the problem is well-defined (i.e., it admits a unique solution) for appropriate choices of parameters.
Definition
We now provide a formal definition of our learning task.
Definition 2 (Learning Stabilizers with Noise problem).
Let be the security parameter and let be an integer. Let be a parameter. The Learning Stabilizers with Noise () problem is to find given as input a sample
where is a uniformly random stabilizer (specified in terms of a classical description of ), is a Pauli error with , is a random string , and is the codeword
for some canonical encoding circuit for the stabilizer code associated with . We say that a quantum algorithm solves the problem if it runs in time and succeeds with probability at least over the choice of and , and its internal randomness.
Let us first state a few remarks.
Remark 3 (Density matrix formulation).
In Definition 2, the input to the learning algorithm is stated in the form , where , and is a random string. The pure state , however, should rather be understood as a density matrix of the form
where we think of as a product of local depolarizing channels with parameter .
Remark 4 (Clifford representation).
Recall that the input of the learner in Definition 2 consists of a random stabilizer . In Theorem 1, we showed that random stabilizer codes can be equivalently described by uniformly random Clifford encoding circuits. Therefore, we can alternatively think of an instance as
where is a random Clifford and the first argument refers to a classical description of .
General variants
Recall that the input in Definition 2 consists of a sample
where is a (classical description of) uniformly random stabilizer, where is a Pauli error , where is a random string. Occasionally, we also consider more general variants of the problem, denoted by , that feature samples
which are captured by the following set of distributions (which depend on and ):
-
is a general noise distribution with support over -qubit Pauli errors .
-
is a general distribution over Stabilizer codes, either with support over the set of stabilizers , or over Clifford encoding circuits in .
-
is a general distribution over input strings of the form .
Depending on the choice of distributions , and , the learning task may either become easier or harder than the canonical learning problem in Definition 2.
5 Quantum Algorithms for Learning Stabilizers with Noise
In this section, we give both polynomial-time and exponential-time quantum algorithms for solving LSN in various depolarizing noise regimes.
5.1 Single-Shot Decoding for Extremely Low Noise Rates
In this section, we first consider an extremely low noise regime in which the LSN problem becomes computationally tractable. Specifically, we consider the problem with parameter and . We show that a simple projection onto the stabilizer code space suffices to solve in time with good success probability.
Theorem 5 (Single-Shot Decoding for Extremely Low Noise Rates).
Let be integers with and . Let be a noise parameter. Then, Algorithm runs in time and solves the problem with probability at least .
Proof.
Suppose we are given as input an instance of the problem, i.e.,
where describes a random stabilizer code and is a random element. Let denote the ensemble instance. Then, the probability that Algorithm succeeds is trivially bounded below by the probability that the depolarizing noise channel is error-less, and thus
where the second inequality follows from Bernoulli’s inequality, and the last inequality follows from our assumption that .
5.2 Single-Shot Decoding for Low Constant Noise Rates
Recall that LSN is the following decoding problem: given as input an instance
where is a random stabilizer code and is a random -qubit Pauli error , and where is a random element. In other words, we have a noisy state discrimination task where is the mixed state
| (3) |
Our algorithm for solving LSN is to implement a Pretty Good Measurement (PGM) [8, 44], but with a twist that enables us to bound its success probability: we will implement an approximation of the PGM that works for truncated depolarizing noise, noise from which we have culled the highest weight (and thus most destructive) errors. The reason this works is that the PGM is actually the optimal measurement for orthogonal states and discriminates them perfectly. Using the Gilbert-Varshamov bound, we are able to harness the fact that under truncated depolarizing noise, encoded orthogonal states remain approximately orthogonal, and thus the PGM still works well for the task.777This can be understood in another way: the purpose of a good error-correcting code is to encode quantum information in subspaces that do not contract much under quantum channels (i.e. two initial orthogonal states remain approximately orthogonal under the action of quantum channels) – a random stabilizer code is an example of such a code.
Pretty Good Measurement
We recall the following result by Montanaro:
Lemma 6 ([44]).
Let be an ensemble of quantum states and let with , where inverses of are taken with respect to its support. Then, the worst-case error of the pretty good measurement ensemble is at most
where denotes the fidelity between and . Moreover, the PGM is optimal if the states in are pair-wise orthogonal, as then
We’re going to use the following block-encoding based algorithm in [29] for implementing the PGM. Let denote the reciprocal of the smallest eigenvalue of a density matrix . We use the following theorem.
Theorem 7 ([29]).
The PGM measurement channel for can be implemented with error (in terms of diamond distance) in time
where and where denotes the size of the quantum circuit needed to implement a purification of .
In our case, since a purification of is
| (4) |
we may prepare this purification simply by applying on a coherent superposition. The number of gates required to implement an -qubit Clifford is . We show the following theorem.
Theorem 8 (Single-Shot Decoding for Low Constant Noise Rates).
Let and . Let be the -qubit depolarizing channel, for some such that
| (5) |
Then, there exists a quantum algorithm which runs in time
and solves the problem with probability at least
Proof.
Suppose we are given as input an instance of the problem, i.e.,
where describes a random stabilizer code and is a random element. We now show that running Algorithm on input and parameter yields with the desired success probability.
Algorithm , in fact, implements the PGM with respect to a slightly different ensemble as compared to the true ensemble of problem instances. That is to say, it will suffice to implement the pretty good measurement with respect to the ensemble where
| (6) |
where is the truncated depolarizing noise channel to be defined shortly; while we remind readers that the true ensemble of problem instances is
| (7) |
We now define the truncated depolarizing noise channel as the channel which acts on an input state as
| (8) |
where denotes the depolarizing noise parameter, and the truncation lies in the fact that we restrict the support to Paulis with bounded weight. We define the truncated probability distribution via
| (9) |
and is a normalization factor, i.e. that ensures that is a probability distribution over . The distribution corresponding to the -qubit local depolarizing noise channel corresponds to i.e. and the truncated channel corresponds to acting only with the Paulis with weight at most , with the same relative probabilities as in -qubit local depolarizing noise. Because the weights of the Pauli channels in the decomposition of are distributed as a binomial , one can show that for , the total variation distance between the probability distribution over the -qubit Pauli channels induced by and is
| (10) |
using a Chernoff bound.
Algorithm implements the PGM measurement channel with (diamond distance) error with the stated time complexity. Let us first analyze the error probability of the (ideal) pretty good measurement :
| (11) | ||||
| (12) | ||||
| (13) | ||||
| (14) | ||||
| (15) |
The second inequality comes from the convexity of trace distance and Equations 6 and 7. The second last equality comes from Eq. 10. The last inequality comes from Lemma 6.
To finish the proof, it suffices to bound the pair-wise fidelities in Equation 15. Here, we exploit the special structure of the encoded states. We appeal to the quantum Gilbert-Varshamov bound, which states that random stabilizer codes are non-degenerate (i.e. have good distance) with high probability. This means that errors of weight at most acting on orthogonal states keep them orthogonal. Concretely, this implies that
| (16) | |||
| (17) | |||
| (18) |
The first equality follows from the observations mentioned above. Moreover, it follows from Uhlmann’s theorem that
| (19) | |||
| (20) | |||
| (21) |
where, for , we defined the purification
Note that the superposition ranges over Pauli errors of weight at most as we are using the truncated distribution over Paulis. Therefore, conditioned on the event that the stabilizer code is non-degenerate and has distance at least , the Knill-Laflamme error correction conditions imply that , for any pair of codewords with , and thus
| (22) |
Further conditioning on the event that the implementation of the PGM succeeded, the probability of error due to the PGM mis-identifying the state is .
We can now put everything together to compute the final success probability of Algorithm , union bounding over all the three error sources:
-
1.
is degenerate.
-
2.
Diamond-distance approximation error of implementing the PGM channel.
-
3.
PGM measurement mis-identifies .
We get that Algorithm successfully outputs with probability at least , where
This algorithm succeeds with constant probability for any noise rate such that the term
| (23) |
does not blow up. Noting that in the definition of , we can then check that as long as is a constant that satisfies
| (24) |
this term vanishes exponentially in and the total probability of error is .
References
- [1] Dorit Aharonov, Michael Ben-Or, Elad Eban, and Urmila Mahadev. Interactive proofs for quantum computations, 2017. arXiv:1704.04487.
- [2] Victor V. Albert and Philippe Faist, editors. The Error Correction Zoo. Online website, 2024. URL: https://errorcorrectionzoo.org/.
- [3] Michael Alekhnovich. More on average case vs approximation complexity. In Proceedings of the 44th Annual IEEE Symposium on Foundations of Computer Science, FOCS ’03, page 298, USA, 2003. IEEE Computer Society.
- [4] Anurag Anshu, Nikolas P. Breuckmann, and Chinmay Nirkhe. Nlts hamiltonians from good quantum codes. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, pages 1090–1096, New York, NY, USA, 2023. Association for Computing Machinery. doi:10.1145/3564246.3585114.
- [5] Benny Applebaum, David Cash, Chris Peikert, and Amit Sahai. Fast cryptographic primitives and circular-secure encryption based on hard learning problems. In Proceedings of the 29th Annual International Cryptology Conference on Advances in Cryptology, CRYPTO ’09, pages 595–618, Berlin, Heidelberg, 2009. Springer-Verlag. doi:10.1007/978-3-642-03356-8_35.
- [6] Benny Applebaum, Naama Haramaty-Krasne, Yuval Ishai, Eyal Kushilevitz, and Vinod Vaikuntanathan. Low-Complexity Cryptographic Hash Functions. In Christos H. Papadimitriou, editor, 8th Innovations in Theoretical Computer Science Conference (ITCS 2017), volume 67 of Leibniz International Proceedings in Informatics (LIPIcs), pages 7:1–7:31, Dagstuhl, Germany, 2017. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITCS.2017.7.
- [7] Srinivasan Arunachalam, Alex Bredariol Grilo, and Aarthi Sundaram. Quantum hardness of learning shallow classical circuits. SIAM J. Comput., 50(3):972–1013, 2021. doi:10.1137/20M1344202.
- [8] H. Barnum and E. Knill. Reversing quantum dynamics with near-optimal quantum and classical fidelity, 2000. arXiv:quant-ph/0004088.
- [9] E. Berlekamp, R. McEliece, and H. van Tilborg. On the inherent intractability of certain coding problems (corresp.). IEEE Transactions on Information Theory, 24(3):384–386, 1978. doi:10.1109/TIT.1978.1055873.
- [10] Avrim Blum, Merrick Furst, Michael Kearns, and Richard J. Lipton. Cryptographic primitives based on hard learning problems. In Douglas R. Stinson, editor, Advances in Cryptology — CRYPTO’ 93, pages 278–291, Berlin, Heidelberg, 1994. Springer Berlin Heidelberg.
- [11] Avrim Blum, Adam Kalai, and Hal Wasserman. Noise-tolerant learning, the parity problem, and the statistical query model, 2000. arXiv:cs/0010022.
- [12] Avrim Blum, Adam Kalai, and Hal Wasserman. Noise-tolerant learning, the parity problem, and the statistical query model. J. ACM, 50(4):506–519, July 2003. doi:10.1145/792538.792543.
- [13] John Bostanci, Yuval Efron, Tony Metger, Alexander Poremba, Luowen Qian, and Henry Yuen. Unitary complexity and the uhlmann transformation problem, 2023. doi:10.48550/arXiv.2306.13073.
- [14] Zvika Brakerski, Vadim Lyubashevsky, Vinod Vaikuntanathan, and Daniel Wichs. Worst-case hardness for LPN and cryptographic hashing via code smoothing. Cryptology ePrint Archive, Paper 2018/279, 2018. URL: https://eprint.iacr.org/2018/279.
- [15] Zvika Brakerski and Vinod Vaikuntanathan. Efficient fully homomorphic encryption from (standard) lwe. In 2011 IEEE 52nd Annual Symposium on Foundations of Computer Science, pages 97–106, 2011. doi:10.1109/FOCS.2011.12.
- [16] Matthias C. Caro. Binary classification with classical instances and quantum labels. Quantum Machine Intelligence, 3(1), May 2021. doi:10.1007/s42484-021-00043-z.
- [17] Matthias C. Caro, Tom Gur, Cambyse Rouzé, Daniel Stilck França, and Sathyawageeswar Subramanian. Information-theoretic generalization bounds for learning from quantum data. In Shipra Agrawal and Aaron Roth, editors, Proceedings of Thirty Seventh Conference on Learning Theory, volume 247 of Proceedings of Machine Learning Research, pages 775–839. PMLR, 30 June–03 July 2024. URL: https://proceedings.mlr.press/v247/caro24a.html.
- [18] Kai-Min Chung and Han-Hsuan Lin. Sample efficient algorithms for learning quantum channels in pac model and the approximate state discrimination problem, 2021. arXiv:1810.10938.
- [19] Richard Cleve, Debbie Leung, Li Liu, and Chunhao Wang. Near-linear constructions of exact unitary 2-designs. Quantum Info. Comput., 16(9–10):721–756, July 2016. doi:10.26421/QIC16.9-10-1.
- [20] Bernardo David, Rafael Dowsley, and Anderson C. A. Nascimento. Universally composable oblivious transfer based on a variant of LPN. In Dimitris Gritzalis, Aggelos Kiayias, and Ioannis G. Askoxylakis, editors, Cryptology and Network Security - 13th International Conference, CANS 2014, Heraklion, Crete, Greece, October 22-24, 2014. Proceedings, volume 8813 of Lecture Notes in Computer Science, pages 143–158. Springer, 2014. doi:10.1007/978-3-319-12280-9_10.
- [21] Irit Dinur. The pcp theorem by gap amplification. In Proceedings of the Thirty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’06, pages 241–250, New York, NY, USA, 2006. Association for Computing Machinery. doi:10.1145/1132516.1132553.
- [22] Yfke Dulek and Florian Speelman. Quantum ciphertext authentication and key recycling with the trap code, 2018. arXiv:1804.02237.
- [23] Joseph Emerson, Marcus Silva, Osama Moussa, Colm Ryan, Martin Laforest, Jonathan Baugh, David G. Cory, and Raymond Laflamme. Symmetrized characterization of noisy quantum processes. Science, 317(5846):1893–1896, September 2007. doi:10.1126/science.1145699.
- [24] Marco Fanizza, Yihui Quek, and Matteo Rosati. Learning quantum processes without input control. PRX Quantum, 5:020367, June 2024. doi:10.1103/PRXQuantum.5.020367.
- [25] Vitaly Feldman, Parikshit Gopalan, Subhash Khot, and Ashok Kumar Ponnuswami. New results for learning noisy parities and halfspaces. In Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science, FOCS ’06, pages 563–574, USA, 2006. IEEE Computer Society. doi:10.1109/FOCS.2006.51.
- [26] Jean-Bernard Fischer and Jacques Stern. An efficient pseudo-random generator provably as secure as syndrome decoding. In Ueli M. Maurer, editor, Advances in Cryptology - EUROCRYPT ’96, International Conference on the Theory and Application of Cryptographic Techniques, Saragossa, Spain, May 12-16, 1996, Proceeding, volume 1070 of Lecture Notes in Computer Science, pages 245–255. Springer, 1996. doi:10.1007/3-540-68339-9_22.
- [27] Craig Gentry. A fully homomorphic encryption scheme. PhD thesis, Stanford University, Stanford, CA, USA, 2009. AAI3382729.
- [28] Edgar N. Gilbert. A comparison of signalling alphabets. Bell System Technical Journal, 31:504–522, 1952. URL: https://api.semanticscholar.org/CorpusID:120421020.
- [29] András Gilyén, Seth Lloyd, Iman Marvian, Yihui Quek, and Mark M. Wilde. Quantum algorithm for petz recovery channels and pretty good measurements. Phys. Rev. Lett., 128:220502, June 2022. doi:10.1103/PhysRevLett.128.220502.
- [30] Daniel Gottesman. Stabilizer codes and quantum error correction, 1997. arXiv:quant-ph/9705052.
- [31] Daniel Gottesman. Surviving as a quantum computer in a classical world, 2024-03 2024. URL: https://www.cs.umd.edu/class/spring2024/cmsc858G/QECCbook-2024-ch1-15.pdf.
- [32] Daniel Harlow and Patrick Hayden. Quantum computation vs. firewalls. Journal of High Energy Physics, 2013(6), June 2013. doi:10.1007/jhep06(2013)085.
- [33] Patrick Hayden and John Preskill. Black holes as mirrors: quantum information in random subsystems. Journal of High Energy Physics, 2007(09):120, September 2007. doi:10.1088/1126-6708/2007/09/120.
- [34] Christoph Hirche, Cambyse Rouzé, and Daniel Stilck França. Quantum differential privacy: An information theory perspective, 2023. arXiv:2202.10717.
- [35] Nicholas J. Hopper and Manuel Blum. Secure human identification protocols. In Proceedings of the 7th International Conference on the Theory and Application of Cryptology and Information Security: Advances in Cryptology, ASIACRYPT ’01, pages 52–66, Berlin, Heidelberg, 2001. Springer-Verlag. doi:10.1007/3-540-45682-1_4.
- [36] Min-Hsiu Hsieh and Fran çois Le Gall. Np-hardness of decoding quantum error-correction codes. Phys. Rev. A, 83:052331, May 2011. doi:10.1103/PhysRevA.83.052331.
- [37] Pavithran Iyer and David Poulin. Hardness of decoding quantum stabilizer codes. IEEE Trans. Inf. Theor., 61(9):5209–5223, September 2015. doi:10.1109/TIT.2015.2422294.
- [38] Abhishek Jain, Stephan Krenn, Krzysztof Pietrzak, and Aris Tentes. Commitments and efficient zero-knowledge proofs from learning parity with noise. In Xiaoyun Wang and Kazue Sako, editors, Advances in Cryptology – ASIACRYPT 2012, pages 663–680, Berlin, Heidelberg, 2012. Springer Berlin Heidelberg. doi:10.1007/978-3-642-34961-4_40.
- [39] Ari Juels and Stephen A. Weis. Authenticating pervasive devices with human protocols. In Proceedings of the 25th Annual International Conference on Advances in Cryptology, CRYPTO’05, pages 293–308, Berlin, Heidelberg, 2005. Springer-Verlag. doi:10.1007/11535218_18.
- [40] Kao-Yueh Kuo and Chung-Chin Lu. On the hardness of decoding quantum stabilizer codes under the depolarizing channel. In 2012 International Symposium on Information Theory and its Applications, pages 208–211, 2012. URL: https://ieeexplore.ieee.org/document/6400919/.
- [41] Vadim Lyubashevsky. The parity problem in the presence of noise, decoding random linear codes, and the subset sum problem. In Proceedings of the 8th International Workshop on Approximation, Randomization and Combinatorial Optimization Problems, and Proceedings of the 9th International Conference on Randamization and Computation: Algorithms and Techniques, APPROX’05/RANDOM’05, pages 378–389, Berlin, Heidelberg, 2005. Springer-Verlag. doi:10.1007/11538462_32.
- [42] Urmila Mahadev. Classical verification of quantum computations. SIAM J. Comput., 51(4):1172–1229, 2022. doi:10.1137/20M1371828.
- [43] Robert J. McEliece. A public-key cryptosystem based on algebraic coding theory. DSN Progress Report 42-44, Jet Propulsion Laboratory, Pasadena, CA, 1978.
- [44] Ashley Montanaro. On the distinguishability of random quantum states. Communications in Mathematical Physics, 273(3):619–636, March 2007. doi:10.1007/s00220-007-0221-7.
- [45] Ketan N. Patel, Igor L. Markov, and John P. Hayes. Optimal synthesis of linear reversible circuits. Quantum Info. Comput., 8(3):282–294, 2008. doi:10.26421/QIC8.3-4-4.
- [46] Oded Regev. On lattices, learning with errors, random linear codes, and cryptography. Journal of the ACM (JACM), 56(6):1–40, 2009. doi:10.1145/1568318.1568324.
- [47] Adi Shamir. How to share a secret. Commun. ACM, 22(11):612–613, 1979. doi:10.1145/359168.359176.
- [48] Graeme Stewart Baird Smith. Upper and lower bounds on quantum codes. PhD thesis, California Institute of Technology, USA, 2006. AAI3235592.
- [49] Jacques Stern. A new identification scheme based on syndrome decoding. In Douglas R. Stinson, editor, Advances in Cryptology - CRYPTO ’93, 13th Annual International Cryptology Conference, Santa Barbara, California, USA, August 22-26, 1993, Proceedings, volume 773 of Lecture Notes in Computer Science, pages 13–21. Springer, 1993. doi:10.1007/3-540-48329-2_2.
- [50] R. R. Varshamov. Estimation of number of signals in codes with correction of non-symmetric errors. Avtomat. i Telemekh, 25(11):1628–1629, 1964. URL: https://www.mathnet.ru/php/archive.phtml?wshow=paper&jrnid=at&paperid=11783&option_lang=eng.
- [51] Joel J. Wallman and Joseph Emerson. Noise tailoring for scalable quantum computation via randomized compiling. Physical Review A, 94(5), November 2016. doi:10.1103/physreva.94.052325.
- [52] Mark M. Wilde. Quantum Information Theory. Cambridge University Press, 2013.
- [53] 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. doi:10.1007/978-3-031-22972-5_22.
- [54] Beni Yoshida and Alexei Kitaev. Efficient decoding for the hayden-preskill protocol, 2017. arXiv:1710.03363.
- [55] Yu Yu and Jiang Zhang. Smoothing out binary linear codes and worst-case sub-exponential hardness for lpn. In Advances in Cryptology – CRYPTO 2021: 41st Annual International Cryptology Conference, CRYPTO 2021, Virtual Event, August 16–20, 2021, Proceedings, Part III, pages 473–501, Berlin, Heidelberg, 2021. Springer-Verlag. doi:10.1007/978-3-030-84252-9_16.