betaFeedback

WorksPhysics and Astronomy

Quantum Algorithms for Finding Vacua in the ADK Landscape

Abstract

We study quantum algorithms for finding a vacuum with a small cosmological constant in the toy model for string Landscape proposed by Arkani-Hamed, Dimopoulos, and Kachru. First, we construct a function-value oracle and use it for Grover search with query complexity O(2N/2)\mathcal{O}(2^{N/2}), where NN is the number of scalar fields. Then, we point out that, by exploiting the linearity of the vacuum energy, the problem can be reduced to a collision problem between two blocks of the bit string. With this structure, we construct two quantum algorithms with query complexity O(2N/3)\mathcal{O}(2^{N/3}). Compared with the pseudo-polynomial classical algorithm of Denef and Douglas, the quantum algorithms yield a large reduction in computational cost for the physically motivated parameter values.

Introduction

The cosmological constant problem is among the most severe fine-tuning problems in fundamental physics. The observed vacuum energy density, Λobs∼10−120MPl4\Lambda_{\mathrm{obs}} \sim10^{-120}M_{\mathrm{Pl}}^4 [1], is far smaller than any scale that appears in a theory of quantum gravity. String theory offers a concrete framework in which such a small value can be accommodated statistically rather than dynamically. Compactifications with background fluxes [2, 3] (see Refs. [4, 5] for reviews) give rise to a discretuum of vacua labeled by flux quanta. The number of vacua has been estimated as 1050010^{500} [6, 7, 8, 9, 10]. The number of such vacua is conjectured to be finite [11, 12, 13, 14]. With so many vacua the vacuum energies are finely spaced, and the existence of a vacuum with Λ∼10−120MPl4\Lambda\sim10^{-120}M_{\mathrm{Pl}}^4 becomes statistically plausible [6]. Together with Weinberg’s anthropic bound [15], this constitutes the landscape approach to the cosmological constant.

The landscape approach raises, however, a question of a different nature. Even if such a vacuum exists, can the universe find it? Denef and Douglas [16] pointed out that finding a vacuum whose cosmological constant lies in a prescribed window is an NP-hard problem in the Bousso–Polchinski model [6], since it contains the subset sum problem as a special case.1 The same statement holds for the toy landscape of Arkani-Hamed, Dimopoulos, and Kachru (ADK) [18], in which NN scalar fields with two minima each generate 2N2^N vacua whose energies are linear in the binary choice of minima. This model captures the combinatorial structure of the problem, and is the main target of this paper. Implications of the computational complexity for cosmology have been discussed in Refs. [19, 20]. In particular, Ref. [20] observed that, even though the brute-force cost of scanning 2N2^N vacua exceeds the estimated computational capacity of the observable universe,2 heuristic algorithms with polynomial average-case cost can nevertheless find vacua with Λ∼10−120MPl4\Lambda\sim10^{-120}M_{\mathrm{Pl}}^4 in random ADK landscapes.3 These approaches trade worst-case guarantees for average-case efficiency. The performance depends on the distribution of the input.

AlgorithmComplexitySection
Grover searchO(2N/2)\mathcal{O}(2^{N/2})III B
(classical) meet-in-the-middleO∗(2N/2)\mathcal{O}^{*}(2^{N/2})III C 2
sorted-list algorithmO(2N/3)\mathcal{O}(2^{N/3})III C 3
quantum-walk algorithmO(2N/3)\mathcal{O}(2^{N/3})III C 4
(classical) Denef–DouglasO(N3MPl4/Λtarget)\mathcal{O}(N^{3} M_{\mathrm{Pl}}^{4}/\Lambda_{\mathrm{target}})IV

Table 1. Summary of algorithms and complexity scalings in this paper. These values are worst-case bounds.

In this paper we take a complementary point of view and ask how far the worst-case cost of the vacuum-search problem can be reduced by quantum computation. More broadly, the interplay between quantum information and quantum gravity has grown into an active field of its own [23], and the question addressed here is a concrete instance of this interplay on the computational side. It has been noted in the landscape context that Grover search [24] provides a quadratic speedup for unstructured search [16].

Our results are as follows (see also Table I for an overview of the algorithms). We formulate the ADK vacuum-search problem with an explicit input model and construct a function-value oracle, built from quantum adders, that computes the vacuum energy of a superposition of vacua. Grover search over all 2N2^N vacua, which we refer to as plain Grover search, then finds a vacuum in the target window with query complexity O(2N/2)\mathcal{O}(2^{N/2}), the quantum counterpart of brute-force search. Interestingly, we find that the linearity of the vacuum energy allows a quantum algorithm to do better than plain Grover search.4 Concretely, we split the bit string labeling a vacuum into two blocks and reduce the problem to a collision problem between the partial sums. This is the structure exploited classically by the meet-in-the-middle algorithm [25], which solves the problem in time O∗(2N/2)\mathcal{O}^{*}(2^{N/2}) with a worst-case guarantee. On the quantum side we construct two algorithms with query complexity O(2N/3)\mathcal{O}(2^{N/3}), following the quantum algorithms for subset sum [26]. One is a Grover search over one block combined with a classically sorted list of the other block (the sorted-list algorithm), and the other is a quantum-walk claw-finding algorithm [27, 28] (the quantum-walk algorithm). The first algorithm assumes quantum-accessible classical memory (QRACM) [29, 30], which we review in App. § 3.2 1. Instead of QRACM, the second algorithm assumes quantum-access quantum memory (QRAQM), which we also review in App. § 3.2 2. Finally, we compare the quantum algorithms with two classical baselines: the pseudo-polynomial algorithm of Denef and Douglas, whose cost grows with MPl4/ΛtargetM_{\mathrm{Pl}}^{4}/\Lambda_{\mathrm{target}}, and the meet-in-the-middle algorithm, at the physically relevant values N∼400N \sim400 and Λtarget/MPl4∼10−120\Lambda_{\mathrm{target}}/M_{\mathrm{Pl}}^{4} \sim10^{-120}.

Note that the improvement over the classical algorithm is an improvement of the exponent, which is not a change of the exponential character of the problem. This is consistent with the expectation that quantum computers do not solve NP-hard problems in polynomial time. Our results quantify where the landscape search problem sits with respect to quantum resources.

The paper is organized as follows. In Sec. II we review the ADK model and define the vacuum-search problem. § 3 constructs the algorithms, which are Grover search over all vacua, and the algorithms that exploit the linear structure. § 4 compares the classical and quantum algorithms. § 5 summarizes the results and discusses future directions. App. § 3.1 reviews Grover search, and App. § 3.2 summarizes the QRAQM assumption.

ADK model

We use the toy model proposed by Arkani-Hamed, Dimopoulos, and Kachru [18] (the ADK model). In this model, the landscape is mimicked by a field theory with NN scalar fields ϕi\phi^{i} and a potential

V=∑i=1NVi(ϕi).(1)V = \sum_{i=1}^{N} V_i(\phi^i). \tag*{(1)}

Here each ViV_i has two local minima Via,VibV_i^a, V_i^b. A vacuum is specified by a choice of which minimum to take for each ViV_i, represented by a parameter mi∈{0,1}m_i \in\{0,1\}. The total number of possible combinations is 2N2^N. The vacuum energy is then given by

Λm=∑i=1N[Via+mi(Vib−Via)]=V0+∑i=1NmiΔVi,(2)\Lambda_m = \sum_{i=1}^{N} [V_i^a + m_i(V_i^b - V_i^a)] = V_0 + \sum_{i=1}^{N} m_i \Delta V_i, \tag*{(2)}

where V0=∑i=1NViaV_0 = \sum_{i=1}^{N} V_i^a is the vacuum energy when all fields are in the minimum ViaV_i^a, and ΔVi=Vib−Via\Delta V_i = V_i^b - V_i^a is the energy difference between the two minima of the ii-th field. The problem we consider is to find a vacuum m∈M\mathbf{m} \in M such that

