Manuscript Offprint
arXiv:2610.39702Quantum Query Complexity of Tournament Solutions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
A tournament solution records a set of winners from a tournament, that is, from the outcomes of all pairwise comparisons among alternatives. We study the quantum query complexity of computing tournament solutions when the outcome of each comparison has to be learned by a query. Classically, the picture is uniform: the Copeland set, the uncovered set and the top cycle all require queries, and so does finding a single vertex of maximum out-degree. We show that the quantum query complexity of the top cycle can be computed with queries, and a Condorcet winner can be found with queries. Finding a strong king requires queries, the same as finding a vertex of maximum out-degree. We also give a self-contained alternative proof of the known bound for finding a vertex of maximum degree, established by Gilani, Mande, Patro, and Raja [14]. Our lower bounds reduce counting problems to tournament problems using Ambainis's adversary method. For the top cycle, we find a Hamiltonian path and locate the prefix forming the top cycle by divide and conquer.
1 Introduction
A tournament is a directed graph in which every pair of distinct vertices is joined by exactly one arc. Tournaments model round-robin competitions, pairwise-majority relations in voting, and many other settings in which alternatives are compared in pairs. A tournament solution maps every tournament to a nonempty set of “winning” vertices. Standard examples include the Condorcet winner, the Copeland set (), the uncovered set () (equivalently, the set of kings), the Banks set and the top cycle (); see [21, 10] for more details.
In many applications the tournament is only given implicitly: learning the outcome of a single comparison may require an experiment, a clinical trial, or a poll [23]. This motivates the query model, in which an algorithm learns the orientation of an edge by querying it and is charged one unit per query. In this paper we study the quantum query model, in which queries may be made in superposition. Quantum query complexity is a natural setting for such problems: it captures the power of quantum algorithms such as Grover search and amplitude estimation, and it admits strong lower-bound techniques such as the adversary method.
Maiti and Dey [23] showed that computing the Copeland set, the Slater set, the Markov set, the bipartisan set, the uncovered set, the Banks set and the top cycle requires queries, both deterministically and for randomized algorithms. These lower bounds are proved by hiding a single decisive edge among unqueried ones, which a quantum algorithm can find with
Grover search using queries. For instance, the hard instances for the Copeland set relate a regular tournament to the tournaments obtained by reversing one edge; in Ambainis's adversary theorem (Theorem 2.13) this gives and , and hence only an quantum lower bound. Consequently, the quantum complexity of each tournament solution has to be revisited, and stronger quantum lower bounds require different constructions; ours are based on counting.
Classically, the query complexity of tournament solutions is remarkably uniform. Apart from the Condorcet winner, which can be found with queries [4, 27], all of the solutions listed above require queries [23], that is, reading a constant fraction of the tournament, and even finding a single vertex of maximum out-degree requires queries [15]. Likewise, Ismaili Alaoui and Mande [18] recently showed that finding a single strong king requires queries, answering a question of Biswas et al. [8]. In particular, the three classical solutions , namely, the Copeland set, the uncovered set and the top cycle, cannot be distinguished by their classical query complexity. In the quantum setting, we show that the largest of the three, the top cycle, is the easiest to compute, and the smallest, the Copeland set, is the hardest; the uncovered set requires and at most queries.
| Problem | Classical | Quantum | Result |
|---|---|---|---|
| Condorcet winner | [4, 27] | Thm. 6.2 | |
| Top cycle | [23] | Thm. 7.4, 7.5 | |
| Max. (out-)degree vertex | [15] | [14] | Thm. 4.2*, Thm. 4.4* |
| Strong king | [18] | Thm. 5.2 | |
| Uncovered set | [23] | Thm. 8.5 | |
| Copeland set | [23] | Thm. 6.7 |
Table 1: Query complexity of tournament solutions on vertices. Classical bounds hold for deterministic and randomized algorithms. *The quantum bound for the maximum degree is due to [14]; we give a different proof.
Our most surprising result concerns the Copeland set, the set of all vertices of maximum out-degree. We show that computing it requires quantum queries, matching the classical bound. This is in sharp contrast with a single Copeland winner, which can be found with quantum queries.
A Condorcet winner, if it exists, is the unique king of the tournament. Using the -query algorithm for finding a king of Mande, Paraashar and Saurabh [25], followed by one Grover search, we find a Condorcet winner or certify that none exists with queries, and a reduction from OR shows that queries are necessary. The same bounds hold for the Condorcet non-loser set.
For the top cycle we give an algorithm with queries, which is optimal up to logarithmic factors: the construction of Maiti and Dey [23] embeds OR on bits, which gives an lower bound. Since a tournament is strongly connected if and only if its top cycle contains every vertex, our algorithm also decides strong connectivity of tournaments with queries. This is in contrast to general directed graphs, for which strong connectivity requires queries in the adjacency-matrix model [12].
The remaining problems depend on out-degrees, and their hardness comes from counting rather than searching. The starting point is the problem of finding a vertex of maximum degree in a graph, or of maximum out-degree in a tournament. Gilani, Mande, Patro and Raja [14] recently showed that both problems have quantum query complexity , answering a question of [25]. Their lower bound reduces from the composed function and relies on the composition theorem of Lee et al. [22]. In Section 4 we give an alternative proof of their result. We reduce from a promise problem that we call HEAVY-ROW: given an Boolean matrix in which every row has weight , except possibly one row of weight , decide whether such a heavy row exists. This problem is a restriction of (see Section 2.2), and we prove its lower bound directly with Ambainis's adversary method, without the composition theorem. We include this proof because it is self-contained and, more importantly, because our tournament construction has additional structure on which the rest of the paper builds: the same construction shows that finding a strong king [17] also requires queries (Section 5), and a variant with many heavy rows gives our lower bound for the Copeland set (Section 6.2). The upper bound for strong kings is immediate, since every vertex of maximum out-degree is a strong king. Classically, finding a strong king requires queries [18], this is a polynomial quantum speedup, but a much smaller one than for kings, which can be found with quantum queries [25].
Finally, we show that computing the uncovered set requires queries. This separates the uncovered set from two closely related problems: a single king can be found with queries [25], and the top cycle, which contains every king, can be computed with queries. Together with the Copeland set, these results show that, quantumly, computing a whole tournament solution can be much harder than finding one of its members: versus for kings, and versus for Copeland winners.
1.2 Related work
Classical query complexity of tournament solutions: The query complexity of tournament solutions was studied systematically by Maiti and Dey [23]. Earlier, Balasubramanian, Raman and Srinivasaragavan [4], and Procaccia [27] showed that deciding whether a tournament has a Condorcet winner takes exactly queries in the worst case. Maiti and Dey proved that every deterministic or randomized algorithm for the Copeland set, the Slater set, the Markov set, the bipartisan set, the uncovered set, the Banks set and the top cycle must make queries. Goyal, Jayapaul and Raman [15] independently proved the bound for the Copeland set; in fact, they showed that even finding a single vertex of maximum out-degree requires queries, and more generally studied the query complexity of finding vertices of given degrees. Arora, Dey and Misra [3] showed that the classical barrier can be bypassed for tournaments close to transitive, given extra structural queries. We instead keep arbitrary tournaments and ordinary edge queries, and allow the queries to be quantum. We refer to [21, 10, 31] for more details of tournament solutions.
Kings and strong kings: Kings were introduced by Landau [20], who showed that every vertex of maximum out-degree is a king, so every tournament has a king. A tournament has exactly one king if and only if this king is a Condorcet winner [26], and there are tournaments in which every vertex is a king [28]. Shen, Sheng and Wu [29] gave a deterministic algorithm that finds a king with queries and showed that queries are necessary; closing this gap remains open. Mande, Paraashar and Saurabh [25] studied the randomized and quantum query complexity of finding a king and showed in particular that quantum queries suffice. Variants of this problem were studied in [8, 19, 1], and its communication complexity in [24]. Strong kings were introduced by Ho and Chang [17], who observed that every vertex of maximum out-degree is a strong king; see also [11]. Biswas, Jayapaul, Raman and Satti [8] asked whether a strong king can be found with queries, and Ismaili Alaoui and Mande [18] recently answered this in the negative: the deterministic and randomized query complexity of finding a strong king is . They also showed that deciding whether an arbitrary directed graph has a king requires queries, in contrast to tournaments, which always have one. Our bound thus gives a polynomial quantum speedup for finding a strong king, from to queries; in contrast, a king can be found with only quantum queries [25].
Quantum query complexity of graph problems: Dürr, Heiligman, Høyer and Mhalla [12] determined the quantum query complexity of several graph problems, including connectivity and strong connectivity, in the adjacency-matrix and adjacency-list models. Mande, Paraashar and Saurabh [25] asked about the quantum query complexity of finding a vertex of maximum out-degree in a tournament. This question was answered by Gilani, Mande, Patro and Raja [14], who proved an lower bound by combining the composition theorem of Lee et al. [22] with lower bounds for OR and for a promise version of majority; Section 4 gives an alternative proof of their result. Finally, our top-cycle algorithm starts by finding a Hamiltonian path by insertion sort; the connection between sorting and Hamiltonian paths in tournaments goes back to Bar-Noy and Naor [5].
2 Preliminaries
For a positive integer , we write . For a string , we write for its Hamming weight.
2.1 Tournaments and tournament solutions
Let be a tournament with . We write if and say that beats . The out-degree (or Copeland score) of is , and . For distinct let be the number of directed paths of length two from to . A tournament is regular if all its vertices have the same out-degree. A standard example is the circulant tournament: for odd , it is the tournament on the vertex set in which, for distinct and ,
We study the following tournament solutions; see [21, 10] for background and further examples.
Definition 2.1. Let be a tournament.
- A vertex is a Condorcet winner if and a Condorcet loser if . The Condorcet non-loser set is .
• The Copeland set is the set of vertices of maximum out-degree.
- A vertex is a king if every other vertex is reachable from by a directed path of length at most two. The set of all kings is called the uncovered set .
• A vertex is a strong king [17] if for every with .
- A nonempty set is dominant if every vertex of beats every vertex of . The top cycle is the unique smallest dominant set.
Every vertex of maximum out-degree is a king: if some vertex were not reachable from in at most two steps, then would beat and every out-neighbour of , so . Every king lies in the top cycle, since no vertex outside the top cycle can reach a vertex inside it. Hence .
Lemma 2.2. Every vertex of maximum out-degree in a tournament T belongs to .
We next give a degree-based characterization of strong kings. The following identity relates the number of directed two-paths between the endpoints of an arc to their out-degrees.
Lemma 2.3. If , then .
Proof. Let be the set of common out-neighbours of and . Since , the vertex is not an out-neighbour of . Every out-neighbour of therefore satisfies either , giving a 2-path , or , in which case . Hence, .
The out-neighbours of are itself together with vertices . Each such satisfies either , giving a 2-path , or , in which case . Hence, .
Subtracting the two identities gives .
This identity gives the following characterization.
Lemma 2.4 (Characterization). A vertex is a strong king if and only if for every with .
Proof. By Lemma 2.3, for the condition is equivalent to , i.e. .
Lemma 2.5. Every vertex of maximum out-degree is a strong king. In particular, every tournament has a strong king.
Proof. If , then for every vertex u, so v is a strong king by Lemma 2.4 below.
Our quantum algorithm for the top cycle begins by finding a Hamiltonian path. Hell and Rosenfeld [16] show that this can be done using comparisons, which are edge queries in our model.
Lemma 2.6 ([30, 16]). A Hamiltonian path of an -vertex tournament can be found by a deterministic algorithm with queries.
We also use a reachability description of the top cycle. The standard characterization of as the strongly connected component that dominates all other strongly connected components [10, Sec. 3.3, pp. 71–72] gives the following lemma.
Lemma 2.7. Let . Then:
(a) every in-neighbour of a vertex in also belongs to ;
(b) every vertex in can reach by a directed path.
Consequently, .
Quantum query model. We use the standard quantum query model. A tournament on the vertex set is given by a string in , with one bit for each pair of distinct vertices that specifies the orientation of the edge between them. It is accessed through the oracle , where indicates whether beats ; a graph is accessed analogously through its adjacency matrix, and a string through . The cost of an algorithm is the number of oracle applications, and the bounded-error quantum query complexity of a problem is the smallest cost of an algorithm that, on every input, outputs a correct answer with probability at least 2/3. In our lower bounds we build a tournament from an input such that every edge of is either fixed or determined by a single bit of . A query to can then be simulated with at most one query to , so an algorithm on that makes queries gives an algorithm on that makes at most queries.
We recall several standard quantum query bounds that we use throughout the paper.
Theorem 2.8 ([6]). For every positive integer , the bounded-error quantum query complexity of is .
Theorem 2.9 ([25]). A king of an -vertex tournament can be found with bounded error using quantum queries.
Finally, we use the following search guarantee when the number of marked inputs is unknown.
Theorem 2.10 ([9], Theorem 3). Let and , where is unknown. There is a quantum algorithm that, if , outputs a marked element using an expected queries to . Moreover, for every , stopping it after queries gives an algorithm that reports “no marked element” when , and errs with probability at most when .
2.2 The Heavy-Row problem and the adversary framework
To prove lower bounds for several problems studied in this paper, we use the following promise problem, which we call the HEAVY-ROW problem. It captures the single-row, unit-gap signal used in our reductions: a row of weight will correspond to a vertex whose (out-)degree is one larger than that of a vertex corresponding to a row of weight k.
Definition 2.11 (HEAVY-ROW). Fix an odd integer and let . An input is an Boolean matrix , so there are Boolean variables. For each row , let and let denote its Hamming weight. Let
Inputs in are no-instances and inputs in are yes-instances; in a yes-instance, is called the heavy row. Given , the task is to decide which case holds.
Example 2.12. For we have . The no-instance
has 6 zeros, and changing any one of them into a 1 gives a yes-instance, so . Flipping the top-middle entry gives the yes-instance
from which the only way back into is to clear one of the two 1s of the top row, so . The bound of Theorem 2.13 is .
Relation to prior work. HEAVY-ROW is a restricted version of the composed function used by Gilani, Mande, Patro and Raja [14] in their lower bounds for maximum degree. There, PRMAJ (promise majority) distinguishes strings of even length and Hamming weight from strings of weight , and one asks whether at least one of such strings is heavy. HEAVY-ROW differs only in that the row length is odd, so that the two weights are and , and in the additional promise that at most one row is heavy. Gilani et al. obtain an lower bound for by combining the composition theorem of Lee et al. [22] with the bounds [7] and [2]. The composition theorem as stated there requires the outer function to be total, so it does not immediately give a bound under the promise that at most one row is heavy. In Section 3 we instead give a short, self-contained proof for HEAVY-ROW that uses only Ambainis's adversary theorem. Since appending a fixed 1 to every row maps an instance of HEAVY-ROW to an instance of with the same answer, our bound also yields an lower bound for .
We will show that the quantum query complexity of HEAVY-ROW is by applying Ambainis's general lower-bound theorem [2].
Theorem 2.13 (Ambainis [2]). Let be a function of Boolean variables, and let be sets of inputs such that whenever and . Let be such that:
(1) for every there are at least different with ;
(2) for every there are at least different with ;
(3) for every and there are at most different with and ;
(4) for every and there are at most different with and .
Then every bounded-error quantum algorithm computing uses queries.
3 A Query Lower Bound for the Heavy-Row Problem
In this section, we prove a lower bound on the quantum query complexity of HEAVY-ROW by applying Ambainis's theorem (Thm. 2.13).
Theorem 3.1. .
Proof. Apply Theorem 2.13 with the set of no-instances, the set of yes-instances, and .
Parameter . Let . Each row of has zeros, so has zeros in total. Changing any one of them into a 1 raises that row to weight and leaves the other rows at weight , which gives a yes-instance. Hence .
Parameter . Let with heavy row . A related is obtained by changing one 1 of into a 0. If the changed 1 lies in row , every row of the result has weight , so the result lies in ; there are such choices. If it lies in another row, that row drops to weight and the result is not a valid input. Hence .
Parameters and . Related inputs differ in exactly one position. So for fixed and a fixed position , the only related that can differ from at is the one obtained by flipping itself. Hence , and by the same argument . Since , Theorem 2.13 gives .
4 Maximum degree
In this section, we study two maximum-degree problems. In MAXDEG-VERTEX, given an -vertex undirected graph, the task is to output a vertex of maximum degree. Its quantum query complexity is [14]; we give a self-contained proof, which also extends to directed graphs. We also study MAXOUTDEG-TOURNAMENT: given an -vertex tournament, the task is to output a vertex of maximum out-degree. We prove the same bound for this problem.
4.1 Maximum degree in general graphs
To obtain the quantum upper bound, computing the degree of each vertex classically requires queries, and finding the maximum among the degrees takes queries [13]. Thus, the total query complexity is . For the lower bound we prove the following proposition.
Proposition 4.1. Finding a vertex of maximum degree in an -vertex undirected graph requires .
Proof. We will reduce this problem from the HEAVY-ROW problem. Let be an instance of the HEAVY-ROW problem.
Construction of the undirected graph: Construct an undirected graph with vertices. Let , and be a partition of its vertex set where , , and .
The edge set of is defined as follows:
• if and only if
• for all i, l
Each query to costs at most one query to . If every row of has weight or , then , , and .
Since , the vertices of maximum degree are all of if , and only if with heavy row .
Therefore, finding a vertex of maximum degree in the constructed graph distinguishes between the two cases of the Heavy-Row problem. Since the Heavy-Row problem requires queries, finding a maximum-degree vertex also requires queries. As , this gives a lower bound of . For values of not divisible by three, we can add isolated vertices without affecting the argument.
Combining this lower bound with the upper bound gives a query complexity of for finding a maximum-degree vertex in both undirected and directed graphs.
Theorem 4.2. in both undirected and directed graphs.
4.2 Maximum Out Degree in Tournament
The quantum query complexity of finding the maximum out-degree vertex in a tournament is the same as in general graphs, that is, . The upper bound follows from the same argument as in the general case.
Proposition 4.3. Finding a vertex of maximum out-degree in an N-vertex tournament requires quantum queries.
Proof. We will reduce this problem from the HEAVY-ROW problem. Let be an instance of the HEAVY-ROW problem.
Construction of the Tournament : Let , where is odd. Let , and be the partition of its vertex set with , , and . Since is odd, we can construct a circulant tournament within each set.
Furthermore, partition into the triples , for , where consists of the vertices such that .
Add the arcs between the sets as shown in Figure 1:
Out-degrees: For :
For : beats exactly the three vertices of each triple with , so

