This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Quantum Walk Inspired Dynamic Adiabatic Local Search

Chen-Fu Chiang Department of Computer Science, State University of New York Polytechnic Institute, Utica, NY 13203 USA [email protected]    Paul M. Alsing Information Directorate, Air Force Research Laboratory, Rome, NY 13441, USA corresponding author: [email protected]
Abstract

We investigate the irreconcilability issue that raises in translating the search algorithm from the Continuous-Time Quantum Walk (CTQW) framework to the Adiabatic Quantum Computing (AQC) framework. For the AQC formulation to evolve along the same path as the CTQW requires a constant energy gap in the former Hamiltonian throughout the AQC schedule. To resolve the issue, we modify the CTQW-inspired AQC catalyst Hamiltonian with a ZZ oracle operator. Through simulation we demonstrate that the total running time for the proposed approach remains optimal. Inspired by this solution, we further investigate adaptive scheduling for the catalyst Hamiltonian and its coefficient function in the adiabatic path to improve the adiabatic local search.

I Introduction

Quantum technologies have advanced dramatically in the past decade, both in theory and experiment. From the view of theoretical computational complexity, Shor’s factoring algorithm [1] and Grover’s search algorithm [2] are well-known for their improvements over the best possible classical algorithms designed for the same purpose. From a perspective of universal computational models, Quantum Walks (QWs) have become a prominent model of quantum computation due to their direct relationship to the physics of the quantum system [3, 4]. It has been shown that the QW computational framework is universal for quantum computation [5, 6], and many algorithms now are presented directly in the quantum walk formulation rather than through a circuit model or other abstracted method [3, 7]. Besides being search algorithms, CTQWs have been applied in fields such as quantum transport[8, 9, 10, 11], state transfer [12, 13], link prediction in complex networks [14] and the creation of Bell pairs in a random network [15]. Some other well-known universal models include the quantum circuit model [16, 17, 18], topological quantum computation [19], adiabatic quantum computation (AQC) [20], resonant transition based quantum computation [21] and measurement based quantum computation [22, 23, 24, 25]. Each model might has its own bottleneck. Investigation on the relationship among the frameworks helps identify the violations when mapping frameworks and potential solutions. By studying the mapping, one can extend the techniques from one framework to another for some potential speedup [26].

In this work we investigate the irreconcilability issue that arises when translating the search algorithm from the Continuous-Time Quantum Walk (CTQW) framework to the Adiabatic Quantum Computing (AQC) framework as first pointed out by Wong and Meyer [27]. This irreconcilability issue can be described as follow. One first notes that the CTQW is the unique continuous-time quantum walk formulation of Grover’s discrete search algorithm. While the CTQW search evolves the initial unbiased (equal amplitude) state to the unknown (marked) state on the order of time T𝒪(N)T\sim\mathcal{O}(\sqrt{N}) (where NN is the size of search space), it does not follow the same evolution path (on the Bloch sphere) as that of Grover’s algorithm. The uniqueness of the CTQW formulation stems from the fact that the unknown marked state only acquires a (time-dependent) phase from the oracle operation. Most importantly the marked states does not undergo evolution, and thus the CTQW effective employes a dichotomous “Yes/No” oracle, for which the discrete Grover’s algorithm has been proven to be optimal.

The AQC formulation of the search algorithm with a non-uniform adiabatic evolution schedule [28] also finds the marked state in time T𝒪(N)T\sim\mathcal{O}(\sqrt{N}) while at the same time following the same path as Grover’s algorithm. Thus, if one investigates what adiabatic Hamiltonian gives rise to the same evolution path as the CTQW formulation, one finds [27] the AQC formulations introduces an extra “catalyst” Hamiltonian which introduces structure beyond the standard “Yes/No” oracle employed in the CTQW or discrete (Grovers) search algorithm. A scaled version of the AQC Hamiltonian leads to a constant energy gap that implies that the marked state can be found in time T𝒪(1)T\sim\mathcal{O}(1). This discrepancy between the formulations of the two versions of a continuous time search algorithm was termed the “irreconcilability (difference) issue” between CTQW and AQC by Wong and Meyer [27].

In this work we address the CTQW/AQC search algorithm irreconcilability issue by modifying the constant energy gap Hamiltonian of the AQC formulation. Our contribution is twofold. We first adapt the result from the mapping of CTQW to AQC by selecting the regular oracle ZZ operator as the catalyst Hamiltonian and explore an alternative for the coefficient function for the catalyst Hamiltonian in order to attempt to avoid the irreconcilability issue. Through the simulation, the modified model provides optimal results in terms of time required for search. We then apply this modification to adiabatic local search by adding an additional sluggish parameter δ\delta which delineates the width of the adiabatic run time schedule over which the catalyst Hamiltonian effectively acts (i.e. the “slowdown” region in the vicinity of the system’s smallest energy gap Δ\Delta). The sluggish parameter tracks the increase of running time t=t(s)t=t(s) with respect to schedule parameter 0s10\leq s\leq 1 where δ=|d2t/ds2|\delta=|d^{2}t/ds^{2}|. The catalyst is employed when δδ0\delta\geq\delta_{0} to facilitate the process, where we have found that the threshold value of δ0=64\delta_{0}=64 provides good results.

The outline of this work is as follows. The background information regarding CTQW and AQC is given in section II where the translation of CTQW to AQC is described in section III. The irreconcilability issue that occurs during the translation is explained in section III.1 and our proposed solution is provided in section III.2. The mapping of Grover search to AQC as an adiabatic local search is summarized in section IV. We propose and describe the catalyst Hamiltonian mechanism in section IV.1.2 and determine the sluggish interval where it is employed. We further explore three coefficient functions of the catalyst Hamiltonian in section IV.1.3. The simulation results for proposed modifications are discussed in section V. Finally, our conclusions are given in section VI.

II Background

II.1 Continuous-Time Quantum Walk

Given a graph G=(V,E)G=(V,E), where VV is the set of vertices and EE is the set of edges, the CTQW on GG is defined as follows. Let AA be the adjacency matrix of GG, the |V|×|V||V|\times|V| matrix is defined component-wise as