M={m∈{0,1}N∣0≤Λm≤Λtarget}.(3)M = \{ \mathbf{m} \in\{0,1\}^N \mid0 \leq\Lambda_m \leq\Lambda_{\mathrm{target}} \}. \tag*{(3)}

where Λtarget\Lambda_{\mathrm{target}} is a given positive constant representing the upper limit of the target window. For instance, the realistic value Λtarget∼10−120MPl4\Lambda_{\mathrm{target}} \sim10^{-120} M_{\mathrm{Pl}}^4 is of interest in the context of the cosmological constant problem. Depending on the choice of Λtarget\Lambda_{\mathrm{target}}, the set MM may be empty.

In Figure 1, we schematically illustrate the ADK landscape, showing how the vacuum energy is determined by the choice of local minima for each potential.

Schematic illustration of the ADK landscape

Figure 1. Schematic illustration of the ADK landscape. Each field ϕi\phi^i has two local minima, encoded by a binary variable mim_i. A bit string m\mathbf{m} specifies one of the 2N2^N vacua, whose energy is obtained by summing the selected contributions. The shaded band denotes the target range for the cosmological constant.

The vacuum-search problem in the ADK model is summarized as follows.

Definition II.1: ADK vacuum-search problem The input of the ADK vacuum-search problem consists of an integer NN, the values V0V_0 and ΔVi\Delta V_i (i=1,2,…,Ni = 1,2,\ldots,N), and a positive constant Λtarget\Lambda_{\mathrm{target}} representing the upper limit of the window [0,Λtarget][0,\Lambda_{\mathrm{target}}]. The output is a bit string

m=(m1,m2,…,mN)∈{0,1}N,(4)\mathbf{m} = (m_1,m_2,\ldots,m_N) \in\{0,1\}^N, \tag*{(4)}

which belongs to the set MM defined in Eq. (3), i.e., an element of the set of vacua satisfying the target window condition. If M=∅M = \varnothing, the output is “no solution”. The quantum algorithms should output an element of MM with probability at least 2/32/3 whenever M≠∅M \ne\varnothing.

Note that the computational complexity of the vacuum search in the ADK model has been discussed in Ref. [20], including heuristic algorithms, as mentioned in § 1. In this paper, we aim to reduce the computational complexity with worst-case guarantees using quantum algorithms.

Vacuum-search algorithms for the ADK model

In this section, we construct classical and quantum algorithms for the ADK vacuum-search problem defined in Definition II.1, and evaluate their computational complexity and required resources. We use O∗O^* notation to suppress factors polynomial in NN and in the bit length of the encoded energy parameters. Our complexity comparisons focus on the remaining exponential dependence. Bounds on explicitly specified query counts are stated using ordinary OO notation. In the main text, query complexity counts calls to the function-value oracles. QRACM accesses are counted separately. In § 3 A, we explain how to encode m\boldsymbol{m} and Λm\Lambda_m in qubits, and construct a function-value oracle UΛU_\Lambda that computes Λm\Lambda_m from m\boldsymbol{m} using a quantum adder. This oracle is common to all subsequent algorithms. In § 3 B, we consider the most basic algorithm that applies Grover search [24] to all 2N2^N vacua (hereafter referred to as plain Grover search), and show that it has a query complexity of O(2N/2)O(2^{N/2}). In § 3 C, we exploit the structure of the vacuum energy being a linear sum to realize O(2N/3)O(2^{N/3}) with two types of algorithms (the sorted-list algorithm and the quantum-walk algorithm).

Qubit register and function-value oracle for vacuum energy

We first embed the information necessary for the computation into qubits. We denote the state by ∣V0,ΔVi,m,0⟩\lvert V_0,\Delta V_i,\boldsymbol{m},0\rangle, which consists of four types of registers. The first register represents V0V_0, and the second register represents ΔV1,…,ΔVN\Delta V_1,\ldots,\Delta V_N, each encoded in binary as a computational basis state.5 We take the number of qubits used for each input energy value to be approximately log⁡2(MPl4/Λtarget)\log_2(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}}). These registers are provided as inputs and remain unchanged during the execution of the algorithm. The third register consists of NN qubits representing m\boldsymbol{m}, where the ii-th qubit holds mi∈{0,1}m_i \in\{0,1\} in the computational basis. In the subsequent Grover search, a superposition of all 2N2^N possible m\boldsymbol{m} values is placed in this register. The fourth register is a value register for writing the computation result Λm\Lambda_m. Negative values are handled using two’s complement representation. The initial state of this register is ∣0⟩\lvert0\rangle. The configuration is illustrated in Figure 2.

Configuration of the registers representing the input and output states of the oracle

Figure 2. The configuration of the registers representing the state ∣V0,ΔVi,m,0⟩|V_0,\Delta V_i,m,0\rangle on which the oracle UΛU_\Lambda acts.

Then, we define a function-value oracle UΛU_\Lambda that acts on the state corresponding to m\boldsymbol{m} as follows:

UΛ∣V0,ΔVi,m,0⟩=∣V0,ΔVi,m,Λm⟩.(5)U_\Lambda\lvert V_0,\Delta V_i,\boldsymbol{m},0\rangle= \lvert V_0,\Delta V_i,\boldsymbol{m},\Lambda_m\rangle. \tag*{(5)}

All the algorithms in this section use this oracle. This oracle is constructed from quantum adders that add the binary inputs V0V_0 and ΔVi\Delta V_i, controlled by the register representing m\boldsymbol{m}. An example of a quantum adder is shown in Figure 3,6 where the logic circuit appearing in the classical adder is replaced by quantum gates [32]. An example of the function-value oracle built from such adders is shown in Figure 4.

Figure 3. An example of a quantum adder, where the addition of two binary numbers a2a1a_2a_1 and b2b1b_2b_1 is performed. The circuit acts as ∣a,b⟩→∣a,b+a⟩|a,b\rangle\to|a,b+a\rangle.

Quantum circuit implementing the function-value oracle using quantum adders, with registers $|V_0\rangle$, $|\Delta V_1\rangle$, $|\Delta V_2\rangle$, $|m_1\rangle$, $|m_2\rangle$, and $|\Lambda_m\rangle$

Figure 4. Example of the function-value oracle in Eq. (5), implemented using quantum adders (shown as Adder in the figure). The inverse operations that reset the auxiliary registers to ∣0⟩|0\rangle are omitted from the figure.

Quantum vacuum search by Grover search

As a first quantum algorithm for the ADK vacuum-search problem, we apply Grover search (see App. § 3.1 for a review). We refer to this algorithm as plain Grover search. The initial state ∣ϕ0⟩\lvert\phi_0\rangle is chosen as the equal superposition of all 2N2^N states:

∣ϕ0⟩=12N∑m∣V0,ΔVi,m,0⟩.(6)\lvert\phi_0\rangle= \frac{1}{\sqrt{2^N}}\sum_{\boldsymbol{m}}\lvert V_0,\Delta V_i,\boldsymbol{m},0\rangle. \tag*{(6)}

As reviewed in App. § 3.1, we need a phase oracle that flips the sign of the states corresponding to the solutions. In our case, the solutions are the states ∣V0,ΔVi,m,0⟩|V_0,\Delta V_i,m,0\rangle for which 0≤Λm≤Λtarget0 \le\Lambda_m \le\Lambda_{\mathrm{target}}. Therefore, we define the operator UMU_M that flips the sign of the states corresponding to the solutions:

