The Compressed Oracle Is A Worthy (Multiplicative) Adversary
Abstract
The compressed oracle technique, introduced in the context of quantum cryptanalysis, is the latest method for proving quantum query lower bounds, and has had an impressive number of applications since its introduction, due in part to the ease of importing classical lower bound intuition into the quantum setting via this method. Previously, the main quantum query lower bound methods were the polynomial method, the adversary method, and the multiplicative adversary method, and their relative powers were well understood. In this work, we situate the compressed oracle technique within this established landscape, by showing that it is a special case of the multiplicative adversary method. To accomplish this, we introduce a simplified restriction of the multiplicative adversary method, the MLADV method, that remains powerful enough to capture the polynomial method and exhibit a strong direct product theorem, but is much simpler to reason about. We show that the compressed oracle technique is also captured by the MLADV method. This might make the MLADV method a promising direction in the current quest to extend the compressed oracle technique to non-product distributions.
Keywords and phrases:
Quantum query complexity, compressed oracle, adversary methodCategory:
Track A: Algorithms, Complexity and GamesFunding:
Stacey Jeffery: This work is supported by ERC STG grant 101040624-ASC-Q and NWO Klein project number OCENW.Klein.061. SJ is a CIFAR Fellow in the Quantum Information Science Program.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Quantum complexity theoryEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Proving quantum query lower bounds is essential to understanding the limitations of quantum computers. In the bounded-error quantum query model, an algorithm for a problem receives its input – typically a string in for some integers and – encoded as a function , accessible only through queries. The algorithm may alternate such queries with arbitrary quantum operations, and it must produce the correct output on every input with probability at least . The bounded-error quantum query complexity of , denoted , is the minimum number of queries needed by any such algorithm. Allowing some small probability of error makes this a practical model of computation, and lower bounds on the query complexity of an algorithm are also lower bounds on the total number of steps the algorithm must make.
The first technique for proving quantum query lower bounds was the polynomial method [9], which showed that the acceptance probability of a quantum algorithm can be represented by a low-degree polynomial. In this method, one lower bounds the quantum query complexity of by lower bounding its approximate degree , by proving a lower bound on the degree of any polynomial with certain properties that must be satisfied by any successful algorithm. Later, the adversary method was introduced in [3] and generalized to its full version in [21]. Letting denote the best possible lower bound on the quantum query complexity of that one can prove using the adversary method, it was later shown that this quantity is equal, up to constants, to , making this a very powerful method. In contrast, there are problems for which the polynomial method is not able to prove tight lower bounds, since [4]. However, the polynomial method has an advantage over the adversary method. While the adversary method is only able to prove non-trivial lower bounds on bounded-error quantum query complexity, the polynomial method can be used to prove lower bounds on , the minimum number of queries needed by any quantum algorithm to compute with success probability at least , even when . This is particularly useful in cryptographic settings, as we discuss shortly.
A later more powerful variant of the adversary method is the multiplicative adversary method [31], which improves on the adversary method by allowing for lower bounds on even when the success probability is very small. This method is at least as powerful as both the adversary method and the polynomial method, but it has few applications simply because it is very difficult to apply. In both lower bound techniques and algorithmic techniques, there is often a tradeoff between the power of a technique, and its ease of application, and an important pursuit is to find techniques with just the right balance of power and ease of use.
A relative newcomer to the landscape of quantum query lower bound techniques is the compressed oracle technique. This was introduced in [32], and distilled into a formal framework in [14]. The compressed oracle framework was introduced in the context of post-quantum cryptanalysis, in order to lower bound the work needed by a quantum adversary that interacts with a quantum random oracle – a uniform random function that the adversary can query in superposition. As such an adversary’s goal is generally something nefarious, it is critical to show the impossibility of efficient adversaries that achieve their goal, even with success probabilities below a constant. This technique has received widespread use since its introduction, and seems to have a particularly nice balance of power and ease-of-use. There is a nice intuition behind the technique that makes it particularly well suited for adapting classical intuitions about the hardness of a problem to the quantum world, but it has also been powerful enough to prove a number of new results. Still, its use has remained mostly restricted to the setting of uniform functions, and it has proven resistant to relatively minor modifications, such as a generalisation to non-product distributions.
While the relationship between the other mentioned methods is well established, prior to this work, it was unknown where the compressed oracle method fit into the picture.
Contributions
In this work, we show that the compressed oracle technique can be viewed as a special case of the multiplicative adversary method, fitting it into the existing landscape of quantum query lower bound techniques. To do this, we introduce a simplification of the multiplicative adversary method called the multiplicative ladder adversary method (, Section 4), and show that the compressed oracle technique is actually a special case of this restricted method (Section 5). This restriction of the multiplicative adversary introduces intuitive structure that makes it, in principle, easier to apply, but we show that it is still powerful enough to capture the polynomial method (Section 7). In fact, to the best of our knowledge, virtually every use of the multiplicative adversary to date is an instance of a multiplicative ladder adversary. As further evidence of its natural structure, we show (Section 6) that exhibits a strong direct product theorem. These relationships (and others) are summarized in Figure 1.
We now give a more detailed survey of quantum query lower bound techniques, and discussion of our results.
1.1 Adversary methods
The original adversary method for proving quantum query lower bounds was first introduced in [3]. Applying this method reduces to mostly combinatorial arguments, which makes it very convenient to use, as shown by its many applications [8, 18, 13, 17]. However, this method does have some technical limitations, one of which is the certificate complexity barrier [33], which shows that there are problems for which this method cannot be tight. This limitation is addressed by the strictly stronger negative-weights adversary method by [21], now usually just referred to as the adversary method. This method is capable of proving tight lower bounds on the quantum query complexity of any in the bounded-error regime [28], but this power comes at the cost of making it more complicated to apply, as its greater abstraction removes the primarily combinatorial reasoning suggested by the constraints of the original adversary method. This means that even for very symmetric problems such as the collision problem [1], it is highly difficult to come up with a non-trivial lower bound using the adversary method, and the only known construction relies on studying the symmetries of the problem via representation theory [11]. Lower bounds on proven using the adversary method are proportional to , the algorithm’s success probability, making them negligible for exponentially small success probabilities. It is therefore only suitable for proving lower bounds in the bounded-error regime.
The latest and most powerful iteration in adversary methods, and the one most central to this work, is the multiplicative adversary method formalized in [31, 24], as a generalisation of an ad-hoc technique proposed in [7, 5]. This method is shown to be strictly stronger than the adversary method [6]. Since the adversary method is already tight in the bounded-error regime, this generalisation is particularly relevant in the low success probability regime, where it works even for exponentially small probabilities of success. This is a necessary condition for the method to exhibit a strong direct product theorem (SDPT), which intuitively states that to solve independent instances of a function, one needs times as many queries to achieve even an exponentially small (in ) probability of success. It was already shown in [31] that the multiplicative adversary method satisfies a SDPT, which allowed [24] to prove a SDPT for quantum query complexity. The multiplicative adversary’s applicability to the small success probability regime has also proven useful in proving quantum time-space tradeoff lower bounds [7]. However, just as the (negative-weights) adversary method is more complicated to apply than the original adversary method, the powerful multiplicative adversary method is even more complicated and, as a result, still has relatively few applications.
1.2 Polynomial method
Another technique for proving quantum query lower bounds is the polynomial method [9], which predates the adversary method. The method relies on the principle that for any -query quantum algorithm, its acceptance probability can be expressed as a multivariate polynomial of degree in the input variables. In any algorithm that computes with error , this polynomial gives an -approximation to , and so its degree, , is at least , the minimum degree of any polynomial that -approximates . This allows one to prove lower bounds on using results about polynomials. For example, the fact that a polynomial that changes value many times must have high degree implies a lower bound on problems like parity, that change value many times. Using much more involved reasoning, the polynomial method was used to give a tight lower bound on the collision problem [1], whereas an adversary lower bound for this problem was only constructed much later [11].
While the polynomial method is incomparable to the original adversary method [33, 4], the (negative-weights) adversary method subsumes it in the bounded-error regime; a reduction recently made constructive by [10]. The polynomial method does, however, work for small success probabilities, which makes it possible to prove SDPTs [23, 30]. Furthermore, as shown by [27], it can be reduced to the multiplicative adversary method.
1.3 Compressed oracle technique
For cryptographic security proofs, lower bounds on bounded-error quantum query complexity make little sense. Ruling out adversaries that succeed with a high probability of success (at least ) is not enough, and it is necessary to rule out adversaries with very small success probabilities as well. Moreover, worst-case query complexity, as captured by , is not the relevant quantity. Imagine an adversary whose task is to break some cryptosystem using its public key as input. A lower bound on only proves that there is some key on which the adversary requires many queries; it says nothing about the adversary’s resource requirements on a random key. This is instead captured by average-case quantum query complexity, which is defined with respect to some distribution of interest (often the uniform distribution).
The compressed oracle technique [32], introduced in the context of cryptographic security proofs, does precisely this, as it yields an upper bound on the probability of success for any quantum algorithm interacting with a random oracle, giving an average-case lower bound222Adversary methods also work by giving an average-case lower bound with respect to some distribution of inputs, which then implies a lower bound on the worst-case complexity. However, as the goal in using these is usually a worst-case lower bound, generally a deliberately hard distribution is chosen, rather than a uniform one. that holds even for exponentially small probabilities of success. Moreover, its analysis works via mostly combinatorial arguments that look quite similar to the types of reasoning one would use to prove classical lower bounds, which makes it straightforward to apply and has quickly resulted in many results [25, 15, 26, 14, 19, 16]. It also satisfies a SDPT, and has even been used to prove quantum time-space tradeoffs [20]. The limitation of this technique, however, is that it is not known how to apply it on input distributions where the values for different are not independent [15, 20]. This limitation makes it difficult to prove worst-case lower bounds, as the hardest input distributions often have some global structure. It also rules out applications involving certain interesting cryptographic primitives such as random permutations. For that specific case, an ad-hoc workaround has recently been devised by [2], extending the indifferentiability of the Sponge construction [12] to the quantum setting. From the standpoint of quantum query lower bounds, however, this remedy is no longer tight.
1.4 vs. other techniques
All methods discussed above operate by tracking some progress measure that must change significantly over the course of the algorithm, but can only change a small amount using a single query. For the polynomial method, this is the degree of the polynomials representing the amplitudes of the algorithm’s states. For the compressed oracle and the adversary methods, the measure of progress is somehow measuring the amount of entanglement between the algorithm and the input, when instantiated as a coherent superposition. Since the adversary and compressed oracle techniques have different drawbacks that do not seem to exist in the other, it is interesting to see what the explicit relationship between these techniques is. This could aid in the ongoing search for a fusion of both techniques: a compressed oracle technique that can be applied to input distributions where each is not necessarily assigned independently. On the cryptographic side, this could lead to (better) quantum security proofs for schemes using random permutations, such as the sponge construction [12]. On the quantum query lower bounds side, this might result in a technique that marries the power of the multiplicative adversary method – which works for all input distributions – with the intuitive combinatorial reasoning of the compressed oracle technique. Currently, the most promising result towards this “holy grail” has been a representation theory approach by [29] that allows for tackling the problem of inverting a random permutation.
In this work, we demonstrate that a generalised compressed oracle technique – one that accommodates distributions beyond random functions and permutations – must fall somewhere between the compressed oracle technique and the multiplicative adversary method. We explicitly show this by proving that the compressed oracle technique reduces to the multiplicative adversary method. We achieve this by defining a weaker version of the multiplicative adversary method, the multiplicative ladder adversary . An adversary lower bound (multiplicative or standard) is proven by exhibiting an adversary matrix that satisfies certain properties. In the technique, we restrict adversary matrices to those whose eigenvalues are increasing powers of some constant larger than , and whose eigenspaces form a “ladder” in the sense that a query can move the state up or down at most one eigenspace. This ladder structure makes reasoning about an algorithm’s progress much more tractable.
The method still satisfies a strong direct product theorem (SDPT, see Section 6) and remains more powerful than the compressed oracle technique. Additionally, we show that this new version also still encompasses the polynomial method (see Section 7). These results are summarized in Figure 1. We hope that this new intermediate technique will aid in the search for an extended compressed oracle technique, as we show that it incorporates the approach from [29] to random permutations as a special case.
2 Preliminaries
2.1 Linear algebra
In this work we consider finite-dimensional complex inner product spaces for some dimension . We use standard bra-ket notation for column and row vectors in . We consider all bra-ket vectors to be normalised unless specified otherwise. For a finite set , we let
using whichever notation is most convenient given the complexity of writing . For any two Hermitian operators , we write if their difference is positive semidefinite.
Definition 1 (Spectral norm).
Let be a matrix. Then the spectral norm (also known as the operator norm) of is
where is the standard vector -norm.
We will make use of the following standard result.
Lemma 2.
For any linear operator , the spectral norm of satisfies
2.2 Quantum query complexity
In the quantum query model, we are generally interested in computing a function on an input . We consider the case where is a subset of , so each can itself also be viewed as a function from to . For example, if and , then is an -bit string (which might have a promise defined by the subset ). In this work, we usually restrict ourselves to being any finite set of size and consider to be the finite set .
The memory of our quantum algorithm , tasked with computing on an input , is described without loss of generality by the registers , , and . Here, the input oracle acts on (as detailed below), while represents an additional workspace. The input function can be accessed by via an oracle, defined as follows:
Definition 3 (Oracle).
Fix a finite set of size and let . An oracle , encoding the input function , is a unitary transformation that acts on
with its action on the basis state defined as
The input is typically drawn from some (hard) input distribution over , denoted . Consequently, is a random variable. In adversary methods and the compressed oracle technique, this randomness is avoided by introducing an additional input register , which stores a superposition of function tables representing the input . In quantum information theory, this is known as purification. If , the register will be initialised as
Here, represents the initial state of the input register. It is important to note that this should not be confused with the initial state of the algorithm, which is the all-zero state. This purification of the input leads to the following purified oracle:
Definition 4 (Purified Oracle).
Fix a finite set of size and let . A purified oracle is a unitary transformation that acts on
with its action on the basis state defined as
From the perspective of the algorithm, it is indistinguishable whether it interacts with the random variable or the purified oracle with input register initialised to . The relationship between the two is captured by the following expression:
It is equivalent, and in this work more convenient, to encode the query into the phase by viewing the register in the Fourier basis instead of the computational basis .
Definition 5 (Fourier basis).
Let and let be the computational basis for . Then is the Fourier basis of , where each is defined as
Here denotes the imaginary unit to prevent ambiguity with the variable . The unitary map is also known as the Quantum Fourier Transform over the integers mod , which we denote .
In this Fourier basis, the oracle from Definition 4 acts on any basis state as
Additionally, it will often be convenient to decompose the oracle into diagonal unitary matrices given by
| (1) |
where each acts on the basis state as
Definition 6 (-Query Quantum Algorithm).
Fix a set of size and let . A -query quantum algorithm on is a sequence of unitaries on
for some finite set . For a fixed algorithm and a fixed input distribution , let
and let
denote the state of the algorithm before the -th query is made, and let
denote the reduced state of the input register, which we call the input register states for and . When and are clear from context, we will omit the notation.
In the definition of , both the queries and the unitaries act on a larger Hilbert space than originally defined, but each operator is implicitly understood to act tensored with the identity operator on any unaffected registers.
In this work, we compare various techniques designed to lower bound the quantum query complexity of a problem :
Definition 7 (-error Quantum Query Complexity).
Fix . Then the -error quantum query complexity of , denoted by , is the minimum number of queries needed by any quantum query algorithm to successfully output for every input with success probability at least .
3 The frameworks
In this section, we introduce the two main lower bound frameworks that will be compared throughout this work: the multiplicative adversary method and the compressed oracle technique. The other lower bound method discussed in this paper, the polynomial method, is not needed until Section 7, and we define it there.
3.1 The multiplicative adversary method
The general idea behind the adversary methods is that any algorithm for , run on a superposition of different inputs with different values of , must entangle the algorithm’s workspace (which must eventually contain the answer) with the input register , resulting in the reduced density matrix on , which is initially the pure state , becoming some mixed state .
This idea was already present in the original quantum adversary method [3], which was later generalised to the stronger negative-weights adversary method [21] (now often called the adversary method), which is tight in the bounded-error regime, i.e. . We will be interested in the even more powerful multiplicative adversary method, first formalised in [31] and further developed in [6, 24, 27]. We now describe this method.
Definition 8 (Multiplicative Adversary Matrix).
Fix . A multiplicative adversary matrix for problem is a positive definite matrix with smallest eigenvalue 1.
Any multiplicative adversary matrix gives rise to a progress measure, which is a way of quantifying how much progress a quantum algorithm has made after queries towards solving a particular problem .
Definition 9 (Progress).
Fix a problem , and input distribution supported on . Fix a multiplicative adversary matrix for , as in Definition 8, with eigenstate and a -query quantum algorithm , as in Definition 6. Let be the input register states for and input distribution before the -th query is made. The associated progress measure for is defined as
Theorem 10 quantifies in what way we can think of as a “progress measure.” After 0 queries, we have made no progress, which is indicated by (Item 1). After queries, if we want to claim that the algorithm actually solves with probability , then it must be the case that the progress has increased sufficiently above 1 (Item 3). Item 2 bounds the amount of progress that can be made in a single query.
Theorem 10 ([31, 6]).
Fix a problem , an input distribution on , and a multiplicative adversary matrix for with 1-eigenstate . Let be a real number with . Let be the projector onto the eigenspaces of corresponding to eigenvalues smaller than and let be a positive constant such that for every , where . Then:
-
1.
For any quantum algorithm , .
-
2.
For any -query quantum algorithm , and ,
-
3.
For any -query quantum algorithm that solves on input with success probability at least , .
Corollary 11.
For any that satisfies the constraints of Theorem 10, , problem , and input distribution on ,
where ranges over all multiplicative adversary matrices for with -eigenstate (see Definition 8) and ranges over .
3.2 Dealing with search problems
By Definition 7, we aim to lower bound the number of queries that any quantum query algorithm makes to successfully output for any input . All decision problems can be phrased in this form, where the set is equal to . However, it is not always possible to interpret more general search problems as computing a single-valued function .
For instance, consider the simplest search problem, known as Search. If we restrict to the hardest inputs, all goes well: we have that each is an -bit string with Hamming weight , and is defined to be the unique index such that . However, if we relax to include all -bit strings with Hamming weight at least , then there are multiple correct indices such that . Consequently, there is no longer a single correct value for for each . Further generalising to include all -bit strings leads to cases where some inputs contain no indices mapping to , making undefined for such inputs.
In search problems, the problem is therefore characterised by a relation , and the algorithm must output some on input such that . This formulation generalises the concept of computing a function , as we can define the relation corresponding to as the set . We shall see in Theorem 14 that the compressed oracle framework solves such search problems.
To remain closer to the notation used in Theorem 20, we still choose to frame search problems in terms of computing a function . To accommodate the fact that search problems can have multiple, or even no, correct outputs, we define that a quantum query algorithm has successfully computed a function on an input if it outputs such that (now allowed to be a set of valid outputs). Consequently, if is the set of possible outputs, then each is a subset of . To distinguish this from the earlier case where is a single value, we now write for such search problems, where denotes the power set of .
To reflect the modified definition of “success”, we also update the projector for each in Theorem 10 to:
We show that these modifications do not impact Item in Theorem 10, thereby generalising Theorem 10 to search problems:
Lemma 12.
Let be a multiplicative adversary matrix for a problem and let satisfy the constraints of Theorem 10. Let be the projector onto the eigenspaces of corresponding to eigenvalues smaller than and let be a positive constant such that for every , where .
Then for any -query quantum algorithm that solves on input with success probability at least ,
Proof.
This and all subsequent proofs can be found in the full version [22].
3.3 The compressed oracle technique
In the compressed oracle technique [32], Zhandry observes that in query problems where the algorithm interacts with a quantum random oracle, it is equivalent (by applying a purification) to assume that the algorithm is run on a uniform superposition over all possible functions from the set to the set . In this picture, a quantum adversary interacting with the quantum random oracle towards some nefarious end is analogous to a quantum algorithm run on input distribution , which is initialised to the uniform distribution over all functions from to :
| (2) |
We refrain from discussing the compressed oracle in depth here. For more details, see [32, 15, 20, 14]. Instead, we summarise the necessary parts needed to show how the compressed oracle technique can be used to derive quantum query lower bounds whenever . The input register holding any computational basis state , where , can be viewed as a tensor product of the different function values for for different values of :
This can be interpreted as a look-up table that fully describes the action of . We can also consider a Fourier basis (see Definition 5) for this register that represents a function in . Let be the Fourier basis of , where each is defined as
From this look-up table perspective, this means that we change the basis of all our entries in the look-up table. The key insight that Zhandry makes is that if we view both the input register in this Fourier basis, as well as the register, then a query (as in Definition 4) acts on a basis state as follows:
| (3) |
Here, denotes the point function satisfying and for all , so is the function that agrees with on all values except possibly , where it takes value . This change of perspective is quite peculiar: where in a regular query (as in Definition 4) the information stored in the register is “copied” into the register, this interaction is mirrored when viewing the register in the Fourier basis. Another added benefit of this basis change is that the initial state simplifies to
| (4) |
The action of the oracle in Equation 3, combined with Equation 4, implies the following consequence, which is the cornerstone of the compressed oracle technique:
Fact 13.
For any -query quantum algorithm and for any , we have that is supported on vectors in the Fourier basis of the form where
for some , , and .
We can construct an isometry , for every , that maps the register to if and only if this register contains , which represents the algorithm knowing nothing about the value stored in register :
By doing this for every we obtain the isometry
This isometry compresses the information of each of the basis vectors , for , in the support of , since has everywhere except for those registers indexed by . Let us extend to by defining . We can view
as a database, where we have applied to bring the databases back to the computational basis. We say that has size if , which we denote by , and remark that by , this basis conversion leaves the size of the database unaffected. We write
| (5) |
for the sets of all databases of size and at most , respectively. We let denote the set of all databases of any size. In this work, we use set notation when working with databases:
-
For any and such that , we can add a new entry to , to obtain . This means that the resulting database satisfies for every and .
-
For any and such that , we can delete the entry from , to obtain . This means that the resulting database satisfies for every and .
The compressed oracle gets its name from the fact that each database of size can be efficiently represented by the list of pairs , which is bounded in size due to Fact 13. Hence, the oracle operation can be efficiently computed by a quantum algorithm that lazy samples from the uniform distribution, and this circuit (see [15] for its explicit construction) is referred to as the compressed (Fourier) oracle:
| (6) |
This framework has many applications in cryptography [15, 26, 19, 16] by being able to analyse the interaction of an adversary with a random oracle, which as we have seen is equivalent to where the input register is initialised to the uniform superposition over all functions (see Equation 2). In [15, 20], it was shown that this can be generalised to superpositions over distributions where there is no correlation between the values in the registers and for distinct . In this work, we focus only on the application of the compressed oracle technique to quantum query lower bounds. A rigorous framework of this application has been given in [14], where the main ingredient of this lower bound (see Theorem 14 for the full statement) is of the following form:
Here, the property defines a set of tuples of size over . Each tuple is an element of and represents a list of input-output pairs . A property induces a relation on the input , as discussed in Section 3.2, by saying that for , we have if and only if the input-output pairs in are consistent with the input . As an example, consider the collision problem, where for any input , the goal is to output a pair , such that , referred to as a collision. The corresponding property in this case would be
A property also induces a subset , where if and only if it is consistent with one of the tuples in , meaning that there exists a and such that . For any subset , we denote the projection onto this subset as
| (7) |
Since these projectors project onto computational basis states, we have the added benefit that they commute for distinct choices of .
Theorem 14 ([14]).
Fix a finite set of size and let . Let be a property for some and consider a quantum algorithm that outputs . Let be the probability that both and for every when has interacted with a random oracle, initialised with a uniformly random function in . Then:
Remark 15.
The framework in [14] allows for an adversary that makes both sequential as well as parallel queries, whereas we restrict to only the sequential query version of their result. Moreover, they also allow for a series of properties instead of a single property , where they bound
Since the latter generalisation has thus far not been used for any application in the sequential query model, we consider the simplified lower bound as described and applied in [32, 25, 20].
The form of Theorem 14 is restricted compared to that of Theorem 10. We saw that we cannot run on any input distribution, but only on , since Theorem 14 requires the register to be initialised with a uniformly random function in . Since has to output , the technique always deals with search problems instead of decision problems. Despite this restriction, it does seem to come with a large advantage compared to the adversary methods. In practice, it appears to be much more straightforward, or at least more intuitive, to come up with a good bound on than it is to derive a good multiplicative adversary matrix and accompanying constants , and bound its progress . Furthermore, like the multiplicative adversary method, it also works well when one considers exponentially small success probabilities, whereas the negative-weights adversary method fails in this regime.
3.4 Average-case query complexity
Theorem 14, as stated, does not explicitly give a lower bound on , but it does imply one: Recall from Definition 7 and Section 3.2 that captures the number of queries required for any quantum query algorithm to successfully output for any input with success probability at least . By convexity, is lower bounded by the number of queries required for any input distribution , since:
However, is not an interesting metric in the case where could be , i.e. when there exists an input when the algorithm can’t successfully output for any input . This can occur in Theorem 14, as the input distribution is . For instance, recall the collision problem. Some inputs may contain no collisions, making it impossible for the quantum algorithm to output .
Additionally, even if the worst-case input admits a non-zero probability of success, it can often be more meaningful to show that the problem is hard on average rather than merely demonstrating the existence of an input where the problem is hard. This is particularly relevant in the context of cryptography, where it is more desirable to know that a randomly chosen security key yields a secure construction than to prove that there exists a single specific key ensuring security. Therefore, in the remainder of this work, we focus on deriving a lower bound for the average-case complexity rather than the worst-case complexity :
Definition 16 (-error Average-Case Quantum Query Complexity).
Fix . Then the -error average-case quantum query complexity of and input distribution on , denoted by , is the minimum number of queries needed by any quantum query algorithm such that
We can now use Theorem 14 to lower bound :
Corollary 17.
Fix a finite set of size and let . Let be a property for some . For every , define
Then for any and any problem satisfying for every , the -error average-case quantum query complexity is lower bounded by the smallest satisfying
Corollary 17 is slightly less conveniently phrased compared to Corollary 11 due to its dependence on in the term
4 Multiplicative ladder adversary method
Here, we propose a simplified version of the multiplicative adversary method, that we name the multiplicative ladder adversary (MLA) method, which we later prove has the compressed oracle technique as a special case (see Section 5) as well as the polynomial method (see Section 7). The MLA method is weaker than the multiplicative adversary method as it only considers a subset of all possible multiplicative adversary matrices , which we refer to as MLA matrices, but despite this restriction, it still exhibits a strong direct product theorem, as will be shown in Section 6.
4.1 Making the adversary matrix time-dependent
Before we define these MLA matrices in Definition 19, we first provide some motivation behind their definition. In Section 3.3, we saw that the compressed oracle seems to make more explicit use of the number of queries to compute the incremental progress by decomposing the set of all possible databases based on their sizes and integrating these into the projection . We generalise this notion by introducing the following construction, that captures the subspace of that is reachable from after a fixed number of queries.
First, we define a few components necessary for our construction. Let be an initial distribution on . For any and any choice of and , define
| (8) |
where is the normalisation factor, defined as
| (9) |
Lemma 18.
Define the sequence of subspaces as follows:
-
For , let , where is the initial state of the input register .
-
For , set
-
For , define .
Then each space represents the subspace of that is reachable from after queries:
-
For every , there exists a -query quantum algorithm , such that
-
For every and -query quantum algorithm , we have
Before we prove the lemma, we discuss some of its implications. First of all, we find that . Moreover, in the special case where , we have that
| (10) |
which recovers Fact 13.
We can combine with the projection that projects onto , to ensure that the progress keeps track of the number of queries done by the algorithm. The “” in the subscript of each of the projectors is there to emphasise that . This is due to the fact that we can let in . For any -quantum algorithm , initial distribution , , and multiplicative adversary matrix , we have
| (11) |
4.2 Mapping the progress onto a ladder
The structure of the database projections and in the compressed oracle technique (see Theorem 14) is, in practice, more convenient to work with than the more abstract projections . This is because these projections are built from the database basis states, which are more intuitive and allow for easy tracking of their sizes with each query (see Fact 13).
We aim to establish a similar structure on the eigenspaces of . These eigenspaces should resemble steps on a ladder, where each query moves the state up or down by at most one step. Additionally, these steps should be evenly spaced. To formalise this idea, we impose structural constraints on the spectral decomposition of :
| (12) |
Here, denotes the number of distinct eigenvalues of , which are sorted in ascending order, and each is the projector onto the eigenspace associated with the eigenvalue .
Definition 19 (Multiplicative Ladder Adversary Matrix).
Let be a multiplicative adversary matrix. We say that is a multiplicative ladder adversary (MLA) matrix if the following conditions hold:
-
The eigenvalues of satisfy for some , so that
-
For every , commutes with .
-
For all , , and , the projections onto the eigenspaces satisfy
(13)
The condition expressed in Equation 13 ensures that each query can move the state up or down by at most a single eigenspace. Meanwhile, the construction ensures that the multiplicative progress between successive eigenspaces is constant, specifically a factor of .
This new definition allows us to prove an MLA-version of Theorem 10. This result is strictly weaker, as it only considers a subset of all possible multiplicative adversary matrices, but it greatly simplifies the upper bound on the progress achievable in a single query (Item 2).
Theorem 20.
Fix a problem , an input distribution on , a constant , and an MLA matrix with -eigenstate (see Definition 19). Let be a real number with . Let be the projector onto the eigenspaces of corresponding to eigenvalues smaller than and let be a positive constant such that for every , where . Then:
-
1.
For any quantum algorithm , .
-
2.
For any -query quantum algorithm , and ,
-
3.
For any -query quantum algorithm that solves on input with success probability at least , .
Note that the upper bound on , the progress made in one step now depends on . This is necessary to capture the power of the compressed oracle method, where, for example, the probability of (i.e. amplitude on) finding a collision in a single query is greater the more queried values you have stored in memory.
Corollary 21.
For any that satisfies the constraints of Theorem 20, any , problem , and input distribution on , the -error average-case quantum query complexity is lower bounded by the smallest such that
The machinery of MLA matrices is not necessary for the reduction in Section 5. For this reduction, we construct multiplicative matrices with , which automatically satisfy Equation 13. However, a general is required if we aim to compute a function on independent instances simultaneously, as discussed in Section 6. Furthermore, almost all multiplicative adversary matrices constructed so far to establish lower bounds (see [7, 31, 6]) are, in fact, MLA matrices. This observation suggests that MLA matrices form a natural subset worthy of deeper analysis.
The following is a useful property, which we will employ in the subsequent sections:
Fact 22.
is monotonically non-decreasing in for all .
5 Reduction from the compressed oracle technique
In this section, we present an explicit reduction from the compressed oracle technique to our new MLA method:
Theorem 23.
Fix a finite set of size and let . Consider a property for some . For every , define
Let , and fix any problem satisfying for every . Define the quantities and as the lower bounds on obtained by Corollary 21 (with set to ) and Corollary 17, respectively. Then, we have
Recall from Corollary 17 that is equal to the smallest satisfying
| (14) |
We start by removing the compressed oracle in Equation 14. For , consider the following projections:
| (15) |
By the definition of from Equation 6, we find that the projections in Equation 15 allow us to rewrite the right-hand side of Equation 14 as:
Hence, by Corollary 17, is upper bounded by the smallest value of satisfying
| (16) |
Next, we show that for any , we can always construct an explicit MLA (see Definition 19), with accompanying parameter and satisfying the conditions of Theorem 20, such that any that satisfies
also satisfies
| (17) |
This then proves Theorem 23 by Corollary 21 and Equation 16.
For , we know from Definition 19 that any multiplicative ladder adversary matrix has the following form for some :
We set the eigenspaces of to correspond to the projections (see Equation 15) and .
Claim 24.
For each
| (18) |
Claim 25.
Let (see Equation 15), and for some constant . Then is an MLA matrix as defined in Definition 19 with as a -eigenvector.
Knowing that is an MLA with as a -eigenvector, we may apply Corollary 21. By taking the natural logarithm of both sides, it states
To show that this implies Equation 16, we set and multiply both sides of the equation with to arrive at
| (19) |
To finalise the proof, we show that the choice of satisfies the conditions of Theorem 20. By our choice of , the projection is equal to . The proof of the following lemma can be skipped if the reader is familiar with the compressed oracle technique, as the technique is reminiscent to the proof of the lemma in [32] that links the compressed Fourier oracle to the original oracle.
Lemma 26.
Let be a multiplicative adversary matrix (see Definition 8) with and . Then for every we have
where .
Knowing that is a valid value for , suppose that . Then
Together with Claim 24, Section 5 and Lemma 26, this means that our MLA matrix satisfies Equation 17, where in the penultimate step we use that is monotonically non-decreasing in (see Fact 22):
6 A strong direct product theorem
The machinery of MLA matrices seems a bit overcomplicated compared to what we actually needed in the reduction in Section 5. Since we only considered multiplicative adversary matrices where , we obtain the “ladder” property automatically. We will need general however if we want to compute a function on independent instances simultaneously.
Although it does not seem to fit in the framework of [14] directly, the compressed oracle framework also has the powerful property of being able to exhibit strong direct product theorems (SDPT), as shown in [25, 20]. Such a theorem states that if we try to compute on independent inputs in fewer queries than times the queries needed for a single instance of , then our success probability will decrease exponentially in .
It was already shown by [31] that the multiplicative adversary method directly satisfies a SDPT. Here we show that a similar proof as in [6], which is based on the proof in [31], also holds for the MLA method due to the fact (which we will prove) that the set of MLA matrices is closed under tensor powers. This motivates the study of the MLA method as a simplification of the multiplicative adversary method, since it maintains the property of satisfying a SDPT.
We introduce the following notation for this section: for any problem and integer let be defined as
Theorem 27.
For any problem , input distribution on , and fixed , let be the lower bound on obtained by Corollary 21. Then there exists a constant such that for any integer we have
7 Reduction from the polynomial method
In this section, we show how we can reduce the polynomial method to our new MLA method. Note that in this section, we can revert to the original notion of “success” (see Definition 7 and Definition 16). The polynomial method, due to [9], allows for lower bounding the quantum query complexity of a boolean function via its approximate degree:
Definition 28 (Approximate degree).
For any , the approximate degree of a boolean function is defined as
| (20) |
where the minimum is taken over all -variate polynomials .
Theorem 29 ([9]).
For any Boolean function , we have .
7.1 A tighter output condition
Recall from Theorem 10 that our progress measure in the multiplicative adversary framework must satisfy the following condition, from [31, 6]:
| (21) |
whenever has error at most . To prove the reduction, we need to use the fact that the progress measure must satisfy an even stronger condition, due to [24, 27], which we now describe.
Definition 30 ((Hadamard product) fidelity).
The fidelity between two density matrices and is defined as
The Hadamard product fidelity (introduced in [27]) between two Gram matrices and is defined as
where denotes the Hadamard (entrywise) product.
Let be the Gram matrix corresponding to our function , i.e.
Then in [24, 27] it is shown that the condition
| (22) |
must be satisfied when is as in Theorem 10, for any quantum algorithm that solves on input with success probability at least . This output condition is stronger than the one from Equation 21:
Fact 31.
Let be a multiplicative adversary matrix for a problem with Gram matrix and let satisfy the constraints of Theorem 10. Let be the projector onto the eigenspaces of corresponding to eigenvalues smaller than and let be a positive constant such that for every , where . Then for every gram matrix s.t. , we have
This stronger output condition was used in [24] to exhibit an SDPT for quantum query complexity and in [27] for the reduction from the polynomial method to the multiplicative adversary method. However, due to its abstract phrasing, it is less suited to prove explicit lower bounds. It is straightforward to reprove our SDPT from Theorem 27 for this stronger output condition, following the same argument as in [27].
Under the output condition from Equation 22, we obtain the following strengthening of Corollary 21:
Corollary 32.
For any , problem with Gram matrix , the -error quantum query complexity is lower bounded by the smallest such that
The reduction then takes the following form, which is proven in the full version [22]:
Theorem 33.
Fix any and problem . Let be the lower bound on obtained by Corollary 32. Then, we have
References
- [1] Scott Aaronson and Yaoyun Shi. Quantum lower bounds for the collision and the element distinctness problems. Journal of the ACM, 51(4):595–605, 2004. arXiv: quant-ph/0112086 doi:10.1145/1008731.1008735.
- [2] Gorjan Alagic, Joseph Carolan, Christian Majenz, and Saliha Tokat. The sponge is quantum indifferentiable. arXiv preprint, 2025. arXiv:2504.16887.
- [3] A. Ambainis. Quantum lower bounds by quantum arguments. Journal of Computer and System Sciences, 64(4):750–767, 2002. Earlier version in STOC’00. arXiv: quant-ph/0002066 doi:10.1006/jcss.2002.1826.
- [4] Andris Ambainis. Polynomial degree vs. quantum query complexity. Journal of Computer and System Sciences, 72(2):220–238, 2006. arXiv: quant-ph/0305028 doi:10.1016/J.JCSS.2005.06.006.
- [5] Andris Ambainis. A new quantum lower bound method, with an application to a strong direct product theorem for quantum search. Theory of Computing, 6(1):1–25, 2010. arXiv: quant-ph/0508200 doi:10.4086/TOC.2010.V006A001.
- [6] Andris Ambainis, Loïck Magnin, Martin Roetteler, and Jérémie Roland. Symmetry-assisted adversaries for quantum state generation. In 2011 IEEE 26th Annual Conference on Computational Complexity, pages 167–177. IEEE, 2011. arXiv: 1012.2112 doi:10.1109/CCC.2011.24.
- [7] Andris Ambainis, Robert Špalek, and Ronald de Wolf. A new quantum lower bound method, with applications to direct product theorems and time-space tradeoffs. In Proceedings of the thirty-eighth annual ACM symposium on Theory of Computing, pages 618–633, 2006. arXiv: quant-ph/0511200
- [8] Howard Barnum and Michael Saks. A lower bound on the quantum query complexity of read-once functions. Journal of Computer and System Sciences, 69(2):244–258, 2004. arXiv: quant-ph/0201007 doi:10.1016/J.JCSS.2004.02.002.
- [9] Robert Beals, Harry Buhrman, Richard Cleve, Michele Mosca, and Ronald de Wolf. Quantum lower bounds by polynomials. Journal of the ACM, 48(4):778–797, 2001. Earlier version in FOCS’98. arXiv: quant-ph/9802049 doi:10.1145/502090.502097.
- [10] Aleksandrs Belovs. A direct reduction from the polynomial to the adversary method. In 19th Conference on the Theory of Quantum Computation, Communication and Cryptography, 2024. arXiv: 2301.10317
- [11] Aleksandrs Belovs and Ansis Rosmanis. Adversary lower bounds for the collision and the set equality problems. Quantum Information and Computation, 2017. arXiv: 1310.5185
- [12] Guido Bertoni, Joan Daemen, Michaël Peeters, and Gilles Van Assche. Sponge functions. In ECRYPT hash workshop, 2007.
- [13] Harry Buhrman and Robert Špalek. Quantum verification of matrix products. In Proceedings of the 17th ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 880–889, 2006. arXiv: quant-ph/0409035
- [14] Kai-Min Chung, Serge Fehr, Yu-Hsuan Huang, and Tai-Ning Liao. On the compressed-oracle technique, and post-quantum security of proofs of sequential work. In Advances in Cryptology–EUROCRYPT 2021: 40th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Zagreb, Croatia, October 17–21, 2021, Proceedings, Part II, pages 598–629. Springer, 2021. ePrint: 2020/1305 doi:10.1007/978-3-030-77886-6_21.
- [15] Jan Czajkowski, Christian Majenz, Christian Schaffner, and Sebastian Zur. Quantum lazy sampling and game-playing proofs for quantum indifferentiability. arXiv preprint, 2019. arXiv:1904.11477.
- [16] Jelle Don, Serge Fehr, Christian Majenz, and Christian Schaffner. Online-extractability in the quantum random-oracle model. In Advances in Cryptology–EUROCRYPT 2022: 41st Annual International Conference on the Theory and Applications of Cryptographic Techniques, Trondheim, Norway, May 30–June 3, 2022, Proceedings, Part III, pages 677–706. Springer, 2022. ePrint: 2021/280 doi:10.1007/978-3-031-07082-2_24.
- [17] Sebastian Dörn and Thomas Thierauf. The quantum query complexity of algebraic properties. In Fundamentals of Computation Theory: 16th International Symposium, FCT 2007, Budapest, Hungary, August 27-30, 2007. Proceedings 16, pages 250–260. Springer, 2007. arXiv: 0705.1446 doi:10.1007/978-3-540-74240-1_22.
- [18] Christoph Dürr, Mark Heiligman, Peter Høyer, and Mehdi Mhalla. Quantum query complexity of some graph problems. SIAM Journal on Computing, 35(6):1310–1328, 2006. Earlier version in ICALP’04. arXiv: quant-ph/0401091 doi:10.1137/050644719.
- [19] Alex B Grilo, Kathrin Hövelmanns, Andreas Hülsing, and Christian Majenz. Tight adaptive reprogramming in the qrom. In Advances in Cryptology–ASIACRYPT 2021: 27th International Conference on the Theory and Application of Cryptology and Information Security, Singapore, December 6–10, 2021, Proceedings, Part I 27, pages 637–667. Springer, 2021. arXiv: 2010.15103 doi:10.1007/978-3-030-92062-3_22.
- [20] Yassine Hamoudi and Frédéric Magniez. Quantum time–space tradeoff for finding multiple collision pairs. ACM Transactions on Computation Theory, 15(1-2):1–22, 2023. arXiv: 2002.08944 doi:10.1145/3589986.
- [21] Peter Høyer, Troy Lee, and Robert Špalek. Negative weights make adversaries stronger. In Proceedings of the 39th ACM Symposium on the Theory of Computing (STOC), pages 526–535, 2007. arXiv: quant-ph/0611054 doi:10.1145/1250790.1250867.
- [22] Stacey Jeffery and Sebastian Zur. The compressed oracle is a worthy (multiplicative) adversary. arXiv preprint, 2025. arXiv:2509.07876.
- [23] Hartmut Klauck, Robert Špalek, and Ronald De Wolf. Quantum and classical strong direct product theorems and optimal time-space tradeoffs. SIAM Journal on Computing, 36(5):1472–1493, 2007. arXiv: quant-ph/0402123 doi:10.1137/05063235X.
- [24] Troy Lee and Jérémie Roland. A strong direct product theorem for quantum query complexity. computational complexity, 22:429–462, 2013. arXiv: 1104.4468 doi:10.1007/S00037-013-0066-8.
- [25] Qipeng Liu and Mark Zhandry. On finding quantum multi-collisions. In Advances in Cryptology–EUROCRYPT 2019: 38th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Darmstadt, Germany, May 19–23, 2019, Proceedings, Part III 38, pages 189–218. Springer, 2019. ePrint: 2018/1096 doi:10.1007/978-3-030-17659-4_7.
- [26] Qipeng Liu and Mark Zhandry. Revisiting post-quantum fiat-shamir. In Advances in Cryptology – CRYPTO 2019: 39th Annual International Cryptology Conference, Santa Barbara, CA, USA, August 18–22, 2019, Proceedings, Part II 39, pages 326–355. Springer, 2019. ePrint: 2019/262 doi:10.1007/978-3-030-26951-7_12.
- [27] Loïck Magnin and Jérémie Roland. Explicit relation between all lower bound techniques for quantum query complexity. International Journal of Quantum Information, 13(04):1350059, 2015. arXiv: 1209.2713
- [28] Ben W Reichardt. Span programs and quantum query complexity: The general adversary bound is nearly tight for every boolean function. In 2009 50th Annual IEEE Symposium on Foundations of Computer Science, pages 544–551. IEEE, 2009. arXiv: 0904.2759 doi:10.1109/FOCS.2009.55.
- [29] Ansis Rosmanis. Tight bounds for inverting permutations via compressed oracle arguments. arXiv preprint, 2021. arXiv:2103.08975.
- [30] Alexander A Sherstov. Strong direct product theorems for quantum communication and query complexity. In Proceedings of the forty-third annual ACM symposium on Theory of computing, pages 41–50, 2011. arXiv: 1011.4935 doi:10.1145/1993636.1993643.
- [31] Robert Špalek. The multiplicative quantum adversary. In 2008 23rd Annual IEEE Conference on Computational Complexity, pages 237–248. IEEE, 2008. arXiv: quant-ph/0703237
- [32] Mark Zhandry. How to record quantum queries, and applications to quantum indifferentiability. In Annual International Cryptology Conference, pages 239–268. Springer, 2019. ePrint: 2018/276 doi:10.1007/978-3-030-26951-7_9.
- [33] Shengyu Zhang. On the power of ambainis lower bounds. Theoretical Computer Science, 339(2-3):241–256, 2005. arXiv: quant-ph/0311060 doi:10.1016/J.TCS.2005.01.019.