Aij={1if (i,j)E,0otherwiseA_{ij}=\begin{cases}1&\text{if }(i,j)\in E,\\ 0&\text{otherwise}\end{cases} (1)

where i,jVi,j\in V. A CTQW starts with a uniform superposition state |ψ0\ket{\psi_{0}} in the space, spanned by nodes in VV, evolves according to the Schrödinger equation with Hamiltonian AA. After time tt, the output state is thus

|ψt=eiAt|ψ0.\ket{\psi_{t}}=e^{-iAt}\ket{\psi_{0}}. (2)

The probability that the walker is in the state |τ\ket{\tau} at time tt is given by |τ|eiAt|ψ0|2|\bra{\tau}{e^{-iAt}\ket{\psi_{0}}}|^{2}. To find the marked node |ω\ket{\omega} starting from an initial state |ψ0\ket{\psi_{0}} via a CTQW, one has to maximize the success probability

|ω|eiAt|ψ0|2|\matrixelement{\omega}{e^{-iAt}}{\psi_{0}}|^{2} (3)

while minimizing the time tt. For instance, initially at time t=0t=0, the success probability is

|ω|eiA0|ψ0|2=O(1|V|).|\matrixelement{\omega}{e^{-iA0}}{\psi_{0}}|^{2}=O(\frac{1}{|V|}). (4)

The success probability is extremely small when the search space |V|=N|V|=N is large and |ψ0\ket{\psi_{0}} is a uniform superposition state.

When applied to spatial search, the purpose of a CTQW is to find a marker basis state |ω\ket{\omega}[29, 30]. For this purpose, the CTQW starts with the initial state |ψ0=i=1N1N|i\ket{\psi_{0}}=\sum_{i=1}^{N}\frac{1}{\sqrt{N}}\ket{i}, and evolves according to the Hamiltonian[31]

H=γA|ωω|H=-\gamma A-\ket{\omega}\bra{\omega} (5)

where γ\gamma is the coupling factor between connected nodes. The value of γ\gamma has to be determined based on the graph structure such that the quadratic speedup of CTQW can be preserved. Interested readers can refer to [29, 31] for more details.

II.2 Adiabatic Quantum Computing

In the AQC model, H0H_{0} is the initial Hamiltonian, HfH_{f} is the final Hamiltonian. The evolution path for the time-dependent Hamiltonian is

H(s)=(1s)H0+sHfH(s)=(1-s)H_{0}+sH_{f} (6)

where 0s10\leq s\leq 1 is a schedule function of time tt. For convenience, we denote ss as s(t)s(t) and use them interchangeably. The variable ss increases slowly enough such that the initial ground state evolves and remains as the instantaneous ground state of the system. More specifically,

H(s(t))|λk,t=λk,t|λk,t\displaystyle H(s(t))\ket{\lambda_{k,t}}=\lambda_{k,t}\ket{\lambda_{k,t}} (7)

where λk,t\lambda_{k,t} is the corresponding eigenvalue the eigenstate |λk,t\ket{\lambda_{k,t}} at time tt and kk labels for the kthk_{th} excited eigen-state. The minimal eigenvalue gap is defined as

g=min0tTa(λ1,tλ0,t)\displaystyle g=\min_{0\leq t\leq Ta}(\lambda_{1,t}-\lambda_{0,t}) (8)

where TaT_{a} is the total evolution time of the AQC. Let |ψ(Ta)\ket{\psi(T_{a})} be the state of the system at time TaT_{a} evolving under the Hamiltonian H(s(t))H(s(t)) from the ground state |λ0,0\ket{\lambda_{0,0}} at time t=0t=0. The Adiabatic theorem [32, 33] states that the final state |ψ(Ta)\ket{\psi(T_{a})} is ϵ\epsilon-close to the real ground state |λ0,Ta\ket{\lambda_{0,T_{a}}} as

|λ0,Ta|ψ(Ta)|21ϵ2,\displaystyle|\innerproduct{\lambda_{0,T_{a}}}{\psi(T_{a})}|^{2}\leq 1-\epsilon^{2}, (9)

provided that

|λ1,t|dHdt|λ0,t|g2ϵ.\displaystyle\frac{|\bra{\lambda_{1,t}}\frac{dH}{dt}\ket{\lambda_{0,t}}|}{g^{2}}\leq\epsilon. (10)

There are several variations of AQC to improve the performance. The variations are based on modifying the initial Hamiltonian and the final Hamiltonian [34, 35] or adding a catalyst Hamiltonian HeH_{e} [34], which is turned on/off at the beginning/end of the adiabatic evolution. In this work, we are interested in the catalyst approach. A conventional catalyst Hamiltonian assisted AQC path is expressed as

H(s)=(1s)H0+s(1s)He+sHf.\displaystyle H(s)=(1-s)H_{0}+s(1-s)H_{e}+sH_{f}. (11)

III Continuous Time Quantum Walk to Adiabatic Search Mapping

One can construct a time-dependent AQC Hamiltonian H(s)H(s) as shown in [27] where the Adiabatic search follows the CTQW search on a complete graph with NN vertices. Let us define the following variables. The coupling factor γ\gamma is set to 1/N1/N and |ψ0\ket{\psi_{0}} is the uniform superposition of all states in the search space. State |r\ket{r} is the uniform superposition of non-solution states, state |ω\ket{\omega} is the solution state. Treating the state evolving in CTQW system as the time-dependent ground state of H(s)H(s), one constructs H(s)H(s) in the {|ω,|r}\{\ket{\omega},\ket{r}\} basis as [27]

H(s)=\displaystyle H(s)= s(1s)4ϵ2N4[(1s)H0+s(1s)He+sHf]\displaystyle\sqrt[4]{\frac{s(1-s)}{4\epsilon^{2}N}}[(1-s)H_{0}+\sqrt{s(1-s)}H_{e}+sH_{f}] (12)

where s(t)=sin2(tN)s(t)=sin^{2}(\frac{t}{\sqrt{N}}) with

H0\displaystyle H_{0} =|ψ0ψ0||ψ0ψ0|,Hf=|γγ||ωω|,\displaystyle=\outerproduct{\psi_{0}^{\perp}}{\psi_{0}^{\perp}}-\outerproduct{\psi_{0}}{\psi_{0}},\quad H_{f}=\outerproduct{\gamma}{\gamma}-\outerproduct{\omega}{\omega},
He\displaystyle H_{e} =2iN1N(|rω||ωr|),\displaystyle=2i\sqrt{\frac{N-1}{N}}(\outerproduct{r}{\omega}-\outerproduct{\omega}{r}), (13)

or explicitily in the {|w,|r}\{\ket{w},\ket{r}\} basis as

H0\displaystyle H_{0} =(N2N2N1N2N1NN2N),\displaystyle=\begin{pmatrix}\frac{N-2}{N}&-2\frac{\sqrt{N-1}}{N}\\ -2\frac{\sqrt{N-1}}{N}&-\frac{N-2}{N}\\ \end{pmatrix}, (14)
He\displaystyle H_{e} =(02iN1N2iN1N0),Hf=(1001).\displaystyle=\begin{pmatrix}0&-2i\sqrt{\frac{N-1}{N}}\\ 2i\sqrt{\frac{N-1}{N}}&0\\ \end{pmatrix},\;H_{f}=\begin{pmatrix}-1&0\\ 0&1\\ \end{pmatrix}.

III.1 The Irreconcilability Issue: Constant Gap Catalyst Hamiltonian and Small Norm

The main concerns that are raised from Eqn. (12) are twofold. The first issue is the factor s(1s)4ϵ2N4\sqrt[4]{\frac{s(1-s)}{4\epsilon^{2}N}} of H(s)H(s). The adiabatic theorem [36] states the system achieve a fidelity of 1ϵ1-\epsilon to the target state, provided that

|dHdt0,1|gmin2ϵ, where gmin=min0tTE1(t)E0(t).\frac{|\langle\frac{dH}{dt}\rangle_{0,1}|}{g_{min}^{2}}\leq\epsilon\text{, where }g_{min}=\min_{0\leq t\leq T}E_{1}(t)-E_{0}(t). (15)

Here dHdt0,1\langle\frac{dH}{dt}\rangle_{0,1} are the matrix elements of dH/dtdH/dt between the two corresponding eigen-states. E0(t)E_{0}(t) and E1(t)E_{1}(t) are the ground energy and the first excited energy of the system at time tt. Given the H(s)H(s) in Eqn. (12), one might conclude that a factor of O(1/N4)O(\sqrt[4]{1/N}) significantly reduces the required time to achieve 1ϵ1-\epsilon precision. This might be misleading as the gming_{min} of H(s)H(s) also carries the same factor. The second issue is that the catalyst HeH_{e} provides power greater than a typical Yes//No oracle as it maps non-solution states to a solution state and a solution state to non-solution states. Provided initially the we start with a superposition state with amplitude of N1N\sqrt{\frac{N-1}{N}} for a non-solution, it takes time of O(1)O(1) for this catalyst to drive the initial (unbiased, equal amplitude) state to the solution state. In the following we will relax this constraint by using a normal oracle. For the rest of the paper, let us simply treat ϵ1\epsilon\ll 1 as some small negligible constant.

III.2 Modified CTQW-Inspired Adiabatic Search

In Eqn.(12), the following parameters were computed during the mapping [27]:

  • the scaling factor s(1s)4ϵ2N4\sqrt[4]{\frac{s(1-s)}{4\epsilon^{2}N}}  of Hamiltonian  H0H_{0},

  • He=2iN1N(|rω||ωr|)H_{e}=2i\sqrt{\frac{N-1}{N}}(\outerproduct{r}{\omega}-\outerproduct{\omega}{r}), catalyst Hamiltonian

  • the coefficient function of HeH_{e} as s(1s)\sqrt{s(1-s)}.

In [37] the cost of the adiabatic algorithm was defined to be the dimensionless quantity (using =1\hbar=1)

cost=tfmaxsH(s),cost=t_{f}\max_{s}||H(s)||, (16)

where tft_{f} is the running time. To prevent the cost from being manipulated to be arbitrarily small by changing the time units, or distorting the scaling of the algorithm by multiplying the Hamiltonians by some size-dependent factor as shown in the irreconcilability concern [27], the norm of H(s)H(s) should be fixed to some constant, such as 1.

To address the irreconcilability issue, the scaling factor is dropped and the catalyst Hamiltonian HeH_{e} is modified. Since He=2N1NiXZH_{e}=2\sqrt{\frac{N-1}{N}}iXZ in the {|ω,|r}\{\ket{\omega},\ket{r}\} basis provides more power than a standard Oracle, for our modification we remove the imaginary number ii and the XX operator. The operator ZZ alone behaves as a conventional “Yes /No” oracle in the {|ω,|r}\{\ket{\omega},\ket{r}\} basis. Let M=2N1NM=2\sqrt{\frac{N-1}{N}} and choose the modified adiabatic path Hm(s)H_{m}(s) as

Hm(s)=\displaystyle H_{m}(s)= (1s)H0+fz(s)MZ+sHf,\displaystyle(1-s)H_{0}+f_{z}(s)MZ+sH_{f}, (17)

where fz(s)f_{z}(s) is our chosen ss-dependent coefficient for catalyst ZZ. In addition to fz(s)=s(1s)f_{z}(s)=\sqrt{s(1-s)} that was used in [27], functions that reach its maximum when s=1/2s=1/2 are good candidates for fz(s)f_{z}(s), such as fz(s)=sin(sπ)2f_{z}(s)=\frac{\sin(s\pi)}{2}. The use of the factor 1/21/2 on the sine function is to offset the magnitude MM to bound the norm of HeH_{e} as described in Eqn. (16).

IV Grover Search to Adiabatic Local Search Mapping

In this section we consider the mapping of Grover’s algorithm to an adiabatic search. Given the initial driving Hamiltonian H0H_{0} and the final Hamiltonian HfH_{f} as

H0=I|ψ0ψ0|,Hf=I|ωω|,H_{0}=I-\outerproduct{\psi_{0}}{\psi_{0}},\quad H_{f}=I-\outerproduct{\omega}{\omega}, (18)

where

H0=(N1NN1NN1N1N),Hf=(0001),\displaystyle H_{0}=\begin{pmatrix}\frac{N-1}{N}&-\frac{\sqrt{N-1}}{N}\\ -\frac{\sqrt{N-1}}{N}&\frac{1}{N}\\ \end{pmatrix},H_{f}=\begin{pmatrix}0&0\\ 0&1\\ \end{pmatrix}, (19)

in the {|ω,|r}\{\ket{\omega},\ket{r}\} basis. The adiabatic path [28, 27] in the {|ω,|r}\{\ket{\omega},\ket{r}\} basis is given by

H(s)\displaystyle H(s) =(1s)H0+sHf\displaystyle=(1-s)H_{0}+sH_{f} (20)
=((1s)N1N(1s)N1N(1s)N1N1(1s)N1N).\displaystyle=\begin{pmatrix}(1-s)\frac{N-1}{N}&-(1-s)\frac{\sqrt{N-1}}{N}\\ -(1-s)\frac{\sqrt{N-1}}{N}&1-(1-s)\frac{N-1}{N}\\ \end{pmatrix}. (21)

Instead of employing a linear evolution of s(t)s(t), Eqn.(20) adapts the evolution ds/dtds/dt to the local adiabaticity condition [28] such that

|dsdt|=ϵg2(t)|\frac{ds}{dt}|=\epsilon g^{2}(t) (22)

where g(t)g(t) is the energy gap of the system at time tt. The running time tt is then a function of schedule ss such that

t(s)\displaystyle t(s) =N2ϵN1{arctan(N1(2s1))\displaystyle=\frac{N}{2\epsilon\sqrt{N-1}}\Big{\{}\arctan(\sqrt{N-1}(2s-1)) (23)
+arctan(N1)}.\displaystyle+\arctan(\sqrt{N-1})\Big{\}}. (24)

The relation between the schedule ss and the running time tt is shown in Figure 1. It is clear that the system evolves quickly when the gap is large (ss away from 1/21/2) and slowly when the gap is small (s1/2s\simeq 1/2) [28]. In this example, the sluggish period s[0.4,0.6]s\in[0.4,0.6]. For completeness, we provide the formal proof of the close form of the squared gap function g2(t)g^{2}(t) (second order in ss) with respect to the schedule ss in Appendix A.

Refer to caption

Figure 1: Schedule ss in terms of time tt with N=64N=64 in adiabatic local search, as observed in [28].

IV.1 Adaptive Scheduling

For a fixed schedule of a adiabatic path, the schedule ss moves fast when the eigen-energy gap is large, and slowly when the gap is small. We desire to employ the catalyst Hamiltonians HeH_{e} to amplify the eigen-energy gap during the “slow down” period such that the total time to pass through the sluggish period is reduced (s[0.4,0.6]s\in[0.4,0.6] in Fig.(1)).

IV.1.1 Schedule Dependent Gap Function

In this section, we consider employing gap-dependent scheduling functions. Let HfH_{f} be an arbitrary 2 by 2 Hermitian Hamiltonian. Let the time-dependent Hamiltonian H(s)H(s) be

H(s)=(1s)Ho+fx(s)σx+fz(s)σz+sHf.H(s)=(1-s)H_{o}+f_{x}(s)\sigma_{x}+f_{z}(s)\sigma_{z}+sH_{f}. (25)

Operators σx\sigma_{x} and σz\sigma_{z} are chosen as catalyst Hamiltonians. Let Ho=[accb],Hf=[prrq]H_{o}=\begin{bmatrix}a&c\\ c&b\\ \end{bmatrix},H_{f}=\begin{bmatrix}p&r\\ r&q\\ \end{bmatrix} where a,b,c,p,q,ra,b,c,p,q,r are some given constants. The matrix form of the time-dependent Hamiltonian is given by

H(s)=[(1s)a+sp+fz(s)(1s)c+sr+fx(s)(1s)c+sr+fx(s)(1s)b+sqfz(s)]H(s)=\begin{bmatrix}(1-s)a+sp+f_{z}(s)&(1-s)c+sr+f_{x}(s)\\ (1-s)c+sr+f_{x}(s)&(1-s)b+sq-f_{z}(s)\\ \end{bmatrix} (26)

and the schedule-dependent gap can be analytically computed to yield

g2(s)\displaystyle g^{2}(s) =((1s)(ab)+s(pq)+2fz(s))2\displaystyle=((1-s)(a-b)+s(p-q)+2f_{z}(s))^{2}
+4((1s)c+sr+fx(s))2,\displaystyle+4((1-s)c+sr+f_{x}(s))^{2}, (27)

(see see Appendix B for a derivation). By using Eqn. (22), the total running time TstrtstpT_{strt}^{stp} from s=sstrts=s_{strt} to s=sstps=s_{stp} is thus

Tsstrtsstp=sstrtsstpdsϵg2(s)T_{s_{strt}}^{s_{stp}}=\int_{s_{strt}}^{s_{stp}}\frac{ds}{\epsilon g^{2}(s)} (28)

where 0sstrtsstp10\leq s_{strt}\leq s_{stp}\leq 1. In brief, the time spent during a certain period of a schedule can be obtained by use of gap function. The gap function can be expressed via the entries of H0H_{0}, HeH_{e}, HfH_{f}, schedule ss and the coefficient functions of the catalyst Hamiltonians.

IV.1.2 Determining the Sluggish Interval
for the Catalyst Hamiltonian

By using the condition f(s)=dt/ds=1ϵg2(s)f^{\prime}(s)=dt/ds=\frac{1}{\epsilon g^{2}(s)} (see Appendix A), the region where the gap quickly significantly decreases or increases is during the sluggish period of ss. That is the portion of schedule the ss where catalyst should be employed. The region where |df2(s)/ds2)|δ0|df^{2}(s)/ds^{2})|\geq\delta_{0} is the sluggish period. The threshold value δ0=64\delta_{0}=64 was chosen because if we choose a threshold proportional to NN, as NN increases exponentially, the quantity d2t/ds2d^{2}t/ds^{2} might never reach the NN-dependent threshold within the adiabatic evolution schedule 0s10\leq s\leq 1. By using this threshold, the starting point sstrtslugs_{strt}^{slug} and the stopping point sstpslugs_{stp}^{slug} used to mark the sluggish period can be identified. Using the example in [28], we can re-plot and get tt as a function of ss as t=f(s)t=f(s) and f(s)=dt/dsf^{\prime}(s)=dt/ds in Figure 2 - 3 with N=64N=64.