UM∣V0,ΔVi,m,Λm⟩={∣V0,ΔVi,m,Λm⟩if m∉M−∣V0,ΔVi,m,Λm⟩if m∈M(7)U_M |V_0,\Delta V_i,m,\Lambda_m\rangle= \begin{cases} |V_0,\Delta V_i,m,\Lambda_m\rangle& \text{if } m \notin M \\ -|V_0,\Delta V_i,m,\Lambda_m\rangle& \text{if } m \in M \end{cases} \tag*{(7)}

This operator can be implemented as a controlled operation that checks whether the sign bit of the value register is 0 (i.e., Λm≥0\Lambda_m \ge0) and whether Λm≤Λtarget\Lambda_m \le\Lambda_{\mathrm{target}} using a comparator, and flips the phase only when both conditions are satisfied. The comparator can be constructed from a reversible classical logic circuit, similar to the quantum adder. Then, the phase oracle UGroverU_{\mathrm{Grover}} is constructed as

UGrover=UΛ†UMUΛ,UGrover∣V0,ΔVi,m,0⟩={∣V0,ΔVi,m,0⟩if m∉M−∣V0,ΔVi,m,0⟩if m∈M(8)U_{\mathrm{Grover}} = U_{\Lambda}^{\dagger} U_M U_{\Lambda}, \qquad U_{\mathrm{Grover}} |V_0,\Delta V_i,m,0\rangle= \begin{cases} |V_0,\Delta V_i,m,0\rangle& \text{if } m \notin M \\ -|V_0,\Delta V_i,m,0\rangle& \text{if } m \in M \end{cases} \tag*{(8)}

By using UGroverU_{\mathrm{Grover}} and the diffusion operator 2∣ϕ0⟩⟨ϕ0∣−I2|\phi_0\rangle\langle\phi_0|-I with the initial state ∣ϕ0⟩|\phi_0\rangle, we perform Grover search as described in App. § 3.1. The query complexity is

O(2N/2).(9)\mathcal{O}(2^{N/2}). \tag*{(9)}

Further speedup using the structure of the problem

In the ADK model, we can do better than the plain Grover search by utilizing the fact that Λm\Lambda_m is a linear function of the binary parameters m\boldsymbol{m}. In this subsection, we will utilize this structure to further reduce the computational complexity. The key is that if we divide the bit string into two blocks, the vacuum energy can be decomposed into the sum of contributions from the two blocks. This allows the vacuum-search problem to be reduced to a collision problem, where we look for pairs of contributions that sum to a value within the specified range (§ 3 C 1). The classical algorithm known as meet-in-the-middle utilizes this structure, providing a speedup from O∗(2N)\mathcal{O}^{*}(2^N) to O∗(2N/2)\mathcal{O}^{*}(2^{N/2}) (§ 3 C 2). In this subsection, we will apply two quantum algorithms for the collision problem to the vacuum-search problem for further speedup. One algorithm keeps one block of the contributions as a sorted list and performs Grover search on the other block (referred to as the sorted-list algorithm), achieving a query complexity of O(2N/3)\mathcal{O}(2^{N/3}) (§ 3 C 3). The other algorithm uses a quantum walk for claw finding (referred to as the quantum-walk algorithm), also achieving a complexity of O(2N/3)\mathcal{O}(2^{N/3}) (§ 3 C 4). We will refer to both algorithms collectively as collision-based algorithms. While these two algorithms may seem different, they lead to the same computational complexity results.7

Reduction to a collision problem

The ADK vacuum-search problem can be reduced to a collision problem by dividing the NN variables into two parts:

m=(x,y),x=(m1,…,mp)∈X≡{0,1}p,y=(mp+1,…,mN)∈Y≡{0,1}N−p.(10)\boldsymbol{m}=(x,y),\quad x=(m_1,\ldots,m_p)\in X\equiv\{0,1\}^{p},\quad y=(m_{p+1},\ldots,m_N)\in Y\equiv\{0,1\}^{N-p}. \tag*{(10)}

The vacuum energy is expressed as

Λm=ΛX(x)+ΛY(y),ΛX(x)=V0+∑i=1pmiΔVi,ΛY(y)=∑i=p+1NmiΔVi.(11)\Lambda_m=\Lambda_X(x)+\Lambda_Y(y),\qquad\Lambda_X(x)=V_0+\sum_{i=1}^{p}m_i\Delta V_i,\qquad\Lambda_Y(y)=\sum_{i=p+1}^{N}m_i\Delta V_i. \tag*{(11)}

Note that the numbers of elements in the sets XX and YY are ∣X∣=2p|X|=2^p and ∣Y∣=2N−p|Y|=2^{N-p}, respectively. Now the vacuum-search problem is to find a pair (x,y)∈X×Y(x,y)\in X\times Y such that

0≤ΛX(x)+ΛY(y)≤Λtarget.(12)0\leq\Lambda_X(x)+\Lambda_Y(y)\leq\Lambda_{\mathrm{target}}. \tag*{(12)}

This type of problem, where we look for pairs of values from two functions that satisfy a specified relation, is referred to as a collision problem in this paper.

Classical algorithm: meet-in-the-middle

Utilizing the structure of the collision problem, we can apply the classical algorithm known as meet-in-the-middle [25] to the vacuum-search problem, which is faster than a brute-force search over all 2N2^N vacua. In the following, we set p=N/2p=N/2. The algorithm consists of the following steps:

  1. Compute ΛX(x)\Lambda_X(x) for all elements x∈Xx\in X and create a list LXL_X of pairs (x,ΛX(x))(x,\Lambda_X(x)) sorted in ascending order of ΛX(x)\Lambda_X(x) (Figure 5(a)).

Schematic illustration of list construction and binary search

Figure 5. Schematic illustration of list construction and binary search (p=3p=3 example with V0=2V_0=2 and (ΔV1,ΔV2,ΔV3)=(−2,4,−8)(\Delta V_1,\Delta V_2,\Delta V_3)=(-2,4,-8)). Each cell represents a pair (x,ΛX(x))(x,\Lambda_X(x)). (a) Compute ΛX(x)\Lambda_X(x) for all elements x∈Xx \in X and create a list LXL_X sorted in ascending order of ΛX(x)\Lambda_X(x). (b) For a given yy, perform a binary search8 in LXL_X to find xx such that ΛX(x)\Lambda_X(x) is within the interval [−ΛY(y),Λtarget−ΛY(y)][-\Lambda_Y(y),\Lambda_{\mathrm{target}}-\Lambda_Y(y)]. The figure shows the case of ΛY(y)=5\Lambda_Y(y)=5 and Λtarget=2\Lambda_{\mathrm{target}}=2. The right vertical lines indicate the search range in each iteration of the binary search, and the black dots represent the middle elements. After three iterations, the element x=111x=111 (green) that falls within the target interval is found.

  1. Choose an element y∈Yy \in Y and search the list LXL_X by binary search for an element xx satisfying 0≤ΛX(x)+ΛY(y)≤Λtarget0 \le\Lambda_X(x) + \Lambda_Y(y) \le\Lambda_{\mathrm{target}} (see Figure 5(b)). If no such element exists, choose another element of YY and repeat the same binary-search procedure.

  1. Terminate the search when the sum satisfies 0≤ΛX(x)+ΛY(y)≤Λtarget0 \le\Lambda_X(x) + \Lambda_Y(y) \le\Lambda_{\mathrm{target}}, and output m=(x,y)\mathbf{m} = (x,y). If all the elements of YY have been examined, output that no solution exists.

Let us evaluate the computational complexity of the algorithm. In step 1, generating the list requires ∣X∣=2N/2|X|=2^{N/2} partial sum calculations and O(2N/2log⁡2N/2)=O(N2N/2)O(2^{N/2}\log2^{N/2})=O(N2^{N/2}) comparisons for sorting. The scan in step 2 requires only O(2N/2)O(2^{N/2}) computations. Therefore, suppressing polynomial factors, this classical algorithm can perform vacuum search with a computational complexity of

O∗(2N/2).(13)O^*(2^{N/2}). \tag*{(13)}

Compared to the brute-force search of O∗(2N)O^*(2^N), the exponent is halved, which is due to dividing the variables into two blocks, enumerating the partial sums independently, and matching them in linear time.

On the other hand, this algorithm requires storing the list in memory. The list has 2N/22^{N/2} elements, and each element consists of N/2N/2 bits representing xx and O(log⁡2(MPl4/Λtarget))O(\log_2(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}})) bits representing the contribution to the vacuum energy. Therefore, to use this algorithm, we need9