Figure 1: The three vertex sets of . Solid arrows indicate that every vertex in one set dominates every vertex in the other set in the indicated direction. The dashed arrow represents the only input-dependent edges.
For : .
Thus, if , then , attained by every vertex of . If with heavy row , then , and the vertices of maximum out-degree are exactly the three vertices of .
Therefore, finding a vertex of maximum out-degree in the constructed tournament allows us to solve the Heavy-Row problem, as in the general-graph case. Since the Heavy-Row problem requires queries, finding a maximum out-degree vertex also requires queries. As , this gives a lower bound of .
For values of that are not of the form with odd. Let , let be the largest odd integer with , and let . Then , and since , we have , so . Let be the tournament obtained from by adding new vertices, ordered transitively among themselves, each of which loses to every vertex of . Every vertex of gains exactly out-neighbours, so the order of the out-degrees within is unchanged, and every vertex of has out-degree at least in . Every new vertex beats only new vertices, so its out-degree is at most . Hence and have the same vertices of maximum out-degree. The new edges do not depend on , so the argument above applies to without change, and finding a vertex of maximum out-degree in an -vertex tournament requires queries for every . Since the bound is asymptotic, this completes the proof.
Combining the upper and lower bounds, we obtain the following theorem.
Theorem 4.4. .
5 Strong Kings
In this section, we prove that the quantum query complexity of finding a strong king in a tournament is . By Lemma 2.5 and Theorem 4.4, the upper bound follows directly. For the lower bound, the construction which we use for maximum out-degree is the same. To complete the argument for strong kings, we need the following observation and lemma.
Since is a circulant tournament it is easy to observe the following.
Observation: For every vertex and every , some vertex of beats .
Using the above Observation, we obtain the following lemma.
Lemma 5.1. (a) If is a no-instance, the strong kings of are exactly the vertices of .
(b) If is a yes-instance with heavy row , the strong kings of are exactly the three vertices of .
Proof. We use Lemma 2.4 throughout.
No vertex of is a strong king: each is beaten by every , and .
No vertex of is a strong king: each is beaten by every , and .
In a no-instance, every vertex of A has out-degree 8m, the maximum in . By Lemma 2.5, all of them are strong kings.
In a yes-instance, the vertices of have the unique maximum out-degree , so they are strong kings by Lemma 2.5. Every other has out-degree . By Observation 5 some beats , and , so is not a strong king.
Theorem 5.2. .
Proof. Let be a quantum algorithm that outputs a strong king of any -vertex tournament with probability at least as follows.
-
Run on (with ), simulating each tournament query with queries to . Let be its output.
-
If for some , read the bits of row and answer yes if and only if .
-
If , answer no.
Correctness. On a no-instance every row has weight , so the algorithm always answers no, whatever outputs. On a yes-instance, with probability at least the output is a strong king, hence by Lemma 5.1(b), and the row check answers yes. So the error is at most .
Cost. Step 1 makes at most queries to , and Step 2 makes queries. Hence the algorithm solves HEAVY-ROW with at most queries. Since HEAVY-ROW requires queries (Theorem 3.1), we get , that is, .
For general , we use the tournament from the proof of Proposition 4.3, obtained from by adding new vertices, ordered transitively among themselves, each of which loses to every vertex of . It remains to check that and have the same strong kings, for which we use Lemma 2.4. Let be a vertex of . Every new vertex loses to , so has the same in-neighbours in as in , and every out-degree in increases by exactly ; hence is a strong king of if and only if it is a strong king of . A new vertex is beaten by every vertex of , and these vertices have out-degree at least in , so is not a strong king. Therefore the algorithm above works with in place of , and for every , since .
6 Quantum query complexity of Tournament Solutions
6.1 Condorcet Winner
In this problem, we must output the Condorcet winner of an N-vertex tournament if it exists; otherwise, we report that no Condorcet winner exists.
Lemma 6.1. If is a Condorcet winner of , then is the unique king of .
Proof. The vertex reaches every vertex in one step, so it is a king. Since has in-degree 0, no other vertex can reach by a path of any length, so no other vertex is a king.
Since a Condorcet winner is the unique king, the following theorem gives quantum query bounds for finding a Condorcet winner.
Theorem 6.2. The bounded-error quantum query complexity of finding a Condorcet winner in an -vertex tournament is and .
Proof. The algorithm first finds a king using Theorem 2.9, then uses Grover search to find a vertex with in queries. If none exists, it outputs ; otherwise, it reports that no Condorcet winner exists.
For the lower bound, we reduce from , whose bounded-error quantum query complexity is [6]. Let and let be an input to . We construct a tournament on the vertex set , where .
Edges inside . We fix a tournament on in which every vertex has in-degree at least one: we let for every , and orient the remaining pairs of arbitrarily but fixed, independently of .
Edges at . For every , we let if , and if .
Correctness. No vertex is a Condorcet winner of , because it is beaten by . The vertex is a Condorcet winner if and only if it beats every , that is, if and only if for every . Thus, has a Condorcet winner if and only if , which is if and only if .
Thus, running any -query bounded-error quantum algorithm for deciding whether an -vertex tournament has a Condorcet winner on and negating its output computes using queries. Hence, .
Corollary 6.3. The Condorcet non-loser set can be computed with quantum queries, and queries are necessary.
6.2 Copeland Set
The Copeland set of a tournament is the set of all its vertices of maximum out-degree. Finding one such vertex was treated in Section 4; here we compute the whole set. Querying all edges computes it, so the problem is only interesting for lower bounds, and we show that this trivial algorithm is optimal up to a constant factor. For the lower bound, we generalize HEAVY-ROW from one heavy row to many.
Definition 6.4 (HEAVY-ROWS_k). Fix an odd integer and let , as in Definition 2.11. For , let be the set of Boolean matrices with exactly rows of weight and the remaining rows of weight ; we call the rows of weight heavy. In HEAVY-ROWS, we are given and must decide whether or .
Lemma 6.5. .
Proof. We apply Theorem 2.13 with and , relating and if is obtained from by changing a single 0 into a 1. Note that .
Parameter . Let . It has non-heavy rows, and each of them has zeros. Changing one of these zeros into a 1 makes that row heavy and yields an element of , while changing a 0 in a heavy row creates a row of weight . Hence .
Parameter . Let . It has heavy rows, and each of them has ones. Changing one of these ones into a 0 yields an element of , while changing a 1 in a non-heavy row creates a row of weight . Hence .
Parameters and . Related inputs differ in exactly one position, so .
Theorem 2.13 gives the bound .
We use the tournament on N = 10m + 1 vertices from the proof of Proposition 4.3.
Lemma 6.6. Let with . Then is the union of the triples of the heavy rows of , so .
Proof. By the proof of Proposition 4.3, every vertex of a triple has out-degree if row is heavy and otherwise, and every vertex of has out-degree less than . Since , the maximum out-degree is , and it is attained exactly by the vertices of the triples of the heavy rows.
Theorem 6.7. The bounded-error quantum query complexity of computing the Copeland set of an N-vertex tournament is .
Proof. The upper bound holds since an algorithm can query all edges.
For the lower bound, first let for an odd integer , and let . Let . By Lemma 6.6,
Let be a bounded-error quantum algorithm that computes the Copeland set using queries. We run on , simulating each query to with at most one query to , and answer that if and only if the returned set has vertices. This solves HEAVY-ROWS with at most queries, so by Lemma 6.5.
Now let be arbitrary, let be the largest odd integer with , so that and , and let . We add new vertices to , ordered transitively among themselves, each of which loses to every vertex of . Every vertex of gains exactly out-neighbours, so the order of the out-degrees within is unchanged, and every vertex of now has out-degree at least . Each new vertex beats only new vertices, so its out-degree is at most . Hence, the Copeland set does not change. The new edges do not depend on , so each query is still simulated with at most one query to , and the bound holds for every . For the statement is trivial.
7 Top Cycle
In this section, we establish quantum upper and lower bounds for finding the top cycle of a tournament. Classically, computing the top cycle requires queries [23]. We show that its quantum query complexity is . Our algorithm first finds a Hamiltonian path. The top cycle forms a prefix of this path, and finding the end of this prefix reduces to an interval-covering problem, which we solve using divide-and-conquer.
Fix a Hamiltonian path . For , cut separates from . A back edge is a pair with and . Since , every back edge satisfies . The back edge covers cut if , that is, it covers the cuts .
Lemma 7.1. Let be the smallest cut not covered by any back edge, then . Further, if every cut is covered by a back edge, then .
Proof. First, every dominant set is a prefix of the path: if and for some , then , contradicting . Second, the prefix with is dominant if and only if no vertex after cut beats a vertex before it, that is, if and only if no back edge covers cut . Since is the smallest dominant set, the claim follows.
By Lemmas 2.6 and 7.1, it remains to find the smallest uncovered cut. We query , where ; each query costs one.
Represent each back edge as the grid point in column and row . For a set of columns, define , with . Then, for every , cut is covered by a back edge in a column less than if and only if .
Fact 7.2. Let be a set of columns times rows and let . There is a quantum algorithm that uses queries and, with probability at least , either correctly reports that contains no back edge, or returns the smallest column and the largest row among the back edges in .
Proof. Apply Dürr-Høyer minimum finding [13] to the column indices of back edges, and then to the negated row indices. Each value query costs at most one query to . Repeating each search times gives output with probability at least .
The recursive procedure SOLVE looks at the cuts and is given two numbers:
-
the reach , the farthest row reached by back edges that start before column ; every cut with is already covered;
-
the ceiling : every back edge that starts in columns ends at row or below, so searches never need to look higher.
It either reports UNCOVERED, where is the first uncovered cut in the range, or reports COVERED, meaning that every cut in the range is covered and is the new reach, now including the back edges that start in columns . It proceeds as shown in the Algorithm 2.
Further, to compute TC, we find a Hamiltonian path (Lemma 2.6) and call SOLVE. If it returns UNCOVERED, we output ; otherwise we output .
Algorithm 1 TOPCYCLE(T)
1: find a Hamiltonian path Lemma 2.6 2: no back edge starts before column 1 3: no back edge ends beyond row N 4: ans SOLVE(1, N - 1, U, M) 5: if ans = UNCOVERED(t) then 6: return 7: else 8: return V every cut is covered 9: end if
Algorithm 2 SOLVE(l, r, U, M)
1: if l > r then empty range: nothing to check 2: return COVERED(M) 3: end if 4: if M > r then all cuts l, ..., r are already covered 5: Find the largest row H of a back edge in (H = -∞ if none) use Fact 7.2 6: return COVERED(max(M, H)) only update the reach 7: end if 8: if l = r then a single cut 9: Find the largest row H of a back edge in (H = -∞ if none) 10: if M > l or H ≠ -∞ then covered by an earlier edge or one in column l 11: return COVERED(max(M, H)) 12: else 13: return UNCOVERED(l) cut l is uncovered 14: end if 15: end if 16: m ← ⌊(l + r)/2⌋ split at the middle cut 17: Use Fact 7.2 on the rectangle R = [l, m] × [m + 2, U] of leaving back edges 18: if R contains a back edge then 19: let e be the smallest column and H the largest row of a back edge in R 20: cuts e, ..., m are covered by the back edge in column e 21: ans ← SOLVE(l, e - 1, m + 1, M) cuts before e 22: if ans = UNCOVERED(p) then 23: return UNCOVERED(p) first uncovered cut found 24: end if 25: let ans = COVERED(M'); set where M' is the largest row of a back edge that starts in a column at most r new reach 26: else no leaving back edge 27: ans ← SOLVE(l, m, m + 1, M) the whole left half 28: if ans = UNCOVERED(p) then 29: return UNCOVERED(p) first uncovered cut found 30: end if 31: let ans = COVERED(M'); set new reach 32: end if 33: return SOLVE(m + 1, r, U, M_R) right half, with the new reach
Lemma 7.3 (Correctness of the Algorithm). Assume that every search succeeds. Consider a call SOLVE(l, r, U, M) with and such that
(I1) every cut p < l is covered;
(I2) ;
(I3) every back edge with satisfies .
If some cut in is uncovered, the call returns UNCOVERED(p) for the smallest such cut p. Otherwise it returns COVERED(reach([1,r])).
Proof. We prove this by induction on the width . Note that, by (I1), the first uncovered cut in , if there is one, is the first uncovered cut overall.
Steps (1)–(3): no recursion. If (Step 1), there is nothing to check, and by (I2). If (Step 2), the back edge that ends at row starts before column and ends after cut , so it covers every cut in ; by (I3), the search sees every back edge that starts in , so . If (Step 3), cut is covered either by an earlier back edge, which by (7) happens exactly when , or by a back edge that starts in column , which the search finds by (I3).
Step (4): splitting at m. By (I3), the rectangle R contains exactly the leaving back edges: those that start in and end at row or later. We check that the recursive calls are given correct information and that their answers combine correctly.
The left call. It has the same and , so (I1) and (I2) still hold. It also satisfies (I3) with ceiling : in case (a), a back edge that starts before column and ends at row or later would be a leaving back edge in a column smaller than , which is impossible; in case (b), there are no leaving back edges at all. By induction, the left call either returns the first uncovered cut of its range, which we return, or reports that all its cuts are covered and returns their reach .
The cuts in case (a). They are covered by the leaving back edge that starts in column , since it ends at row or later.
The new reach. In case (b), . In case (a), the back edges that start before column reach , the leaving back edges reach , and every other back edge that starts in ends at row at most . Hence .
The right call. At this point every cut up to is covered and , so the right call satisfies (I1) and (I2), and (I3) holds with the same . By induction, it returns the correct answer for , which is then the correct answer for .
The induction is well founded, because both recursive calls are narrower than : their widths are at most and , both less than when .
The top call SOLVE(1, N - 1, N, -∞) satisfies (I1)–(I3) trivially, so together with Lemma 7.1 the output is TC(T).
Total queries to compute SOLVE(l, r, U, M): Each call performs at most one search, over a rectangle of area at most , where be its width and its height. For a call with , the left child has width at most and height , and the right child has width and height . Every call satisfies : this holds for the top call , for left children, and is preserved by right children.
Depth and calls. Widths shrink by a factor of at least 2/3 from a call to its children, so the recursion depth is . The column intervals of calls at the same depth are disjoint, so their widths sum to at most N. Every call has at most two children, so there are calls.
Group the calls into chains , where is the top call or a left child, and is the right child of . Every call lies in exactly one chain. Along a chain, and , so, using ,
The top call has . A left child of a call with has , and each call has at most one left child. Summing over depths gives
Theorem 7.4. The top cycle of an N-vertex tournament can be computed with bounded error using quantum queries.
Proof. Using Algorithm 1 with Fevery search performed by Fact 7.2 with . A search over an area at most costs queries, so the total query is .
Theorem 7.5. Every bounded-error quantum algorithm that computes the top cycle of N-vertex tournaments makes queries.
Proof. We follow the construction of [23, Theorem 3.8]. Let , and take vertex sets and , plus one vertex that loses to every other vertex if is odd. Inside , orient for every and the remaining pairs arbitrarily but fixed; do the same inside . Then is strongly connected. Given , orient if and otherwise. Each tournament query costs at most one query to .
If , then beats every vertex outside , so is dominant; and no proper nonempty subset of is dominant, since is strongly connected. As dominant sets are ordered by inclusion, . If , then some beats some , so is not dominant and . Hence an algorithm computing computes , which requires queries (Theorem 2.8).
8 Uncovered Set
In a tournament, the uncovered set is exactly the set of kings. A single king can be found with quantum queries [25], and the top cycle, which contains all kings, can be computed with queries (Section 7). We now show that computing the whole uncovered set is harder: it requires queries.
To prove the lower bound we will define a problem as follows:
Definition 8.1 (Tight and deficient matrices). Let be an Boolean matrix. We say that W is
• tight: if every column of W contains exactly one 1;
deficient: if exactly one column of W is all 0, and every other column contains exactly one 1.
Changing a 0 in the all-zero column of a deficient matrix into a 1 makes it tight, and changing any 1 of a tight matrix into a 0 makes it deficient.
Definition 8.2 (TIGHT-COUNT ). For , let be the set of -tuples of Boolean matrices in which every is tight or deficient and exactly of them are tight. In the problem TIGHT-COUNT we are given an input from and must decide which of the two sets contains it.
Lemma 8.3. Let . Every bounded-error quantum algorithm for TIGHT-COUNT , that is, every algorithm that distinguishes from , makes queries to .
Proof. We apply Theorem 2.13 with and , relating and if is obtained from by changing a single 0 into a 1.
Parameter . Let . Changing a 0 in the all-zero column of one of the deficient blocks gives an element of , and there are such cells in each of these blocks. Changing any other 0 creates a column with two 1s, which is not allowed. Hence .
Parameter . Let . Changing one of the s ones of one of the tight blocks into a 0 gives an element of X. Changing a 1 of a deficient block would create a second all-zero column, which is not allowed. Hence .
Parameters L and . Related inputs differ in exactly one position, so .
Thus, theorem 2.13 gives the bound .
We will reduce the TIGHT-COUNT problem to the Uncovered set problem. Let y be the instance of TIGHT-COUNT .
Construction: Let . The tournament has vertex set , where and . Each block and contains vertices, while and . Thus, has vertices.
The input is a string , and for , we let if and otherwise. All other edges are fixed:
(E1) beats every vertex of , loses to every vertex of , and loses to every vertex of ;
(E2) , and whenever ;
(E3) for all p, q;
(E4) beats every vertex of and of , and loses to every vertex of ;
(E5) h beats every vertex of A and every helper , and loses to every vertex of B;
(E6) all remaining pairs (inside A, inside B, among the puzzle vertices, and among the helpers ) are oriented arbitrarily but fixed, independently of y.
input edges: iff

Figure 2: Construction of the tournament
Only the edges between A and B depend on y, and each of them depends on a single bit, so every query to costs at most one query to y.
For , the block is the Boolean matrix , with rows indexed by and columns indexed by . Every bit of belongs to exactly one block, so is the same as the -tuple of matrices. The column of indexed by contains a 1 if and only if is beaten by some vertex of .
Lemma 8.4. For all , the vertex is a king of if and only if is tight.
Proof. Write . By (E1)–(E3), the out-neighbours of are the vertices of , and , and possibly some other vertices. We check, for each vertex with , whether reaches in two steps.
• If , , or is another vertex, then by (E2) and (E4).
• If with , then by (E3) and (E5).
• If , then beats by (E4), beats by (E5), and beats every vertices by (E1). Hence reaches in two steps if and only if some satisfies , that is, .
Therefore is a king if and only if every is beaten by some , which means that every column of contains a 1. A tight matrix has this property, and a deficient matrix does not.
Theorem 8.5. Every bounded-error quantum algorithm that computes the uncovered set of N-vertex tournaments makes queries.
Proof. Let , and set , , and in the construction. Let . By Lemma 8.4, if and only if is tight. Consequently, contains exactly vertices of the form when , and exactly when . Since the collection of vertices is fixed independently of , an algorithm that outputs can count these vertices without additional queries. Thus, it solves TIGHT-COUNT. Each query to can be simulated using at most one query to , so Lemma 8.3 gives a lower bound of , since and both and are at least .
Now consider an arbitrary . Let be the largest integer such that ; then and . Extend to a tournament on vertices by adding new vertices, orienting the edges among them transitively, and making every new vertex lose to every vertex of .
We have . Every king of remains a king, since it beats every new vertex. A non-king of remains a non-king: a new vertex cannot provide a two-edge path to a previously unreachable vertex of , since every new vertex loses to every vertex of . Finally, no new vertex is a king. It has no edge to a vertex of , and any two-edge path from it to would have to pass through another new vertex, which also loses to every vertex of .
The added edges are independent of , so each query to can still be simulated using at most one query to . Hence an algorithm for computing the uncovered set of an -vertex tournament would solve TIGHT-COUNT with the same query complexity. The first part therefore gives a lower bound of .
Acknowledgments
We gratefully acknowledge Bireswar Das for his valuable insights, constructive comments, and fruitful discussions throughout this project.
Udit Kumar is partially supported by the Anusandhan National Research Foundation (ANRF), India, through the project “Quantum Algorithms for Group Theoretic Problems.”
Parts of this work were developed with assistance from GPT-6 Astra and Claude Opus 5.5. In particular, these tools suggested the HEAVY-ROW problem and the use of Ambainis’s adversary method to prove its lower bound, and contributed ideas to our algorithm for the top cycle. The authors verified all results and proofs and take full responsibility for the content of this paper.
References
[1] Amir Abboud, Tomer Grossman, Moni Naor, and Tomer Solomon. From donkeys to kings in tournaments. In 32nd Annual European Symposium on Algorithms (ESA), volume 308 of LIPIcs, pages 3:1–3:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024.
[2] Andris Ambainis. Quantum lower bounds by quantum arguments. Journal of Computer and System Sciences, 64(4):750–767, 2002. doi:10.1006/jcss.2002.1826.
[3] Pragya Arora, Palash Dey, and Neeldhara Misra. Can one flip spoil it all? In International Conference and Workshops on Algorithms and Computation, pages 308–322. Springer, 2026.
[4] R. Balasubramanian, Venkatesh Raman, and G. Srinivasaragavan. Finding scores in tournaments. Journal of Algorithms, 24(2):380–394, 1997. doi:10.1006/jagm.1997.0865.
[5] Amotz Bar-Noy and Joseph Naor. Sorting, minimal feedback sets, and Hamilton paths in tournaments. SIAM Journal on Discrete Mathematics, 3(1):7–20, 1990.
[6] 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. doi:10.1145/502090.502097.
[7] Charles H. Bennett, Ethan Bernstein, Gilles Brassard, and Umesh Vazirani. Strengths and weaknesses of quantum computing. SIAM Journal on Computing, 26(5):1510–1523, 1997. doi:10.1137/S0097539796300933.
[8] Arindam Biswas, Varunkumar Jayapaul, Venkatesh Raman, and Srinivasa Rao Satti. Finding kings in tournaments. Discrete Applied Mathematics, 322:240–252, 2022. doi:10.1016/j.dam.2022.08.014.
[9] Michel Boyer, Gilles Brassard, Peter Høyer, and Alain Tapp. Tight bounds on quantum searching. Fortschritte der Physik, 46(4–5):493–505, 1998. doi:10.1002/(SICI)1521-3978(199806)46:4/5<493::AID-PR0P493>3.0.CO;2-P.
[10] Felix Brandt, Markus Brill, and Paul Harrenstein. Tournament solutions. In Felix Brandt, Vincent Conitzer, Ulle Endriss, Jérôme Lang, and Ariel D. Procaccia, editors, Handbook of Computational Social Choice, chapter 3, pages 57–84. Cambridge University Press, Cambridge, 2016. doi:10.1017/CB09781107446984.004.
[11] An-Hang Chen, Jou-Ming Chang, Yuwen Cheng, and Yue-Li Wang. The existence and uniqueness of strong kings in tournaments. Discrete Mathematics, 308(12):2629–2633, 2008.
[12] 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. doi:10.1137/050644719.
[13] Christoph Dürr and Peter Høyer. A quantum algorithm for finding the minimum, 1996. URL: https://arxiv.org/abs/quant-ph/9607014, arXiv:quant-ph/9607014.
[14] Amin Shiraz Gilani, Nikhil S. Mande, Subhasree Patro, and Nithish Raja. Quantum query complexity of maximum degree and its generalizations, 2026. arXiv:2610.13906.
[15] Dishant Goyal, Varunkumar Jayapaul, and Venkatesh Raman. Elusiveness of finding degrees. Discrete Applied Mathematics, 286:128–139, 2020. doi:10.1016/j.dam.2019.06.009.
[16] Pavol Hell and Moshe Rosenfeld. The complexity of finding generalized paths in tournaments. Journal of Algorithms, 4(4):303–309, 1983. doi:10.1016/0196-6774(83)90011-1.
[17] Ting-Yem Ho and Jou-Ming Chang. Sorting a sequence of strong kings in a tournament. Information Processing Letters, 87(6):317–320, 2003. doi:10.1016/S0020-0190(03)00346-6.
[18] Ziad Ismaili Alaoui and Nikhil S. Mande. Hardness of finding kings and strong kings, 2025. arXiv:2504.19386.
[19] Oded Lachish, Felix Reidl, and Chhaya Trehan. When you come at the king you best not miss. In 42nd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS), volume 250 of LIPIcs, pages 25:1–25:12. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022.
[20] H. G. Landau. On dominance relations and the structure of animal societies: III. The condition for a score structure. The Bulletin of Mathematical Biophysics, 15:143–148, 1953.
[21] Jean-François Laslier. Tournament Solutions and Majority Voting, volume 7 of Studies in Economic Theory. Springer-Verlag, Berlin, 1997.
[22] Troy Lee, Rajat Mittal, Ben W. Reichardt, Robert Špalek, and Mario Szegedy. Quantum query complexity of state conversion. In 52nd Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 344–353. IEEE Computer Society, 2011. doi:10.1109/FOCS.2011.75.
[23] Arnab Maiti and Palash Dey. Query complexity of tournament solutions. Theoretical Computer Science, 991:114422, 2024. Preliminary version appeared in AAAI 2017. doi:10.1016/j.tcs.2024.114422.
[24] Nikhil S. Mande, Manaswi Paraashar, Swagato Sanyal, and Nitin Saurabh. On the communication complexity of finding a king in a tournament. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM), volume 317 of LIPIcs, pages 64:1–64:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024.
[25] Nikhil S. Mande, Manaswi Paraashar, and Nitin Saurabh. Randomized and quantum query complexities of finding a king in a tournament. In Patricia Bouyer and Srikanth Srinivasan, editors, 43rd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2023), volume 284 of Leibniz International Proceedings in Informatics (LIPIcs), pages 30:1–30:19, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.FSTTCS.2023.30.
[26] Stephen B. Maurer. The king chicken theorems. Mathematics Magazine, 53(2):67–80, 1980.
[27] Ariel D. Procaccia. A note on the query complexity of the Condorcet winner problem. Information Processing Letters, 108(6):390–393, 2008. doi:10.1016/j.ipl.2008.07.012.
[28] K. B. Reid. Every vertex a king. Discrete Mathematics, 38(1):93–98, 1982.
[29] Jian Shen, Li Sheng, and Jie Wu. Searching for sorted sequences of kings in tournaments. SIAM Journal on Computing, 32(5):1201–1209, 2003. doi:10.1137/S0097539702410053.
[30] Danny Soroker. Fast parallel algorithms for finding Hamiltonian paths and cycles in a tournament. Journal of Algorithms, 9(2):276–286, 1988. doi:10.1016/0196-6774(88)90042-9.
[31] Warut Suksompong. Tournaments in computational social choice: Recent developments. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence (IJCAI), pages 4611–4618, 2021.