Refer to caption
Figure 2: Time tt as a function of schedule ss for adiabatic local search with N=64N=64.
Refer to caption
Figure 3: dt/dsdt/ds for adiabatic local search with N=64N=64.

IV.1.3 Catalyst Coefficient Functions

As discussed in section III.2, we are interested in the He=ZH_{e}=Z case in Eqn.(17) and its coefficient function fz(s)f_{z}(s). Three coefficient functions of the catalyst Hamiltonian ZZ are proposed as the following

fzsine(s)\displaystyle f_{z}^{sine}(s) =sin(((ssstrtslug)π)/(sstpslugsstrtslug)),\displaystyle=\sin(((s-s_{strt}^{slug})*\pi)/(s_{stp}^{slug}-s_{strt}^{slug})), (29)
fzss(s)\displaystyle f_{z}^{ss}(s) =(ssstrtslug)(sstpslugs),\displaystyle=(s-s_{strt}^{slug})(s_{stp}^{slug}-s),
fzgrid(s)\displaystyle f_{z}^{grid}(s) =afzsine(s)+b(fzsine(s))2\displaystyle=a*f_{z}^{sine}(s)+b*(f_{z}^{sine}(s))^{2}

where 0a,b10\leq a,b\leq 1 under the constraint that a2+b2=1a^{2}+b^{2}=1. In the grid search aa increased from 0 to 1 by 0.10.1 in each iteration. From the 10 pairs of (a,b)(a,b), we find the values of a,ba,b that give the shortest sluggish time interval.