Nbit=O((N+log⁡2(MPl4Λtarget))2N/2).(14)N_{\mathrm{bit}}=O\left(\left(N+\log_2\left(\frac{M_{\mathrm{Pl}}^4}{\Lambda_{\mathrm{target}}}\right)\right)2^{N/2}\right). \tag*{(14)}

Sorted-list algorithm: Grover search with a sorted list

Here, we construct a quantum algorithm for solving the vacuum-search problem through the collision problem, based on Ref. [26], which we refer to as the sorted-list algorithm. This algorithm can be seen as a quantum acceleration of the matching of two lists in the meet-in-the-middle algorithm.

We introduce a function-value oracle UYU_Y that computes ΛY(y)\Lambda_Y(y):

UY∣y⟩∣0⟩anc=∣y⟩∣ΛY(y)⟩anc,(15)U_Y\lvert y\rangle\lvert0\rangle_{\mathrm{anc}}=\lvert y\rangle\lvert\Lambda_Y(y)\rangle_{\mathrm{anc}}, \tag*{(15)}

where ∣y⟩\lvert y\rangle denotes the register holding yy and ∣0⟩anc\lvert0\rangle_{\mathrm{anc}} denotes an ancilla register initialized to ∣0⟩\lvert0\rangle, into which ΛY(y)\Lambda_Y(y) is written. Although there are input registers that hold V0V_0 and ΔVi\Delta V_i, we omit them from the notation for simplicity. The oracle UYU_Y can be constructed from a quantum adder, similar to UΛU_\Lambda in § 3 A, and corresponds to restricting the input of UΛU_\Lambda to yy.

We assume a quantum-accessible classical memory (QRACM, see App. § 3.2 1) [26] for the sorted-list algorithm. First, we compute ΛX(x)\Lambda_X(x) classically for all elements xx in XX, and create a list LL of pairs (x,ΛX(x))(x,\Lambda_X(x)) sorted in ascending order of ΛX(x)\Lambda_X(x). This operation is the same as creating LXL_X in step 1 of § 3 C 2. Next, we prepare the initial state for Grover search, which consists of a superposition over all elements of YY and an ancilla register initialized to ∣0⟩\lvert0\rangle:

∣ϕ0⟩=1∣Y∣∑y∈Y∣y⟩∣0⟩anc.(16)\lvert\phi_0\rangle=\frac{1}{\sqrt{\lvert Y\rvert}}\sum_{y\in Y}\lvert y\rangle\lvert0\rangle_{\mathrm{anc}}. \tag*{(16)}

The phase oracle UGroverU_{\mathrm{Grover}} for Grover search is constructed in the following steps:

  1. Use UYU_Y to compute ΛY(y)\Lambda_Y(y) for the bit string yy:

UY(1∣Y∣∑y∈Y∣y⟩∣0⟩anc)=1∣Y∣∑y∈Y∣y⟩∣ΛY(y)⟩anc.(17)U_Y\left(\frac{1}{\sqrt{\lvert Y\rvert}}\sum_{y\in Y}\lvert y\rangle\lvert0\rangle_{\mathrm{anc}}\right)=\frac{1}{\sqrt{\lvert Y\rvert}}\sum_{y\in Y}\lvert y\rangle\lvert\Lambda_Y(y)\rangle_{\mathrm{anc}}. \tag*{(17)}

Note that ΛY(y)\Lambda_Y(y) is not sorted.

  1. Find x∈Xx\in X such that 0≤ΛX(x)+ΛY(y)≤Λtarget0\leq\Lambda_X(x)+\Lambda_Y(y)\leq\Lambda_{\mathrm{target}} using binary search (Figure 5(b)). In this step, we use QRACM. Let LL be the list sorted in ascending order, and let the ii-th element be (xi,ΛX(xi))(x_i,\Lambda_X(x_i)) (i.e., ΛX(x1)≤ΛX(x2)≤⋯≤ΛX(x∣X∣)\Lambda_X(x_1)\leq\Lambda_X(x_2)\leq\cdots\leq\Lambda_X(x_{\lvert X\rvert})). An access to the list using QRACM can be expressed as

UQRACM∣i⟩addr∣0⟩val=∣i⟩addr∣ΛX(xi)⟩val.(18)U_{\mathrm{QRACM}}\lvert i\rangle_{\mathrm{addr}}\lvert0\rangle_{\mathrm{val}}=\lvert i\rangle_{\mathrm{addr}}\lvert\Lambda_X(x_i)\rangle_{\mathrm{val}}. \tag*{(18)}

Here, ∣i⟩addr\lvert i\rangle_{\mathrm{addr}} is the address register corresponding to the ii-th element of LL, and ∣0⟩val\lvert0\rangle_{\mathrm{val}} is the value register that receives the read value. Both registers are initialized to ∣0⟩\lvert0\rangle.

Step 2 consists of repeating this access and comparison K=⌈log⁡2∣X∣⌉K=\lceil\log_2\lvert X\rvert\rceil times. Let WkW_k denote the unitary representing the kk-th iteration. WkW_k is composed of (i) writing the element number iki_k determined by the binary search, (ii) applying UQRACMU_{\mathrm{QRACM}} in Eq. (18), and (iii) comparing ΛX(xik)\Lambda_X(x_{i_k}) in the value register with −ΛY(y)-\Lambda_Y(y) to determine whether the sum is below or above zero, and writing the result to the comparison result register. The comparison results of each iteration are retained, and the address and value registers are reset to ∣0⟩\lvert0\rangle before the next iteration. After KK iterations, we obtain the smallest index i∗i^* such that ΛX(xi∗)≥−ΛY(y)\Lambda_X(x_{i^*})\geq-\Lambda_Y(y). 10 We read out ΛX(xi∗)\Lambda_X(x_{i^*}) using Eq. (18), and check whether ΛX(xi∗)+ΛY(y)≤Λtarget\Lambda_X(x_{i^*})+\Lambda_Y(y)\leq\Lambda_{\mathrm{target}} holds. If it holds, we set f(y)=1f(y)=1, otherwise f(y)=0f(y)=0. We denote this operation as CflagC_{\mathrm{flag}}, and then reverse all iterations. The unitary representing the entire binary search is denoted as UbinaryU_{\mathrm{binary}}:

