Exponential-time quantum algorithms for graph coloring problems
Kazuya Shimizu, Ryuhei Mori

TL;DR
This paper introduces new exponential-time quantum algorithms for graph coloring problems, significantly improving upon classical algorithms by leveraging quantum memory and search techniques.
Contribution
It presents the first quantum algorithms for graph coloring that outperform classical methods in exponential time complexity.
Findings
Quantum algorithm for chromatic number with $O(1.9140^n)$ time
Quantum algorithm for 20-coloring with $O(1.9575^n)$ time
Quantum techniques improve classical exponential algorithms quadratically
Abstract
The fastest known classical algorithm deciding the -colorability of -vertex graph requires running time for . In this work, we present an exponential-space quantum algorithm computing the chromatic number with running time using quantum random access memory (QRAM). Our approach is based on Ambainis et al's quantum dynamic programming with applications of Grover's search to branching algorithms. We also present a polynomial-space quantum algorithm not using QRAM for the graph -coloring problem with running time . In the polynomial-space quantum algorithm, we essentially show -time classical algorithms that can be improved quadratically by Grover's search.
| 3 | 0.2051 | 1.1528 |
| 4 | 0.4039 | 1.3231 |
| 5 | 0.5553 | 1.4695 |
| 6 | 0.6099 | 1.5261 |
| 7 | 0.7234 | 1.6511 |
| 8 | 0.7299 | 1.6585 |
| 3 | 0.2050919796 | 1.1527598391 | |
| 4 | 0.4038189847 | 1.3230054317 | 1 |
| 5 | 0.5552479972 | 1.4694212030 | 1 |
| 6 | 0.6098104848 | 1.5260587298 | 3 |
| 7 | 0.7233677736 | 1.6510316464 | 3 |
| 8 | 0.7298058730 | 1.6584159226 | 4 |
| 9 | 0.8040091395 | 1.7459462428 | 4 |
| 10 | 0.8297793332 | 1.7774134780 | 5 |
| 11 | 0.8297793332 | 1.7774134780 | 5 |
| 13 | 0.8873694503 | 1.8498001987 | 6 |
| 14 | 0.8937052065 | 1.8579416667 | 6 |
| 15 | 0.9487955413 | 1.9302604739 | 7 |
| 16 | 0.9487955413 | 1.9302604739 | 7 |
| 17 | 0.9487955413 | 1.9302604739 | 7 |
| 18 | 0.9535113456 | 1.9365803294 | 8 |
| 19 | 0.9689936620 | 1.9574747012 | 8 |
| 20 | 0.9690025400 | 1.9574867472 | 8 |
| 21 | 1.0086631422 | 2.0120457954 | 9 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Complexity and Algorithms in Graphs · Stochastic Gradient Optimization Techniques
1 Introduction
Exhaustive search is believed to be (almost) the fastest classical algorithm for many NP-complete problems including SAT, hitting set problem, etc [8]. Grover’s quantum search quadratically improves the running time of exhaustive search [15]. Hence, the best classical running time for many NP-complete problems can be quadratically improved by quantum algorithms. On the other hand, non-trivial faster classical algorithms are known for some NP-complete problems including the travelling salesman problem (TSP), the graph coloring problem, etc. For these problems, more complicated techniques, such as dynamic programming, arithmetic algorithm based on inclusion–exclusion principle, etc., are used in the fastest known classical algorithms. It is not obvious how to boost these classical algorithms by a quantum computer. Recently, Ambainis et al. showed a general idea of quantum dynamic programming using quantum random access memory (QRAM) and showed quantum speedup for many NP-hard problems including TSP, set cover, etc [1]. Ambainis et al.’s work gives a new general method for exact exponential-time quantum algorithms.
In this work, we present exact exponential-time quantum algorithms for the graph coloring problem. The fastest known classical algorithm computes the chromatic number of -vertex graph with running time on the random access memory (RAM) model. The main result of this work is the following theorem.
Theorem 1**.**
There is an exponential-space bounded error quantum algorithm using QRAM for the chromatic number problem with running time 111In this paper, means ..
The quantum algorithm in Theorem 1 is based on Ambainis et al’s quantum dynamic programming for TSP with applications of Grover’s search to Byskov’s algorithm enumerating all maximal independent sets (MISs) of fixed size [7]. Byskov’s algorithm is not naive exhaustive search, but is a branching algorithm (also referred as Branch & Reduce), for which Grover’s search can be applied [12]. While RAM is widely accepted model of classical computation, QRAM is sometimes criticized due to the difficulty of implementation. In this paper, we also present quantum algorithms not using QRAM.
Theorem 2**.**
For , there exists such that there is polynomial-space bounded error quantum algorithms not using QRAM for the graph -coloring problem with running time .
Note that classical algorithms with running time are known only for [2], [7]. Running times of the quantum algorithms in Theorem 2 are shown in Table 1. For proving Theorem 2, we essentially show classical algorithms with running time that can be improved quadratically by Grover’s search. These classical algorithms are obtained by generalizing Byskov’s techniques for reducing the graph -coloring problem to the graph 3-coloring problem [7].
1.1 Related work
Since a graph is -colorable if and only if the set of vertices can be partitioned into independent sets, many algorithms for the graph -coloring problem use enumeration algorithms of independent sets. There is a simple branching algorithm enumerating all MISs in time [11]. Lawler showed that 3-colorability can be decided in time by enumerating all MISs and checking the bipartiteness of the subgraph induced by the complement of each MIS [17]. Lawler also showed that the chromatic number can be computed in time by a simple dynamic programming.
Beigel and Eppstein showed an efficient algorithm for the graph 3-coloring problem with running time [2]. Byskov showed reduction algorithms from the graph -coloring problem to the graph 3-coloring problem [7]. By using Beigel and Eppstein’s graph 3-coloring algorithm, Byskov showed classical algorithms for the graph 4-, 5- and 6-coloring problems with running time , and , respectively. Fomin et al. showed an algorithm for the graph 4-coloring problem with running time by using the path decomposition [10].
In 2006, Björklund and Husfeldt, and Koivisto showed an exponential-space -time algorithm for the chromatic number problem on the RAM model [3], [16]. These algorithms are based on the inclusion–exclusion principle. They also showed that if there is a polynomial-space -time algorithm counting the number of independent sets, then there is a polynomial-space -time algorithm computing the chromatic number [3], [5]. Since the fastest known polynomial-space algorithm computes the number of independent sets with running time [13], there is a polynomial-space -time algorithm computing the chromatic number.
There is almost no previous theoretical work on quantum algorithms for the graph coloring problems. Fürer mentioned that Grover’s algorithm can be applied to branching algorithms so that Beigel and Eppstein’s algorithm for the graph 3-coloring problem can be improved to running time [12]. The quantum algorithms for Theorem 2 are basically obtained by applying Grover’s search to generalized Byskov’s reduction algorithms on the basis of Fürer’s observation.
For general NP-hard problems, Ambainis et al. showed exponential-space exponential-time quantum algorithms using QRAM for many NP-hard problems [1]. The quantum algorithm for Theorem 1 is based on Ambainis et al’s algorithm for TSP with application of Grover’s search to Byskov’s algorithm enumerating MISs of fixed size on the basis of Fürer’s observation.
1.2 Overview of quantum algorithms
1.2.1 Quantum algorithm for the chromatic number problem
Similarly to Ambainis et al.’s quantum algorithm for TSP, the quantum algorithm for Theorem 1 is a simple divide-and-conquer algorithm with dynamic programming approach. The basic classical algorithm was shown in [4, Proposition 3]. The chromatic number of a graph is equal to a sum of the chromatic numbers of and for some non-empty unless is one-colorable. If we can assume that has size exactly or , then we can consider a classical algorithm that recursively finds of size or minimizing . Let be the running time of this algorithm. Then, it follows so that we can apply Ambainis et al’s quantum dynamic programming straightforwardly and obtain -time quantum algorithm [1]. However, the balanced partition satisfying does not necessarily exist. Hence, we use the following useful fact.
Fact 1**.**
Let be positive integers, and . Assume that for all . Then, for any , there exists such that and .
Proof.
Let t:=\max\bigl{\{}j\in\{2,\dotsc,k\}\mid\sum_{i=2}^{j}\leq m\bigr{\}}. Let . Then, . ∎
From Fact 1, we can consider following quantum algorithm computing the chromatic number. First, the algorithm precomputes the chromatic number of all induced subgraphs with size at most . This precomputation is based on Lawler’s formula
[TABLE]
where denotes the set of all MISs of [17]. There is a classical algorithm enumerating all MISs with running time . We will show in Section 3 that Grover’s search can be applied to this algorithm so that the quantum algorithm can search all MISs with running time . Here, computed chromatic numbers are stored to QRAM. Hence, we can apply Grover’s search for computing the minimum in (1). The precomputation requires the running time . Then, the main part of the algorithm computes the chromatic number of by using the formula
[TABLE]
for . This formula is justified by Fact 1 for . At the third level, the number of vertices in a graph is at most . Hence, the chromatic number was precomputed and stored to QRAM. The running time of the main part of the quantum algorithm is
[TABLE]
Quantum algorithm for Theorem 1 searches all MISs of size for each separately. Then, precise analysis shows that the running time of the improved quantum algorithm is .
1.2.2 Quantum algorithms for the graph -coloring problem
We will derive classical algorithms that can be improved quadratically by Grover’s search. In the classical algorithms, the graph -coloring problem is reduced to the graph -coloring problems for some . Since a graph is -colorable if and only if there exists a subset of vertices such that is -colorable and is -colorable. Let us consider a classical algorithm that simply searches satisfying the above condition. Let be the running time of this algorithm for the graph -coloring problem. Then, satisfies
[TABLE]
where polynomial factors in are ignored. Then, we obtain , and . Let us consider a quantum algorithm that uses Grover’s search for finding . Let be the running time of the quantum algorithm. Then, it follows , which implies . Hence, we obtain , and . This yields a weaker version of Theorem 2 that is valid for rather than .
1.3 Organization
In Section 2, notations and known classical and quantum algorithms are introduced. In Section 3, we present details of quantum algorithm for branching algorithms. In Section 4, we prove Theorem 1. In Section 5, we prove a weaker version of Theorem 2 that is valid for rather than . Theorem 2 is obtained by improving the quantum algorithms in Section 5. The details of the proof of Theorem 2 are shown in Appendix B.
2 Preliminaries
2.1 Definitions and notations
For a finite vertex set , a set of edges consists of subsets of of size two. A pair of finite vertex set and a set of edges is called an undirected simple graph. In this paper, we simply call a graph rather than an undirected simple graph. The number of vertices is denoted by . A mapping is called -coloring if for all . For a graph , the smallest such that there exists a -coloring is called the chromatic number of , and denoted by . A subset of vertices is called an independent set if for all . An independent set is said to be maximal if there is no strict superset of that is an independent set. A maximal independent set of size is called -MIS. For , denotes a induced subgraph of . Let for where . In this paper, the base of logarithm is 2. The notation means that for some constant . For , we often round up to the fourth digit after the decimal point. In this case, we can use rather than . For example, we often write rather than . The notation means that for some constant .
2.2 Known classical algorithm for enumerating all -MISs
Byskov showed the following theorem.
Theorem 3** (Byskov [7]).**
The maximum number of -MISs of -vertex graphs is
[TABLE]
Furthermore, there is a classical algorithm enumerating all -MISs of -vertex graph in time .
We can straightforwardly obtain the following lemma and corollary.
Lemma 2**.**
For any constant , where
[TABLE]
Here, is concave (and hence, continuous) and piecewise linear for . The maximum of is given at .
Corollary 3**.**
For any and , the maximum of for is given at for some .
2.3 Grover’s search
Here, Grover’s search is briefly introduced without using quantum circuit, unitary oracle, etc.
Theorem 4** (Grover [15], Boyer et al. [6]).**
Let be a bounded-error quantum algorithm with running time . Then, there is a bounded-error quantum algorithm computing with running time . If it is guaranteed that or , then there is a bounded-error quantum algorithm with running time .
Theorem 5** (Dürr and Høyer [9]).**
Let be a bounded-error quantum algorithm with running time . Then, there is a bounded-error quantum algorithm computing with running time .
2.4 QRAM
QRAM is the quantum analogue of RAM which can be accessed in a superposition [14]. QRAM has been used in many quantum algorithms [1]. RAM is the memory that can be accessed in constant or logarithmic time with respect to the memory size. For computing the minimum of for all where denotes a read-only RAM, we can replace RAM with QRAM and apply Grover’s search for computing the minimum. Then, we obtain -time quantum algorithm where denotes the running time for computing .
3 Grover’s search for branching algorithms
Fürer mentioned that Grover’s search can be applied to branching algorithms [12]. Since the details of the quantum algorithm were not explicitly described in [12], we will show the details in this section. A branching algorithm is an algorithm which recursively reduce a problem into some problems of smaller parameters. We now consider decision problems with parameters that are non-negative integers. If the parameters are sufficiently small, we do not apply any branching rule and solve this problem in some way. For a problem with parameters that are not sufficiently small, we choose a branching rule such that is reduced to problems of the same class. Here, has parameters for some function satisfying for and . At least one of the parameters of must be smaller than the same parameter of for all . The solution of is true if and only if at least one of the solutions of is true. Hence, we will call this algorithm OR-branching algorithm. For a problem of this class, we can consider a computation tree that represents the branchings of the reductions. The computation tree for is a single node if has sufficiently small parameters so that any branching rule is not performed, and is a rooted tree where children of the root node are the root nodes of the computation trees for if some branching rule is applied to . Let be the maximum number of leaves of the computation tree for with parameters . Assume that the running time of the computation at a non-leaf node, including computations of , , and , is polynomial with respect to . Then, the total running time of the OR-branching algorithm is at most where is the running time for the computation at a leaf node. We can apply Grover’s search to OR-branching algorithms if we have an upper bound of with some properties.
Lemma 4**.**
Let be an upper bound of that can be computed in polynomial time with respect to the parameters, and satisfies
[TABLE]
for any branching rule . Then, there is a bounded-error quantum algorithm with running time .
Proof.
If we can assign an integer to every leaf of the computation tree, and can compute the corresponding leaf from given in polynomial time with respect to the parameters, then, we can apply Grover’s search for computing
[TABLE]
where denotes the solution of a problem and denotes the set of all problems corresponding to leaves of the computation tree for . Then, we obtain quantum algorithm with running time [12]. The algorithm computing -th leaf of a problem is shown in Algorithm 1. We will show the validity of Algorithm 1.
Proposition 5**.**
For any problem that corresponds to a leaf node of the computation tree of a problem with parameters , there exists such that .
Proof.
The proof is an induction on the depth of the computation tree for . If the computation tree for consists of a single node, then Algorithm 1 returns . Assume that the proposition holds for any with the computation tree of depth at most . We will consider a problem with computation tree of depth . Let be the index of the branching at that achieves . From the induction hypothesis, there exists such that . Let . Then, . Here, . ∎
From Proposition 5 and a fact that always returns a problem corresponding to one of the leaf nodes for , we obtain
[TABLE]
Since the depth of the computation tree for is at most , the running time of is polynomial with respect to the parameters. Hence, there is a quantum algorithm computing with running time . ∎
For a problem whose solution is an integer, we can also consider a branching algorithm satisfying for children of . In this case, we will call this algorithm MIN-branching algorithm. Similarly to OR-branching algorithm, we can apply Grover’s search to MIN-branching algorithm from Theorem 5.
In this paper, we apply Lemma 4 to Byskov’s algorithm in Theorem 3. Byskov showed the upper bound satisfying the conditions in Lemma 4 for the branching algorithm with two parameters and . Hence, we can apply Grover’s search to Byskov’s algorithm in Theorem 3. Since , there is a bounded-error quantum algorithm searching all MISs in time as well.
4 Quantum algorithms for the chromatic number problem
The overview of the quantum algorithm was described in Section 1.2.1. The quantum algorithm for Theorem 1 is shown in Algorithm 2.
For computing the chromatic number of , when MIS of size is chosen, then we have to chose satisfying and as mentioned in Section 1.2.1. This implies the condition . Hence, Algorithm 2 computes the chromatic number correctly. By analyzing the running time of Algorithm 2, we obtain the following theorem.
Theorem 6**.**
Algorithm 2 computes the chromatic number of -vertex graph with running time O^{*}\bigl{(}(2^{37/35}\allowbreak 3^{3/7}\allowbreak 5^{-9/70}\allowbreak 7^{-5/28})^{n}\bigr{)}=O(1.9140^{n}) with bounded error probability.
Proof.
The running time of the precomputation is . Let be the running time of and be the running time of for of size . Then, we obtain
[TABLE]
by ignoring polynomial factors in . Here, whose exponent is equal to . From Corollary 3, it is sufficient to take maximum among being an inverse integer. Numerical calculation shows that the maximum is given at and hence . Hence, the exponent of is equal to
[TABLE]
Here, we only consider maximum for since is decreasing with respect to for , and since the another part in (3) is decreasing with respect to . Numerical calculation shows that the maximum is given at . Hence, we obtain
[TABLE]
Careful readers may notice that the running time of the precomputation and the main computation are not balanced. If the quantum algorithm precomputes the chromatic number of induced subgraphs with size at most for some , the precomputation and the main computation require more and less running time, respectively (we can use Fact 1 for unbalanced ). By optimizing such that the both running time are balanced, we may obtain improved running time. This idea improved the running time of the quantum algorithm for TSP [1], but does not improve the running time of Algorithm 2. Equation (2) is dominated by and . Equation (3) is dominated by and . In order to exclude in the summation in (2), the chromatic number of induced subgraph with size at most must be precomputed. However, the running time of the precomputation in this case is . Hence, the running time of quantum algorithm is not improved.
5 Quantum algorithms not using QRAM
5.1 Known classical algorithms for -coloring problem
Beigel and Eppstein showed the fastest known classical algorithm for the graph 3-coloring problem.
Theorem 7** (Beigel and Eppstein [2]).**
There is a classical algorithm for the graph 3-coloring problem with running time where denotes the unique real positive root of .
For larger , Byskov showed reduction algorithms from the graph -coloring problem to the graph 3-coloring problem [7]. Since a graph is -colorable if and only if there exists an MIS of size at least such that is -colorable, we obtain the following reduction algorithm.
Reduction algorithm 1** (Byskov [7], Lawler[17]).**
For each , enumerate all -MISs. For each -MIS , the algorithm for the graph -coloring is performed to .
Let be the running time of an algorithm for the graph -coloring problem using Reduction algorithm 1. Then, it satisfies
[TABLE]
for by ignoring a polynomial factor. By using Reduction algorithm 1 and Theorem 7, Byskov obtained algorithms for the graph 4- and 5-coloring problems with running time and , respectively. Byskov also introduced another reduction algorithm. Here, we introduce it in a general form. Since a graph is -colorable if and only if there exists a subset of vertices of size at least such that is -colorable and is -colorable for arbitrary , we obtain the following reduction algorithm.
Reduction algorithm 2** (Byskov [7], Lawler[17]).**
Fix . For each , enumerate all subsets of vertices of size . For each subset of vertices of size , the algorithms for the graph - and -coloring are performed to and , respectively.
Let be the running time of an algorithm for the graph -coloring problem using Reduction algorithm 2. Then, it satisfies
[TABLE]
for by ignoring a polynomial factor. Reduction algorithm 2 is a simple generalization of a reduction algorithm in [7]. For , Reduction algorithm 2 with gives while [7].
5.2 Quantum algorithms not using QRAM
In this section, we present quantum algorithms not using QRAM, and prove a weaker version of Theorem 2 that is valid for rather than . Theorem 2 is obtained by improving quantum algorithms presented in this section. The improved quantum algorithm and the proof of Theorem 2 are shown in Appendix B. Fürer mentioned that Grover’s search can be applied to Beigel and Eppstein’s algorithm.
Lemma 6** (Fürer [12]).**
There is a bounded-error quantum algorithm not using QRAM for the graph 3-coloring problem with running time where denotes the unique real positive root of .
The quantum algorithm in Lemma 6 is obtained by application of Lemma 4 to classical Beigel and Eppstein’s algorithm in Theorem 7. On the other hand, Beigel and Eppstein also showed a very simple randomized algorithm for the graph 3-coloring problem with running time [2, Corollary 1]. This randomized algorithm searches one of the solutions from leaves in a quaternary computation tree of depth . From Theorem 4, we can apply Grover’s search to the randomized algorithm and obtain a quantum algorithm with running time . The quantum algorithms for Theorem 2 reduce the graph -coloring problems to the graph 3-coloring problem. Theorem 2 can be obtained even if this simpler quantum algorithm is used in place of the involved quantum algorithm in Lemma 6 although the exponents increase. By applying Reduction algorithms 1 and 2 with Grover’s search, the following Theorem is obtained.
Theorem 8**.**
Assume that there is a polynomial-space bounded-error quantum algorithm not using QRAM for the graph 3-coloring problem with running time for some . Then, there is a polynomial-space bounded-error quantum algorithm not using QRAM for the graph -coloring problem with running time where
[TABLE]
for .
Proof.
We consider quantum algorithm using Reduction algorithms 1 and 2 with Grover’s search. Since we can apply Lemma 4 to Byskov’s enumeration algorithm of -MIS in Reduction algorithm 1, we obtain
[TABLE]
For Reduction algorithm 2, we can simply apply Grover’s search, and obtain
[TABLE]
for any . Hence, by choosing the best reduction algorithm, we obtain quantum algorithms with running time where and
[TABLE]
for . Since is decreasing for , we can assume that . From Corollary 3, it is sufficient to take maximum among for . This proves . ∎
By using Theorem 8 with or , we obtain Theorem 2 for . In Table 2 in Appendix A, the values of and best choices of are shown for . We summarize the quantum algorithm in Algorithm 3.
It is easy to calculate the exponents efficiently and precisely. The details are explained in Appendix A. Note that if Grover’s search are not used in Algorithm 3, we obtain classical algorithms with running time . By improving Algorithm 3, we obtain Theorem 2. When Reduction algorithm 2 is applied, we can assume that independent sets in are smaller than independent sets in . Hence, we can use the average size of independent sets in as an upper bound of independent sets in . This idea reduces the running time of Algorithm 3 and gives Theorem 2. The details are shown in Appendix B.
Acknowledgment
This work was supported by JST PRESTO Grant Number JPMJPR1867 and JSPS KAKENHI Grant Numbers JP17K17711 and JP18H04090. The authors are grateful to François Le Gall for helpful discussions.
Appendix A Calculations of the exponents
Here, we consider calculations of the exponents . This problem was not dealt in [1]. Fortunately, the calculation of is not difficult. Non-trivial part is the calculation of
[TABLE]
Here, the binary entropy function plus a linear function is a concave function. Hence, it is sufficient to find a stationary point . For maximizing , we need to find such that
[TABLE]
Since the left-hand side is monotonically decreasing, can be approximated efficiently by the binary search. If , then, gives the maximum. The precise values of and chosen are shown in Table 2. Here, means that Reduction algorithm 1 is chosen.
Appendix B Improved quantum algorithm for -coloring problems not using QRAM
Theorem 9**.**
Assume that there is a polynomial-space bounded-error quantum algorithm not using QRAM for the graph 3-coloring problem with running time for some . Then, there is a polynomial-space bounded-error quantum algorithm not using QRAM for the graph -coloring problem with running time where for all and
[TABLE]
for and .
Proof.
The quantum algorithms are almost same as those in Theorem 8. When we apply Reduction algorithm 2, we check for all subsets of vertices of size whether is -colorable and is -colorable. Since we assume that consists of largest independent sets in a coloring, we can safely assume that . At the same time, we can assume that independent sets in a coloring of have size at most , which is the average size of independent sets in a coloring of . This knowledge can be used for reducing the running time of quantum algorithms. We can consider a partial function that outputs true if the given graph can be partitioned into independent sets of size at most , outputs false if the given graph is not -colorable, and outputs either of true or false for other cases. For computing this partial function, we can restrict the size of in Reduction algorithm 2. Since we only have to consider independent sets of size at most , we can assume that is at most and at least . We can assume that is at least since otherwise there is no solution. Then, . Hence, we can assume that is at least and at most . Let denote the running time of the quantum algorithm. Then, we obtain
[TABLE]
for any . Note that in Reduction algorithm 1, we cannot assume that enumerated MIS has size at most since size of MIS is not restricted. On the other hand, in the first inequality can be replaced by . However, we do not apply this improvement since numerical calculation show that this does not improve the exponents of running time for . By choosing the best reduction algorithms, we obtain . ∎
By using Theorem 9 with , we obtain Theorem 2. Table 1 shows the values of . Here, may depend on . However, even if is determined only by , the same exponents are obtained. Chosen s are the same as those in Table 2 except for for . We summarize the quantum algorithm in Algorithm 4.
The details of numerical calculation of and their precise values are shown in Appendix C. Finally, we introduce our ideas that failed to improve the running time. Similarly to Theorem 9, we can assume that in Reduction algorithm 2, size of independent sets in a coloring of is lower bounded by , which is the average size of independent sets in . However, this idea could not improve the exponents in our numerical calculations. We also tried to use hybrid algorithms of Reduction algorithms 1 and 2. We introduce a threshold of size of independent sets. Then, Reduction algorithms 1 and 2 are both applied on the assumptions that the size of the largest independent set in a coloring is at least and at most , respectively. The threshold is optimized so that running time of Reduction algorithms are balanced. This algorithm failed to improve the running time as well.
Appendix C Calculations of the exponents
It is much more difficult to calculate than . Non-trivial part is the calculations of
[TABLE]
In the numerical calculations, the maximum for is taken for all . Computed is cached and reused. Then, we obtain in Table 1.
As another heuristic way, we assume that the functions and are unimodal, which are functions with a single maximal. On this assumption, we can apply the golden-section search for finding the maximum efficiently. Obtained approximations of are very close to those calculated by the first method. Hence, we believe that the golden-section search gives very precise approximations of which are shown in Table 3.
Appendix D Further improvements
Theorem 1 would be improved by the following idea. When we consider the partition of a graph to and for some in Algorithm 2, we can assume that independent sets in a coloring of have size at least since otherwise there exists more balanced partition. Hence, we can use algorithms for the graph -coloring problem in Section 5 for computing the chromatic number of .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Andris Ambainis, Kaspars Balodis, Jānis Iraids, Martins Kokainis, Krišjānis Prūsis, and Jevgēnijs Vihrovs. Quantum speedups for exponential-time dynamic programming algorithms. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA’19) , pages 1783–1793. SIAM, 2019.
- 2[2] Richard Beigel and David Eppstein. 3-coloring in time O ( 1.3289 n ) 𝑂 superscript 1.3289 𝑛 O(1.3289^{n}) . Journal of Algorithms , 54(2):168–204, 2005.
- 3[3] Andreas Björklund and Thore Husfeldt. Inclusion–exclusion algorithms for counting set partitions. In Proceedings of the Forty-seventh Annual IEEE Symposium on Foundations of Computer Science (FOCS’06) , pages 575–582. IEEE, 2006.
- 4[4] Andreas Björklund and Thore Husfeldt. Exact algorithms for exact satisfiability and number of perfect matchings. Algorithmica , 52(2):226–249, 2008.
- 5[5] Andreas Björklund, Thore Husfeldt, and Mikko Koivisto. Set partitioning via inclusion-exclusion. SIAM Journal on Computing , 39(2):546–563, 2009.
- 6[6] Michel Boyer, Gilles Brassard, Peter Høyer, and Alain Tapp. Tight bounds on quantum searching. Fortschritte der Physik: Progress of Physics , 46(4-5):493–505, 1998.
- 7[7] Jesper M. Byskov. Enumerating maximal independent sets with applications to graph colouring. Operations Research Letters , 32(6):547–556, 2004.
- 8[8] Marek Cygan, Holger Dell, Daniel Lokshtanov, Dániel Marx, Jesper Nederlof, Yoshio Okamoto, Ramamohan Paturi, Saket Saurabh, and Magnus Wahlström. On problems as hard as CNF-SAT. ACM Transactions on Algorithms (TALG) , 12(3):41, 2016.