V Experiment & Result

For our simulations we used (Wolfram) Mathematica (version 12.3 run on a Linux Ubuntu 20.04 LTS laptop). The code is available upon request. The running time is based on Eqn.(28). The size NN (number of nodes) ranges from 25,26,2^{5},2^{6},\cdots to 2252^{25}. We observe the corresponding running time and sluggish time for each of the proposed models. The result of the original adiabatic local search serves as the baseline for comparison, which used N=64N=64 [28]. In this work, we generalize the setting for any arbitrary size NN.

Given an arbitrary complete graph of size NN with coupling factor 1/N1/N, one can compute the entries in the reduced Hamiltonian for H0H_{0} and HfH_{f} in the {|ω,|r}\{\ket{\omega},\ket{r}\} basis. The values of variables a,b,c,p,qa,b,c,p,q and rr as discussed in section IV.1.1 can be obtained from Eqn.(14) for the CTQW case, and from Eqn.(19) for the adiabatic local search. It is worth noticing that the ground state energy is 1-1 in the CTQW case, but is 0 in the adiabatic local search case. Based on the adiabatic path Eqn.(25), and the gap function in Eqn. (IV.1.1) with given schedule ss, coefficient function fz(s)f_{z}(s) for σz\sigma_{z}, we perform the simulation with the running time computed from Eqn.(28).