Ubinary≡(WK⋯W1)†Cflag(WK⋯W1),Ubinary∣y⟩∣ΛY(y)⟩anc∣0⟩addr∣0⟩val∣0⟩flag=∣y⟩∣ΛY(y)⟩anc∣0⟩addr∣0⟩val∣f(y)⟩flag,(19)\begin{aligned} U_{\mathrm{binary}} &\equiv(W_K \cdots W_1)^\dagger C_{\mathrm{flag}}(W_K \cdots W_1),\\ U_{\mathrm{binary}}|y\rangle|\Lambda_Y(y)\rangle_{\mathrm{anc}}|0\rangle_{\mathrm{addr}}|0\rangle_{\mathrm{val}}|0\rangle_{\mathrm{flag}} &= |y\rangle|\Lambda_Y(y)\rangle_{\mathrm{anc}}|0\rangle_{\mathrm{addr}}|0\rangle_{\mathrm{val}}|f(y)\rangle_{\mathrm{flag}}, \tag*{(19)} \end{aligned}
f(y)={1if ∃x∈X: 0≤ΛX(x)+ΛY(y)≤Λtarget,0otherwise.f(y)= \begin{cases} 1 & \text{if }\exists x\in X:\ 0\leq\Lambda_X(x)+\Lambda_Y(y)\leq\Lambda_{\mathrm{target}},\\ 0 & \text{otherwise}. \end{cases}
  1. Perform a phase flip on ∣1⟩flag|1\rangle_{\mathrm{flag}}, and then return the flag register to ∣0⟩flag|0\rangle_{\mathrm{flag}} using Ubinary†U_{\mathrm{binary}}^\dagger. This is expressed as

UM′=Ubinary†ZflagUbinary,UM′∣y⟩∣ΛY(y)⟩anc=(−1)f(y)∣y⟩∣ΛY(y)⟩anc,(20)U_{M'}=U_{\mathrm{binary}}^\dagger Z_{\mathrm{flag}}U_{\mathrm{binary}},\qquad U_{M'}|y\rangle|\Lambda_Y(y)\rangle_{\mathrm{anc}}=(-1)^{f(y)}|y\rangle|\Lambda_Y(y)\rangle_{\mathrm{anc}}, \tag*{(20)}

where ZflagZ_{\mathrm{flag}} is the phase flip operator of the flag register.

To summarize, the phase oracle UGroverU_{\mathrm{Grover}} for Grover search is given by

UGrover=UY†UM′UY,UGrover∣y⟩∣0⟩anc={∣y⟩∣0⟩ancif f(y)=0,−∣y⟩∣0⟩ancif f(y)=1.(21)U_{\mathrm{Grover}}=U_Y^\dagger U_{M'}U_Y,\qquad U_{\mathrm{Grover}}|y\rangle|0\rangle_{\mathrm{anc}}= \begin{cases} |y\rangle|0\rangle_{\mathrm{anc}} & \text{if }f(y)=0,\\ -|y\rangle|0\rangle_{\mathrm{anc}} & \text{if }f(y)=1. \end{cases} \tag*{(21)}

Therefore, this oracle has the same structure as Eq. (8) in § 3 B, and Grover search can be performed in the same way. Once a yy with f(y)=1f(y)=1 has been found, we perform a classical binary search in LL to find a corresponding xx and output m=(x,y)\boldsymbol{m}=(x,y).

We summarize the computational complexity of the sorted-list algorithm. Generating the list LL classically requires 2p2^p partial sum calculations and O(p2p)O(p2^p) comparisons for sorting, which is O(2p)∗O(2^p)^* after suppressing polynomial factors for query complexity. Grover search requires O(∣Y∣)=O(2(N−p)/2)O(\sqrt{|Y|})=O(2^{(N-p)/2}) iterations. Suppressing the polynomial cost of binary search in each iteration, the overall complexity is

O(2p+2(N−p)/2).(22)O(2^p+2^{(N-p)/2}). \tag*{(22)}

Choosing p=N/3p=N/3 balances the two exponential terms, yielding

O(2N/3).(23)O(2^{N/3}). \tag*{(23)}

We also summarize the required resources. The data used by the algorithm is divided into the list LL and the quantum register. The number of elements in the list LL is ∣X∣=2p|X|=2^p, and each element consists of pp bits representing xx and O(log⁡2(MPl4/Λtarget))O(\log_2(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}})) bits representing ΛX(x)\Lambda_X(x). Since LL is stored in classical memory, the required number of classical memory bits is

Nbit=O((p+log⁡2(MPl4Λtarget))2p).(24)N_{\mathrm{bit}}=O\left(\left(p+\log_2\left(\frac{M_{\mathrm{Pl}}^4}{\Lambda_{\mathrm{target}}}\right)\right)2^p\right). \tag*{(24)}

The quantum register consists of N−pN-p qubits for the Grover search register holding yy, O(log⁡2(MPl4/Λtarget))O(\log_2(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}})) qubits for the ancilla register recording ΛY(y)\Lambda_Y(y), log⁡2∣X∣=p\log_2|X|=p qubits for the address register, and O(log⁡2(MPl4/Λtarget))O(\log_2(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}})) qubits for the value register. Therefore, the number of qubits, excluding the input registers holding V0V_0 and ΔVi\Delta V_i, is11

Nqubit=O(N+log⁡2(MPl4Λtarget)).(25)N_{\mathrm{qubit}}=O\left(N+\log_2\left(\frac{M_{\mathrm{Pl}}^4}{\Lambda_{\mathrm{target}}}\right)\right). \tag*{(25)}

When the input registers holding V0V_0 and ΔVi\Delta V_i are included,

Nqubit=O(N+(N−p)log⁡2(MPl4Λtarget)).(26)N_{\mathrm{qubit}}=O\left(N+(N-p)\log_2\left(\frac{M_{\mathrm{Pl}}^4}{\Lambda_{\mathrm{target}}}\right)\right). \tag*{(26)}

Quantum-walk algorithm: claw finding by quantum walk

As an alternative to the above algorithm, the quantum walk (Szegedy walk) is known to be applicable to search problems [27, 34]. In this approach, the search space is mapped onto a graph called a Markov graph, and the existence of a solution is determined using the states represented on that graph. For the collision problem, there is a known quantum-walk algorithm for claw finding [28]. For the window condition considered here, we use the extension to general relations discussed immediately after Corollary 5 in Ref. [28]. Here we just summarize the result of the algorithm.

Each node of the graph corresponds to a pair of subsets (X′,Y′)(X^\prime, Y^\prime), where X′⊆XX^\prime\subseteq X contains rXr_X elements and Y′⊆YY^\prime\subseteq Y contains rYr_Y elements. This algorithm implicitly uses quantum access quantum memory (QRAQM, see App. § 3.2 2) for dealing with subsets on a node. The query complexity of finding a collision, counting calls to the function-value oracles, is given by

O(rX+rY+∣X∣∣Y∣rX).(27)\mathcal{O}\left(r_X+r_Y+\sqrt{\frac{|X||Y|}{r_X}}\right). \tag*{(27)}

In our case, ∣X∣=2p|X|=2^p and ∣Y∣=2N−p|Y|=2^{N-p}, and if we choose

13N≤p≤23N,rX=rY=O((∣X∣∣Y∣)1/3),(28)\frac{1}{3}N\leq p\leq\frac{2}{3}N,\qquad r_X=r_Y=\mathcal{O}\left((|X||Y|)^{1/3}\right), \tag*{(28)}

then the query complexity becomes

O((∣X∣∣Y∣)1/3)=O(2N/3).(29)\mathcal{O}\left((|X||Y|)^{1/3}\right)=\mathcal{O}(2^{N/3}). \tag*{(29)}

The difference from the sorted-list algorithm is the freedom in choosing the partition point pp. In the sorted-list algorithm, pp is fixed at N/3N/3, while in the quantum-walk algorithm, any pp within the above range can be chosen.

Notice that the quantum-walk algorithm requires a large number of qubits to represent the Markov graph. From the dimension of the Hilbert space required to represent the graph, we have

2Nqubit=(∣X∣rX)×(∣Y∣rY).(30)2^{N_{\rm qubit}}=\binom{|X|}{r_X}\times\binom{|Y|}{r_Y}. \tag*{(30)}

From this equation, we can estimate

Nqubit=O(rXlog⁡(∣X∣/rX)+rYlog⁡(∣Y∣/rY)).(31)N_{\rm qubit}=\mathcal{O}\left(r_X\log(|X|/r_X)+r_Y\log(|Y|/r_Y)\right). \tag*{(31)}

In the case of rX=rY=O((∣X∣∣Y∣)1/3)r_X=r_Y=\mathcal{O}\left((|X||Y|)^{1/3}\right), we have

Nqubit=O(N2N/3).(32)N_{\rm qubit}=\mathcal{O}\left(N2^{N/3}\right). \tag*{(32)}

The above estimate concerns the representation of graph vertices. Including registers that store the contributions to vacuum energy changes the prefactor from NN to N+log⁡2(MPl4/Λtarget)N+\log_2(M_{\rm Pl}^4/\Lambda_{\rm target}), while leaving the exponential factor 2N/32^{N/3} unchanged.

Comparison of classical and quantum algorithms

In this section, we compare the computational complexity of the quantum vacuum-search algorithms developed in the previous section with a pseudo-polynomial time12 classical algorithm [16] (hereafter referred to as the DD algorithm) as a classical benchmark. The DD algorithm determines whether there exists a bit string m\mathbf{m} that satisfies the vacuum energy requirement under the choice ΔVi≥0\Delta V_i \ge0.13 The computational complexity, measured by the number of iterations required to solve the problem, is