V.1 Modified CTQW-Inspired Adiabatic Search Simulation

This experiment aimed to demonstrate that the modified adiabatic paths addressing the irreconcilable issues remain optimal. The three proposed modifications we explored are as follows:

  • Horg(s)H_{org}(s) takes Eqn. (12) and drops the scaling factor as explained in section III.2. The adiabatic path is Horg(s)=(1s)H0+s(1s)He+sHfH_{org}(s)=(1-s)H_{0}+\sqrt{s(1-s)}H_{e}+sH_{f}

  • Hm1(s)H_{m1}(s) replaces the computed catalyst Hamiltonian HeH_{e} with an ordinary ZZ oracle operator and keeps the magnitude MM. This was used to address the constant gap HeH_{e} irreconcilability issue. We have
    Hm1(s)=(1s)H0+s(1s)MZ+sHfH_{m1}(s)=(1-s)H_{0}+\sqrt{s(1-s)}MZ+sH_{f}

  • Hm2(s)H_{m2}(s) uses sin(sπ)2\frac{\sin(s\pi)}{2} as the coefficient function for the catalyst Hamiltonian ZZ. The adiabatic path is Hm2(s)=(1s)H0+sin(sπ)2MZ+sHfH_{m2}(s)=(1-s)H_{0}+\frac{\sin(s\pi)}{2}MZ+sH_{f}

For the above three models, simulations were run on Hamiltonian of size N[25,26,,225]N\in[2^{5},2^{6},\cdots,2^{25}]. In the following figures, the abscissa is log2N\log_{2}N while ordinate is the required total running time TT. The time is computed based on Eqn.(28). As the dimension of the Hamiltonian increases, the difference in running times for the three models considered are magnified.

Refer to caption
Figure 4: Case when N[25,225]N\in[2^{5},2^{25}] and the running times of Horg(s)H_{org}(s) (orange), Hm1(s)H_{m1}(s) (red), and Hm2(s)H_{m2}(s) (green) with the original adiabatic local search (blue) serving as the baseline.

The simulation results are shown in Figure 4. It is clear to see that HorgH_{org} is a constant time scheme as it does not scale as the size NN increases. This indicates the original catalyst Hamiltonian He=MXZH_{e}=MXZ in Horg(s)H_{org}(s) indeed is a constant gap Hamiltonian. This also shows the irreconcilability issue as suggested in [27]. From the simulations we can conclude that both Hm1(s),Hm2(s)H_{m1}(s),H_{m2}(s) perform optimally with respect to running time, namely T𝒪(N)T\sim\mathcal{O}(\sqrt{N}), similar to that of the original adiabatic local search but with a minor constant factor which can be ignored in the Big O notation. As the simulation suggests, both modified CTQW-inspired approaches outperform the original adiabatic local search. When the N221N\leq 2^{21}, the Hm2(s)H_{m2}(s) outperforms Hm1(s)H_{m1}(s). When problem size NN is larger then 2212^{21}, Hm1(s)H_{m1}(s) is a better choice over Hm2(s)H_{m2}(s).

V.2 Adaptive Adiabatic Local Search Simulation With Various Coefficient Functions

In the previous section V.1, the proposed modifications are optimal, in the sense that T𝒪(N)T\sim\mathcal{O}(\sqrt{N}) up to a minor constant factor. For further improvement, the adaptive scheduling scheme is applied. The adiabatic path to be explored is therefore

Hadapt(s)=(1s)H0+f(s)Z+sHfH_{adapt}(s)=(1-s)H_{0}+f(s)Z+sH_{f} (30)

where f(s)[fzsine,fzss,fzgrid]f(s)\in[f_{z}^{sine},f_{z}^{ss},f_{z}^{grid}] as seen in Eqn. (29). The catalyst Hamiltonian ZZ operator is only employed during the sluggish period and hence f(s)=0f(s)=0 when s[sstrtslug,sstpslug]s\notin[s_{strt}^{slug},s_{stp}^{slug}]. The H0H_{0} and HfH_{f} are based on Eqn. (19). As the catalyst is only employed within the sluggish period, to compare the performance of each proposed modification, one only needs to compute the running time within this period.

Refer to caption
Figure 5: Case when N[25,225]N\in[2^{5},2^{25}] and time spent in during the sluggish period for adiabatic paths with (fzss,fzsine,fzgridf_{z}^{ss},f_{z}^{sine},f_{z}^{grid}) coefficient functions where the original adiabatic local search serves as the baseline.

In Figure 5, fzssf_{z}^{ss} provides the minimal reduced sluggish time while fzsinef_{z}^{sine} and fzgridf_{z}^{grid} provide significant improvements. The difference in the runtimes becomes significant for N215N\geq 2^{15}.

Refer to caption
Figure 6: Case when N[25,225]N\in[2^{5},2^{25}] and time spent in during the sluggish period for adiabatic paths with (fzsine,fzgridf_{z}^{sine},f_{z}^{grid}) coefficient functions where the original adiabatic local search serves as the baseline.

In Figure 6, both fzsinef_{z}^{sine} and fzgridf_{z}^{grid} have a reduced sluggish time over 75%75\% in comparison to the original adiabatic local search when NN reaches 2252^{25}. fzsinef_{z}^{sine} gradually outperforms the original adiabatic local search after N=210N=2^{10} and remains almost as good as fzgridf_{z}^{grid} till N=223N=2^{23}. When N=225N=2^{25}, the sluggish time of fzsinef_{z}^{sine} is only twice that of fzgridf_{z}^{grid}. In general, the grid search is a costly procedure as we have to run 10 pairs of (a,b)(a,b) for slightly different H(s)H(s) for each value of N=2nN=2^{n}. If the time reduction of sluggish period is not greater than 90%90\% of the original, it might be a better choice to use fzsinef_{z}^{sine}. For the near term it might be more beneficial to use fzsinef_{z}^{sine} model, instead of the grid search model fzgridf_{z}^{grid}.

VI Conclusion

In this work, we investigated different Hamiltonians for resolving the irreconcilability issue [27] when mapping the CTQW search algorithm to AQC. We modified the time-dependent Hamiltonian by (1) removing the original scaling CTQW factor s(1s)4ϵ2N4\sqrt[4]{\frac{s(1-s)}{4\epsilon^{2}N}}, and (2) replacing iXZZi\,X\,Z\to Z in the original catalyst HeH_{e} Hamiltonian obtained from mapping CTQW to AQC. These modification were made in order to resolve the irreconcilability issue. We further optimized the schedule ss of the CTQW-inspired adiabatic path by an adaptive scheduling procedure.

The modified CTQW-inspired adiabatic search simulation experiment demonstrates that indeed the HeH_{e} without any modification leads to a constant time in the total running time, regardless of the search space size NN. This result echoes the irreconcilability issue stated in [27]. On the other hand, the modified CTQW-inspired adiabatic path with catalyst Hamiltonian coefficient sin(sπ)2\frac{\sin({s\pi})}{2} behaves similarly to the behavior of the optimal adiabatic local search. Furthermore, the modifications are optimal and outperform the original adiabatic local search.

Lastly, in the adaptive adiabatic local search simulation with various coefficient functions experiment, we further investigated how to reduce the time wasted in the sluggish period of an adiabatic local search path. As our numerical experiments show, the function fzsin(s)f_{z}^{\sin}(s) and fzgrid(s)f_{z}^{grid}(s) provide significant improvement and both outperform the original adiabatic local search. Even though the grid search fzgrid(s)f_{z}^{grid}(s) approach could have further reduced the length of the sluggish (“slow down”) interval, the benefit was offset by the additional cost incurred from implementation over that of the other two methods.

Acknowledgements.
C. C. gratefully acknowledges the support from the seed grant funding (917035-13) from the State University of New York Polytechnic Institute and the support from the Air Force Research Laboratory Summer Faculty Fellowship Program (AFSFFP). PMA would like to acknowledge support of this work from the Air Force Office of Scientific Research (AFOSR). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of Air Force Research Laboratory. The appearance of external hyperlinks does not constitute endorsement by the United States Department of Defense (DoD) of the linked websites, or the information, products, or services contained therein. The DoD does not exercise any editorial, security, or other control over the information you may find at these locations.

Appendix A Time Integration of Adiabatic Local Search

Given a spectral gap polynomial of the second order, that is

g2(s)=A(s2+bs+c)g^{2}(s)=A(s^{2}+bs+c) (31)

where ss is the Adiabatic schedule, and 111this is the same as g2(t)g^{2}(t) as for each tt there is only corresponding ss dsdt=ϵg2(s)\frac{ds}{dt}=\epsilon g^{2}(s), by integration on tt one obtains

T=𝑑t\displaystyle T=\int dt =\displaystyle= 01dsϵg2(s)=1ϵA01ds(s2+bs+c).\displaystyle\int_{0}^{1}\frac{ds}{\epsilon g^{2}(s)}=\frac{1}{\epsilon A}\int_{0}^{1}\frac{ds}{(s^{2}+bs+c)}. (32)

(I) Case b24c>0b^{2}-4c>0: Let r±=b±b24c2r_{\pm}=\frac{-b\pm\sqrt{b^{2}-4c}}{2}.

01ds(s2+bs+c)=1r+r01(1sr+1sr)𝑑s\int_{0}^{1}\frac{ds}{(s^{2}+bs+c)}=\frac{1}{r_{+}-r_{-}}\int_{0}^{1}(\frac{1}{s-r_{+}}-\frac{1}{s-r_{-}})ds (33)

since 1sa𝑑s=ln|sa|\int\frac{1}{s-a}ds=\ln|s-a|. Thus we have