O(N∑iΔViδ),(33)\mathcal{O}\left(\frac{N\sum_i \Delta V_i}{\delta}\right), \tag*{(33)}

where δ\delta represents the scale of the error in ΔVi\Delta V_i. Given Λtarget\Lambda_{\mathrm{target}}, we should choose δ\delta such that Nδ<ΛtargetN\delta< \Lambda_{\mathrm{target}} to ensure that the vacuum search is meaningful.14 Therefore, choosing δ\delta of order Λtarget/N\Lambda_{\mathrm{target}}/N, the computational complexity of the DD algorithm becomes

O(N2∑iΔViΛtarget).(34)\mathcal{O}\left(\frac{N^2\sum_i \Delta V_i}{\Lambda_{\mathrm{target}}}\right). \tag*{(34)}

Since it is natural to take ΔVi∼MPl4\Delta V_i \sim M_{\mathrm{Pl}}^4, the computational complexity can be expressed as

O(N3MPl4Λtarget).(35)\mathcal{O}\left(N^3\frac{M_{\mathrm{Pl}}^4}{\Lambda_{\mathrm{target}}}\right). \tag*{(35)}

Now we compare the DD algorithm with the quantum vacuum-search algorithms assuming that the time taken for one iteration of the DD algorithm is equal to the time taken for one execution of the oracle in the quantum algorithms. This comparison retains the explicit factor N3N^3 in the DD estimate while suppressing polynomial prefactors in the quantum estimates. Such prefactors do not change the displayed exponential dependence, but they can shift the crossover curves. Actual running times depend on the costs of oracle evaluation, memory access, and other operations. Interpreting the quoted exponential factors as time scalings requires these operations, including quantum-walk data updates and marked-vertex checks, to have only polynomial overhead. The figure therefore illustrates the stated cost model and does not predict actual running times. The results are shown in Figure 6. The horizontal axis represents the number of fields NN, and the vertical axis represents the magnitude of the input value log⁡10(MPl4/Λtarget)\log_{10}(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}}). In the red region, the collision-based algorithms are more efficient, while in the blue region, the DD algorithm is more efficient. The green dashed line indicates where the computational complexity of the DD algorithm is equal to that of the plain Grover search/classical meet-in-the-middle algorithm.

Comparison of the computational complexity between the DD algorithm and the quantum algorithms developed in this study

Figure 6. The comparison of the computational complexity between the DD algorithm and the quantum algorithms developed in this study. The vertical axis represents log⁡10(MPl4/Λtarget)\log_{10}(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}}). The red and blue regions indicate where the quantum algorithms and the DD algorithm have lower computational complexity, respectively. The green dashed line represents the equality of the computational complexity between the DD algorithm and the plain Grover search/classical meet-in-the-middle algorithm. The red point indicates the physically motivated parameters (N,log⁡10(MPl4/Λtarget))=(400,120)(N,\log_{10}(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}}))=(400,120).

The red point in the figure represents the physically motivated parameters where Λtarget/MPl4∼10−120\Lambda_{\mathrm{target}}/M_{\mathrm{Pl}}^4 \sim10^{-120} and N∼400N \sim400. The former is motivated by the observed value of the cosmological constant. For this benchmark, we assume that zero lies within the bulk of the vacuum-energy distribution, whose width is σ∼NMPl4\sigma\sim\sqrt{N}M_{\mathrm{Pl}}^4. This is consistent with the statistical setup of Ref. [20], where the energies of the individual minima are drawn from distributions with zero mean. Under this assumption, the estimated number of vacua in the target window is of order 2NΛtarget/(NMPl4)2^N\Lambda_{\mathrm{target}}/(\sqrt{N}M_{\mathrm{Pl}}^4). Requiring this number to be of order unity or larger motivates N≃400N \simeq400 for Λtarget/MPl4∼10−120\Lambda_{\mathrm{target}}/M_{\mathrm{Pl}}^4 \sim10^{-120}. Within this cost model, Figure 6 places this point in the region where quantum algorithms have an advantage.

Using a polynomial factor poly⁡(N)\operatorname{poly}(N), the gate complexity of the quantum algorithms can be estimated as

O(poly⁡(N)2N/3).(36)\mathcal{O}\left(\operatorname{poly}(N)2^{N/3}\right). \tag*{(36)}

This polynomial factor represents the gate cost of all operations per query. To keep the quantum advantage over the DD algorithm even when this factor is taken into account, we need

poly⁡(N)<N3MPl4/Λtarget2N/3.(37)\operatorname{poly}(N) < \frac{N^3M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}}}{2^{N/3}}. \tag*{(37)}

From this inequality, the degree of poly⁡(N)\operatorname{poly}(N) must satisfy

deg⁡poly⁡(N)<3+log⁡10(MPl4/Λtarget)log⁡10N−Nlog⁡1023log⁡10N.(38)\deg\operatorname{poly}(N) < 3 + \frac{\log_{10}(M_{\mathrm{Pl}}^4/\Lambda_{\mathrm{target}})}{\log_{10}N} - \frac{N\log_{10}2}{3\log_{10}N}. \tag*{(38)}

For the physically motivated values Λtarget/MPl4∼10−120\Lambda_{\mathrm{target}}/M_{\mathrm{Pl}}^4 \sim10^{-120} and N∼400N \sim400 to enter the quantum advantage region, the degree of poly⁡(N)\operatorname{poly}(N) must satisfy

deg⁡poly⁡(N)<34.(39)\deg\operatorname{poly}(N) < 34. \tag*{(39)}

Therefore, if the operations per query can be implemented at a cost lower than O(N34)O(N^{34}), a quantum advantage in gate complexity can also be realized.

Conclusion and discussion

In this paper, we have constructed quantum algorithms for vacuum search in the landscape of the ADK model. The most basic plain Grover search solves the ADK vacuum-search problem with a computational complexity of O(2N/2)O(2^{N/2}), while the collision-based algorithms (the sorted-list algorithm and the quantum-walk algorithm) achieve a computational complexity of O(2N/3)O(2^{N/3}). Under the cost model of § 4, the quantum algorithms have a lower estimated computational cost than the DD algorithm for physically motivated parameters. Similarly, compared to the classical meet-in-the-middle algorithm, the collision-based algorithms improve the exponent from N/2N/2 to N/3N/3.

There are several directions for future work. One is to extend the quantum algorithms constructed in this study to more realistic string theory compactification models. The main extensions are as follows:

  1. Generalize the parameter mi∈{0,1}m_i \in\{0,1\} to a parameter with a range of general integer values.

  1. Incorporate the constraints on the parameters corresponding to the tadpole condition.

With these extensions, the quantum algorithms constructed in this study would be useful for searching for flux parameters NiN^i that yield a small vacuum expectation value of the superpotential [35], which is preferred in the context of the KKLT scenario [3]. However, the coefficients of the flux parameters depend on the vacuum expectation values of the moduli, which is a difficulty in applying the algorithms in § 3 C. It is necessary to identify parameter regions where the coefficients depend only weakly on the flux parameters.

Another direction for future work is to further improve the computational complexity. The O(2N/3)O(2^{N/3}) scaling obtained in this study is based on the reduction to the collision problem by dividing the variables into two blocks. On the other hand, for this type of problem, a quantum algorithm has recently been reported that achieves a computational complexity of O∗(22N/7)O^*(2^{2N/7}) with worst-case guarantees by using a different partition [36]. It is interesting to consider the application of this algorithm to the ADK vacuum search.

Acknowledgments

The authors would like to thank Yoshihiko Abe for carefully reading the manuscript and for helpful discussions and comments. Y.H. was supported in part by JSPS KAKENHI Grant Nos. JP24K07035 and JP24KF0167, and by JST BOOST Program Japan Grant No. JPMJBY25E1. OpenAI’s Codex and Anthropic’s Claude Code were used to assist in writing the manuscript and checking equations.

We denote the set to be searched as SS, and the set of solutions we want to find as MM. We use the quantum state ∣s⟩\lvert s\rangle to represent an element s∈Ss \in S. Grover search [24] uses a quantum operator UGroverU_{\mathrm{Grover}} (phase oracle) that determines whether a given quantum state is a solution or not:

UGrover∣s⟩={∣s⟩if s∉M,−∣s⟩if s∈M.(40)U_{\mathrm{Grover}}\lvert s\rangle= \begin{cases} \lvert s\rangle& \text{if } s \notin M,\\ -\lvert s\rangle& \text{if } s \in M. \end{cases} \tag*{(40)}

When the number of solutions ∣M∣\lvert M\rvert is known, Grover search proceeds as follows:

Algorithm: Grover search

  1. Prepare the initial state

∣ϕ0⟩=1∣S∣∑s∈S∣s⟩.(41)\lvert\phi_0\rangle= \frac{1}{\sqrt{\lvert S\rvert}}\sum_{s\in S}\lvert s\rangle. \tag*{(41)}
  1. Apply the operator UGroverU_{\mathrm{Grover}} defined in Eq. (40).

  1. Apply the diffusion operator

2∣ϕ0⟩⟨ϕ0∣−I.(42)2\lvert\phi_0\rangle\langle\phi_0\rvert-I. \tag*{(42)}

Algorithm: Grover search (continued)

  1. Repeat steps 2 and 3 approximately π4∣S∣∣M∣\frac{\pi}{4}\sqrt{\frac{|S|}{|M|}} times.

  1. Measure the final state to read out ∣s⟩|s\rangle, s∈Ms \in M.

The query complexity of the above algorithm is

O(∣S∣∣M∣).(43)\mathcal{O}\left(\sqrt{\frac{|S|}{|M|}}\right). \tag*{(43)}

Even when the number of solutions ∣M∣|M| is unknown, there exists an algorithm that can find a solution with the same scaling in terms of ∣S∣|S| [37]. In this procedure, the number of iterations is gradually increased, and a solution is found when the optimal number of iterations is reached. Concretely, the algorithm is as follows.

Algorithm: Grover search (unknown number of solutions)

  1. Set m=1m = 1 and choose a fixed integer k≥4k \ge4.

  1. Choose an integer jj uniformly at random such that 0≤j<m0 \le j < m.

  1. Repeat steps 2 and 3 of Grover search jj times, and obtain the measurement result s~\tilde{s}.

  1. Check whether s~\tilde{s} is a solution. If it is, output s~\tilde{s} and terminate the algorithm. If not, update m:=min⁡(λm,∣S∣)m := \min(\lambda m, \sqrt{|S|}) and return to step 2. Here, λ∈(1,4/3)\lambda\in(1, 4/3). After reaching m=∣S∣m = \sqrt{|S|}, if no solution is found for kk trials, output “no solution” and terminate the algorithm.

Here, mm is the upper limit of the number of Grover search iterations in one trial, and λ>1\lambda> 1 is the factor by which the upper limit of iterations is increased for each trial. Since ∣M∣|M| is unknown, the optimal number of iterations is unknown. However, eventually mm will reach the level of the optimal number of iterations, and thereafter each trial will output a solution with at least a constant probability. The condition λ<4/3\lambda< 4/3 ensures that the series of expected iterations converges when failures are repeated. Regarding the stopping condition, if M≠∅M \ne\varnothing, after reaching m=∣S∣m = \sqrt{|S|}, each trial will output a solution with at least a constant probability (evaluated as at least 1/41/4 in Ref. [37]), so the probability of outputting “no solution” when a solution exists is at most (3/4)k(3/4)^k. For a fixed k≥4k \ge4, we have (3/4)k≤81/256<1/3(3/4)^k \le81/256 < 1/3, which ensures the success probability required in Definition II.1.

QRAM

QRACM and QRAQM are two types of quantum random-access memory (QRAM) models. In this appendix, we briefly summarize the QRACM and QRAQM models.

QRACM

The sorted-list algorithm in § 3 C 3 accesses a classically prepared list LL for each quantum state. The device that enables this operation is called QRACM (quantum-accessible classical memory). The QRACM was introduced in Ref. [29], and it is widely assumed in quantum algorithms for the subset sum problem, including Ref. [26]. In this appendix, we review the points of QRACM relevant to our algorithm.

Suppose that there are KK numbers of ww-bit data D0,D1,…,DK−1D_0, D_1, \ldots, D_{K-1} stored in classical memory. The QRACM is a device that, for an address register ∣i⟩|i\rangle consisting of ⌈log⁡2K⌉\lceil\log_2 K \rceil qubits and a value register ∣z⟩|z\rangle consisting of ww qubits, implements the operation

UQRACM∣i⟩∣z⟩=∣i⟩∣z⊕Di⟩,i∈{0,1,…,K−1},z∈{0,1}w.(44)U_{\mathrm{QRACM}}|i\rangle|z\rangle= |i\rangle|z \oplus D_i\rangle,\qquad i \in\{0,1,\ldots,K-1\},\qquad z \in\{0,1\}^{w}. \tag*{(44)}

When the address register is in a superposition of the states ∣i⟩|i\rangle, from Eq. (44), each component of the superposition reads out the data corresponding to its address. It is essential to note that the data DiD_i itself is classical and not held as a quantum state. The assumption of QRACM means that the operation in Eq. (44) can be executed in O(log⁡K)O(\log K) time.15

We assume that the QRACM is available for the sorted-list algorithm in § 3 C 3. In this algorithm, for each iteration of Grover search, the phase oracle UGroverU_{\mathrm{Grover}} [Eq. (21)] acts on the superposition of all elements of YY, ∑y∣y⟩\sum_y |y\rangle. The operator UGroverU_{\mathrm{Grover}} computes ΛY(y)\Lambda_Y(y) for each yy and performs a binary search on the list LL to find an xx such that ΛX(x)\Lambda_X(x) is within the desired window. Since the address to be read from LL at each stage of the binary search depends on yy, an operation of the form in Eq. (44) is required. One application of UGroverU_{\mathrm{Grover}} in Eq. (21) requires O(p)O(p) QRACM accesses.

QRAQM

The quantum-walk algorithm in § 3 C 4 accesses a memory composed of a quantum state. The memory register itself can be in a superposition of different data sets. The device that enables this operation is called QRAQM (quantum access quantum memory).

Suppose that there are KK numbers of ww-bit data D0,D1,…,DK−1D_0,D_1,\ldots,D_{K-1} stored in quantum memory. The QRAQM is a device that, for an address register ∣i⟩|i\rangle consisting of ⌈log⁡2K⌉\lceil\log_2 K\rceil qubits and a value register ∣z⟩|z\rangle consisting of ww qubits, implements the operation

UQRAQM∣i⟩∣z⟩∣D0,D1,…,DK−1⟩=∣i⟩∣z⊕Di⟩∣D0,D1,…,DK−1⟩,(45)U_{\mathrm{QRAQM}}|i\rangle|z\rangle|D_0,D_1,\ldots,D_{K-1}\rangle= |i\rangle|z \oplus D_i\rangle|D_0,D_1,\ldots,D_{K-1}\rangle, \tag*{(45)}
i∈{0,1,…,K−1},z∈{0,1}w.i \in\{0,1,\ldots,K-1\},\qquad z \in\{0,1\}^{w}.

In the above equation, the third register represents the quantum memory. QRAQM allows the memory itself to be in a quantum superposition. If the memory stores a superposition of multiple data sets, each consisting of KK numbers of ww-bit data values, the ii-th data value can be coherently accessed using the address register ∣i⟩|i\rangle while preserving the superposition of the memory.

Many quantum-walk-based algorithms assume that QRAQM is available as a data structure attached to graphs. The claw-finding algorithm [28] in § 3 C 4 implicitly uses QRAQM to store the information on the graph. This structure is exploited to reduce the query complexity in the algorithm.

References

  1. [1]N. Aghanim et al. (Planck), Planck 2018 results. VI. Cosmological parameters, Astron. Astrophys. 641, A6 (2020), [Erratum: Astron. Astrophys. 652, C4 (2021)], arXiv:1807.06209 [astro-ph.CO].DOI
  2. [2]S. B. Giddings, S. Kachru, and J. Polchinski, Hierarchies from fluxes in string compactifications, Phys. Rev. D 66, 106006 (2002), arXiv:hep-th/0105097.DOI
  3. [3]S. Kachru, R. Kallosh, A. D. Linde, and S. P. Trivedi, De Sitter vacua in string theory, Phys. Rev. D 68, 046005 (2003), arXiv:hep-th/0301240.DOI
  4. [4]M. Grana, Flux compactifications in string theory: A Comprehensive review, Phys. Rept. 423, 91 (2006), arXiv:hep-th/0509003.DOI
  5. [5]M. R. Douglas and S. Kachru, Flux compactification, Rev. Mod. Phys. 79, 733 (2007), arXiv:hep-th/0610102.
  6. [6]R. Bousso and J. Polchinski, Quantization of four form fluxes and dynamical neutralization of the cosmological constant, J. High Energy Phys. 06 (2000) 006, arXiv:hep-th/0004134.DOI
  7. [7]L. Susskind, The Anthropic landscape of string theory, (2003), arXiv:hep-th/0302219.DOI
  8. [8]M. R. Douglas, The Statistics of string / M theory vacua, J. High Energy Phys. 05 (2003) 046, arXiv:hep-th/0303194.DOI
  9. [9]S. Ashok and M. R. Douglas, Counting flux vacua, J. High Energy Phys. 01 (2004) 060, arXiv:hep-th/0307049.DOI
  10. [10]F. Denef and M. R. Douglas, Distributions of flux vacua, J. High Energy Phys. 05 (2004) 072, arXiv:hep-th/0404116.DOI
  11. [11]M. R. Douglas, Talk given at Strings 2005, Toronto, (2005).
  12. [12]C. Vafa, The String landscape and the swampland, (2005), arXiv:hep-th/0509212.DOI
  13. [13]B. S. Acharya and M. R. Douglas, A Finite landscape?, (2006), arXiv:hep-th/0606212.DOI
  14. [14]Y. Hamada, M. Montero, C. Vafa, and I. Valenzuela, Finiteness and the swampland, J. Phys. A 55, 224005 (2022), arXiv:2111.00015 [hep-th].DOI
  15. [15]S. Weinberg, Anthropic Bound on the Cosmological Constant, Phys. Rev. Lett. 59, 2607 (1987).pubmed.ncbi.nlm.nih.gov/10035596
  16. [16]F. Denef and M. R. Douglas, Computational complexity of the landscape. I., Annals Phys. 322, 1096 (2007), arXiv:hep-th/0602072.DOI
  17. [17]J. Halverson and F. Ruehle, Computational Complexity of Vacua and Near-Vacua in Field and String Theory, Phys. Rev. D 99, 046015 (2019), arXiv:1809.08279 [hep-th].DOI
  18. [18]N. Arkani-Hamed, S. Dimopoulos, and S. Kachru, Predictive landscapes and new physics at a TeV, (2005), arXiv:hep-th/0501082.
  19. [19]F. Denef, M. R. Douglas, B. Greene, and C. Zukowski, Computational complexity of the landscape II—Cosmological considerations, Annals Phys. 392, 93 (2018), arXiv:1706.06430 [hep-th].DOI
  20. [20]N. Bao, R. Bousso, S. Jordan, and B. Lackey, Fast Optimization Algorithms and the Cosmological Constant, Phys. Rev. D 96, 103512 (2017), arXiv:1706.08503 [hep-th].DOI
  21. [21]J. Halverson, B. Nelson, and F. Ruehle, Branes with Brains: Exploring String Vacua with Deep Reinforcement Learning, J. High Energy Phys. 06 (2019) 003, arXiv:1903.11616 [hep-th].DOI
  22. [22]A. Cole, A. Schachner, and G. Shiu, Searching the Landscape of Flux Vacua with Genetic Algorithms, J. High Energy Phys. 11 (2019) 045, arXiv:1907.10072 [hep-th].DOI
  23. [23]K. Goto, Y. Hamada, K. Kato, T. Mori, Y. Nakata, M. Watanabe, H. Yamasaki, M. Yamazaki, and T. Yoda, Rethinking quantum information in gravity and fields, (2026), arXiv:2606.30853 [hep-th].arxiv.org/abs/2606.30853
  24. [24]L. K. Grover, A Fast Quantum Mechanical Algorithm for Database Search, in 28th Annual ACM Symposium on Theory of Computing (1996) pp. 212–219, arXiv:quant-ph/9605043.arxiv.org/abs/quant-ph/9605043
  25. [25]E. Horowitz and S. Sahni, Computing Partitions with Applications to the Knapsack Problem, J. ACM 21, 277 (1974).DOI
  26. [26]D. J. Bernstein, S. Jeffery, T. Lange, and A. Meurer, Quantum Algorithms for the Subset-Sum Problem, in Post-Quantum Cryptography, Vol. 7932 of Lecture Notes in Computer Science (Springer, 2013) pp. 16–33.
  27. [27]M. Szegedy, Quantum Speed-Up of Markov Chain Based Algorithms, in 45th Annual IEEE Symposium on Foundations of Computer Science (2004) pp. 32–41.DOI
  28. [28]S. Tani, Claw Finding Algorithms Using Quantum Walk, Theor. Comput. Sci. 410, 5285 (2009), arXiv:0708.2584 [quant-ph].DOI
  29. [29]G. Kuperberg, A subexponential-time quantum algorithm for the dihedral hidden subgroup problem, SIAM J. Comput. 35, 170 (2005), arXiv:quant-ph/0302112.arxiv.org/abs/quant-ph/0302112
  30. [30]V. Giovannetti, S. Lloyd, and L. Maccone, Quantum random access memory, Phys. Rev. Lett. 100, 160501 (2008), arXiv:0708.1879 [quant-ph].DOI
  31. [31]S. Wang, Z. Wang, Y. Li, L. Fan, J. Wu, C. Chen, N. Wu, and B. Zeng, A Comprehensive Study of Quantum Arithmetic Circuits, (2024), arXiv:2406.03867 [quant-ph].arxiv.org/abs/2406.03867
  32. [32]V. Vedral, A. Barenco, and A. Ekert, Quantum Networks for Elementary Arithmetic Operations, Phys. Rev. A 54, 147 (1996), arXiv:quant-ph/9511018.DOI
  33. [33]R. Schroeppel and A. Shamir, A T = O(2^{n/2}), S = O(2^{n/4}) Algorithm for Certain NP-Complete Problems, SIAM J. Comput. 10, 456 (1981).DOI
  34. [34]R. Portugal, Szegedy’s Quantum Walk, in Quantum Walks and Search Algorithms, Quantum Science and Technology (Springer, Cham, 2018) pp. 223–246.DOI
  35. [35]S. Gukov, C. Vafa, and E. Witten, CFT’s from Calabi-Yau four folds, Nucl. Phys. B 584, 69 (2000), [Erratum: Nucl.Phys.B 608, 477-478 (2001)], arXiv:hep-th/9906070.DOI
  36. [36]N. Chukhin, A. S. Kulikov, M. Levitskii, and I. Mihajlin, Improved Quantum Algorithms for Subset Sum and k-SUM, (2026), arXiv:2608.07309 [cs.CC].arxiv.org/abs/2608.07309
  37. [37]M. Boyer, G. Brassard, P. Hoyer, and A. Tapp, Tight Bounds on Quantum Searching, Fortsch. Phys. 46, 493 (1998), arXiv:quant-ph/9605034.arxiv.org/abs/quant-ph/9605034
  38. [38]S. Jaques and A. G. Rattew, QRAM: A Survey and Critique, (2023), arXiv:2305.10310 [quant-ph].DOI

Paper details

vlnc:W_2rp5a7fy
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Codex, Claude Code

View statement
Looking for related papers…
Contents