T\displaystyle T =1ϵA(r+r)ln|sr+sr|01,\displaystyle=\frac{1}{\epsilon A(r_{+}-r_{-})}\ln|\frac{s-r_{+}}{s-r_{-}}\Big{|}_{0}^{1}, (34)
t\displaystyle t =1ϵA(r+r)(ln|sr+sr|ln|r+r|).\displaystyle=\frac{1}{\epsilon A(r_{+}-r_{-})}(\ln|\frac{s-r_{+}}{s-r_{-}}\Big{|}-\ln|\frac{r_{+}}{r_{-}}\Big{|}). (35)

(II) Case b24c=0b^{2}-4c=0:

01ds(s2+bs+c)=011(s+b/2)2𝑑s\int_{0}^{1}\frac{ds}{(s^{2}+bs+c)}=\int_{0}^{1}\frac{1}{(s+b/2)^{2}}ds (36)

since (sa)2𝑑s=(sa)1\int(s-a)^{-2}ds=-(s-a)^{-1}, hence

T\displaystyle T =1ϵA1(s+(b/2))|01\displaystyle=\frac{-1}{\epsilon A}{\frac{1}{(s+(b/2))}\Big{|}_{0}^{1}} (37)
t\displaystyle t =1ϵA(s(b/2)(s+(b/2)))\displaystyle=\frac{1}{\epsilon A}\Big{(}{\frac{s}{(b/2)(s+(b/2))}}\Big{)} (38)

(III) Case b24c<0b^{2}-4c<0:

01ds(s2+bs+c)\displaystyle\int_{0}^{1}\frac{ds}{(s^{2}+bs+c)} =011(s+b/2)2+4cb24𝑑s\displaystyle=\int_{0}^{1}\frac{1}{(s+b/2)^{2}+\frac{4c-b^{2}}{4}}ds (39)
=b/21+(b/2)1x2+(4cb24)2𝑑x\displaystyle=\int_{b/2}^{1+(b/2)}\frac{1}{x^{2}+(\sqrt{\frac{4c-b^{2}}{4}})^{2}}dx (40)

since 1a2+x2𝑑x=1aarctanxa\int\frac{1}{a^{2}+x^{2}}dx=\frac{1}{a}\arctan\frac{x}{a}. With a=4cb24a=\sqrt{\frac{4c-b^{2}}{4}}, we obtain

T\displaystyle T =1ϵA(1a)(arctanxa)|b/21+(b/2)\displaystyle=\frac{1}{\epsilon A}(\frac{1}{a})(\arctan\frac{x}{a})\Big{|}_{b/2}^{1+(b/2)} (41)
t\displaystyle t =1ϵA(1a)(arctans+(b/2)aarctan(b/2)a)\displaystyle=\frac{1}{\epsilon A}(\frac{1}{a})(\arctan\frac{s+(b/2)}{a}-\arctan\frac{(b/2)}{a}) (42)

Appendix B Energy Gap

Given an arbitrary 2 by 2 non-negative-entry Hermitian matrix HH as

H=[αγγβ],H=\begin{bmatrix}\alpha&\gamma\\ \gamma&\beta\\ \end{bmatrix}, (43)

via computing the determinant and eigenvalues, the energy gap ΔE\Delta E is

ΔE=|λ+λ|=(αβ)2+4γ2.\Delta E=|\lambda_{+}-\lambda_{-}|=\sqrt{(\alpha-\beta)^{2}+4\gamma^{2}}. (44)

Simply from the view of energy gap, as long as |γ||\gamma| increases and the gap, |αβ||\alpha-\beta|, between the diagonal entries increases, the energy gap would increase. The increase of |γ||\gamma| can be adapted by σx\sigma_{x} while |αβ||\alpha-\beta| can be increased by σz\sigma_{z}. They should be good candidates for the catalyst perturbation in the AQC path. Similarly, if the Hamiltonian has an imaginary part in the off diagonal entries,

H\displaystyle H =[αγdiγ+diβ]\displaystyle=\begin{bmatrix}\alpha&\gamma-di\\ \gamma+di&\beta\\ \end{bmatrix} (45)
ΔE\displaystyle\Delta E =|λ+λ|=(αβ)2+4(γ2+d2).\displaystyle=|\lambda_{+}-\lambda_{-}|=\sqrt{(\alpha-\beta)^{2}+4(\gamma^{2}+d^{2})}. (46)

The Hamiltonian HH (with no imaginery entries) can be expressed in terms of Pauli matrices as

H\displaystyle H =α+β2𝕀+ΔE2((2γΔE)σx+((αβ2)(2ΔE)σz))\displaystyle=\frac{\alpha+\beta}{2}\mathbb{I}+\frac{\Delta E}{2}((\frac{2\gamma}{\Delta E})\sigma_{x}+((\frac{\alpha-\beta}{2})(\frac{2}{\Delta E})\sigma_{z})) (47)
=α+β2𝕀+ΔE2A\displaystyle=\frac{\alpha+\beta}{2}\mathbb{I}+\frac{\Delta E}{2}A (48)

such that, by use of power of Pauli matrices,

eiHt=cos(ΔEt2)𝕀isin(ΔEt2)A.e^{-iHt}=\cos(\frac{\Delta Et}{2})\mathbb{I}-i\sin(\frac{\Delta Et}{2})A. (49)

References

  • Shor [1994] P. W. Shor, Algorithms for quantum computation: Discrete logarithms and factoring, in Foundations of Computer Science, 1994 Proceedings., 35th Annual Symposium on (IEEE, 1994) pp. 124–134.
  • Grover [1996] L. K. Grover, A fast quantum mechanical algorithm for database search, in Proceedings of the twenty-eighth annual ACM symposium on Theory of computing (ACM, 1996) pp. 212–219.
  • Farhi and Gutmann [1998] E. Farhi and S. Gutmann, Quantum computation and decision trees, Physical Review A 58, 915 (1998).
  • Kempe [2003] J. Kempe, Quantum random walks: an introductory overview, Contemporary Physics 44, 307 (2003).
  • Childs [2009] A. M. Childs, Universal computation by quantum walk, Physical review letters 102, 180501 (2009).
  • Lovett et al. [2010] N. B. Lovett, S. Cooper, M. Everitt, M. Trevers, and V. Kendon, Universal quantum computation using the discrete-time quantum walk, Physical Review A 81, 042330 (2010).
  • Qiang et al. [2016] X. Qiang, T. Loke, A. Montanaro, K. Aungskunsiri, X. Zhou, J. L. O’Brien, J. B. Wang, and J. C. Matthews, Efficient quantum walk on a quantum processor, Nature communications 7, 1 (2016).
  • Caruso et al. [2009] F. Caruso, A. W. Chin, A. Datta, S. F. Huelga, and M. B. Plenio, Highly efficient energy excitation transfer in light-harvesting complexes: The fundamental role of noise-assisted transport, The Journal of Chemical Physics 131, 09B612 (2009).
  • Mohseni et al. [2008] M. Mohseni, P. Rebentrost, S. Lloyd, and A. Aspuru-Guzik, Environment-assisted quantum walks in photosynthetic energy transfer, The Journal of chemical physics 129, 11B603 (2008).
  • Rebentrost et al. [2009] P. Rebentrost, M. Mohseni, I. Kassal, S. Lloyd, and A. Aspuru-Guzik, Environment-assisted quantum transport, New Journal of Physics 11, 033003 (2009).
  • Plenio and Huelga [2008] M. B. Plenio and S. F. Huelga, Dephasing-assisted transport: quantum networks and biomolecules, New Journal of Physics 10, 113019 (2008).
  • Bose [2003] S. Bose, Quantum communication through an unmodulated spin chain, Physical review letters 91, 207901 (2003).
  • Kay [2010] A. Kay, Perfect, efficient, state transfer and its application as a constructive tool, International Journal of Quantum Information 8, 641 (2010).
  • Omar et al. [2019] Y. Omar, J. Moutinho, A. Melo, B. Coutinho, I. Kovacs, and A. Barabasi, Quantum link prediction in complex networks, APS 2019, R28 (2019).
  • Chakraborty et al. [2016] S. Chakraborty, L. Novo, A. Ambainis, and Y. Omar, Spatial search by quantum walk is optimal for almost all graphs, Physical review letters 116, 100501 (2016).
  • Shor [1998] P. W. Shor, Quantum computing, Documenta Mathematica 1, 1 (1998).
  • Yao [1993] A. C.-C. Yao, Quantum circuit complexity, in Proceedings of 1993 IEEE 34th Annual Foundations of Computer Science (IEEE, 1993) pp. 352–361.
  • Jordan et al. [2012] S. P. Jordan, K. S. Lee, and J. Preskill, Quantum algorithms for quantum field theories, Science 336, 1130 (2012).
  • Nayak et al. [2008] C. Nayak, S. H. Simon, A. Stern, M. Freedman, and S. D. Sarma, Non-abelian anyons and topological quantum computation, Reviews of Modern Physics 80, 1083 (2008).
  • Mizel et al. [2007] A. Mizel, D. A. Lidar, and M. Mitchell, Simple proof of equivalence between adiabatic quantum computation and the circuit model, Physical review letters 99, 070502 (2007).
  • Chiang and Hsieh [2017] C.-F. Chiang and C.-Y. Hsieh, Resonant transition-based quantum computation, Quantum Information Processing 16, 120 (2017).
  • Morimae and Fujii [2012] T. Morimae and K. Fujii, Blind topological measurement-based quantum computation, Nature communications 3, 1036 (2012).
  • Gross and Eisert [2007] D. Gross and J. Eisert, Novel schemes for measurement-based quantum computation, Physical review letters 98, 220503 (2007).
  • Briegel et al. [2009] H. J. Briegel, D. E. Browne, W. Dür, R. Raussendorf, and M. Van den Nest, Measurement-based quantum computation, Nature Physics 5, 19 (2009).
  • Raussendorf et al. [2003] R. Raussendorf, D. E. Browne, and H. J. Briegel, Measurement-based quantum computation on cluster states, Physical review A 68, 022312 (2003).
  • Cutugno et al. [2022] M. Cutugno, A. Giani, P. M. Alsing, L. Wessing, and S. Schnore, Quantum computing approaches for mission covering optimization, Algorithms 15, 963 (2022).
  • Wong and Meyer [2016] T. G. Wong and D. A. Meyer, Irreconcilable difference between quantum walks and adiabatic quantum computing, Physical Review A 93, 062313 (2016).
  • Roland and Cerf [2002] J. Roland and N. J. Cerf, Quantum search by local adiabatic evolution, Physical Review A 65, 042308 (2002).
  • Childs and Goldstone [2004] A. M. Childs and J. Goldstone, Spatial search by quantum walk, Physical Review A 70, 022314 (2004).
  • Childs et al. [2003] A. M. Childs, R. Cleve, E. Deotto, E. Farhi, S. Gutmann, and D. A. Spielman, Exponential algorithmic speedup by a quantum walk, in Proceedings of the thirty-fifth annual ACM symposium on Theory of computing (ACM, 2003) pp. 59–68.
  • Novo et al. [2015] L. Novo, S. Chakraborty, M. Mohseni, H. Neven, and Y. Omar, Systematic dimensionality reduction for quantum walks: optimal spatial search and transport on non-regular graphs, Scientific reports 5 (2015).
  • Farhi et al. [2000] E. Farhi, J. Goldstone, S. Gutmann, and M. Sipser, Quantum computation by adiabatic evolution, arXiv preprint quant-ph/0001106  (2000).
  • Albash and Lidar [2018] T. Albash and D. A. Lidar, Adiabatic quantum computation, Reviews of Modern Physics 90, 015002 (2018).
  • Farhi et al. [2011] E. Farhi, J. Goldston, D. Gosset, S. Gutmann, H. B. Meyer, and P. Shor, Quantum adiabatic algorithms, small gaps, and different paths, Quantum Info. Comput. 11, 181–214 (2011).
  • Perdomo-Ortiz et al. [2011] A. Perdomo-Ortiz, S. E. Venegas-Andraca, and A. Aspuru-Guzik, A study of heuristic guesses for adiabatic quantum computation, Quantum Information Processing 10, 33 (2011).
  • Griffiths and Schroeter [2018] D. J. Griffiths and D. F. Schroeter, Introduction to quantum mechanics (Cambridge University Press, 2018).
  • Aharonov et al. [2008] D. Aharonov, W. Van Dam, J. Kempe, Z. Landau, S. Lloyd, and O. Regev, Adiabatic quantum computation is equivalent to standard quantum computation, SIAM review 50, 755 (2008).
  • Note [1] This is the same as g2(t)g^{2}(t) as for each tt there is only corresponding ss.