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

Quantum Searches in a Hard 2SAT Ensemble

T. Neuhaus Jülich Supercomputing Centre,Forschungszentrum Jülich, D-52425 Jülich, Germany
Abstract

Using a recently constructed ensemble of hard 2SAT realizations, that has a unique ground-state we calculate for the quantized theory the median gap correlation length values ξGAP\xi_{GAP} along the direction of the quantum adiabatic control parameter λ\lambda. We use quantum annealing (QA) with transverse field and a linear time schedule in the adiabatic control parameter λ\lambda. The gap correlation length diverges exponentially ξGAPexp[+rGAPN]\xi_{\rm GAP}\propto{\rm exp}[+r_{\rm GAP}N] in the median with a rate constant rGAP=0.553(6)r_{\rm GAP}=0.553(6), while the run time diverges exponentially τQAexp[+rQAN]\tau_{\rm QA}\propto{\rm exp}[+r_{\rm QA}N] with rQA=1.184(16)r_{\rm QA}=1.184(16). Simulated classical annealing (SA) exhibits a run time rate constant rSA=0.340(5)r_{\rm SA}=0.340(5) that is small and thus finds ground-states exponentially faster than QA. There are no quantum speedups in ground state searches on constant energy surfaces that have exponentially large volume. We also determine gap correlation length distribution functions P(ξGAP)dξGAPWkP(\xi_{\rm GAP})d\xi_{\rm GAP}\approx W_{k} over the ensemble that at N=18N=18 are close to Weibull functions WkW_{k} with k1.2k\approx 1.2 i.e., the problems show thin catastrophic tails in ξGAP\xi_{\rm GAP}. The inferred success probability distribution functions of the quantum annealer turn out to be bimodal.

keywords:
Spin Glass , Monte Carlo , Quantum Adiabatic Computation

1 Introduction

The purpose of the paper is to elaborate on the aspects of search efficiency’s in quantum ground state searches in specific models, toy models for that matter. We expand our theoretical knowledge and consider a mathematical theory, namely two-satisfiability (2SAT) that within Cook’s classification [1] of mathematical complexity lies in 𝒫\cal{P} for sure. In that case mathematical rules of calculation are known, that solve any problem as a function of the number of degrees of freedom NN just in polynomial time. To be specific: Any 2SAT problem is mapped to a directed graph of implications, which then is analyzed for logical collisions: A task that algorithmically can be accomplished in polynomial compute time and knowing all collisions actually determines the ground-state in satisfiable instances. A comparable situation is encountered in the planar 2d2d Ising glass without external field, where also algorithms exist that find ground-states in polynomial time, see [2].

The current work complements a recent work on synthetic ensembles of hard 2SAT [3] problems, which in vicinity of the satisfiability threshold of random 2SAT at α=M/N=1\alpha=M/N=1 [4], and for satisfiable instances are designed to hide a unique ground state of the 2SAT Hamiltonian H2SATH_{2SAT} at energy E=0E=0 from a vast number of non-solutions at the energy gap E=1E=1. Biasing toward hard problems follows an idea of Znidaric [5, 6] for 3-SAT, which is worked out further in [3] for K-SAT with 2K62\leq K\leq 6. The ensemble of hard 2SAT realizations has a exponential divergence

<Ω(E=1)>2SAT,HARDe+rDOSN<\Omega(E=1)>_{\rm 2SAT,HARD}\propto{\rm}e^{+r_{\rm DOS}N} (1.1)

for the density of states function in the median of the ensemble at energy E=1E=1. The numeric value of the rate constant for 2SAT rDOS=0.329(2)r_{\rm DOS}=0.329(2) equals the entropy density s1=lnΩ(E=1)/Ns_{1}={\rm ln}\Omega(E=1)/N at energy one and is a numeric model parameter without physical meaning. It parametrizes a doubling of the number of energy one configurations if about two new spins are added to the theory. Thus any stochastic search for the single ground state at E=0E=0 within the energy one surface is expected to have serious problems. We expect this to be true for simulated annealing (SA) [7] as well as well for quantum annealing (QA) [8, 9, 10, 11, 12, 13] and we consider quantum adiabatic computations [14] to be a version of quantum annealing. It is important to note that our problems are not generated by heuristics but have a proper partition function representation.

Our study is part of a research effort that studies quantum annealing for the Ising Hamiltonian HIsingH_{\rm Ising} in terms of local Pauli matrices σi{\bf\sigma}_{i} and two-point spin couplings at finite magnetic field hih_{i}:

HIsing=<ij>Jijσizσjz+ihiσizΓiσix,H_{\rm Ising}=-\sum_{<ij>}J_{ij}\sigma_{i}^{z}\sigma_{j}^{z}+\sum_{i}h_{i}\sigma_{i}^{z}-\Gamma\sum_{i}\sigma_{i}^{x}, (1.2)

where the first two terms denote the problem Hamiltonian. The particular 2SAT Hamiltonian H2SATH_{2SAT} of this work, and after a trivial reduction step from logical literals to Ising spins, has in fact the exact form of the problem part in eq.(1.2). The ensemble of problems has non-vanishing magnetic fields hi0h_{i}\neq 0, frustration via sign alternating two-point couplings ±Ji,j\pm J_{i,j}, bounded couplings JJ and hh, a finite classical energy gap of unity and is defined on a non-planar connectivity graph at rather sparse connectivity: there are only N+1N+1 two-point couplings at spin number NN. If anything: The satisfiability problem as studied here represent a particular hard and simple synthetic problem class for physical annealers within the set of all realizations of the form HIsingH_{\rm Ising}.

Within the last decade it has been argued [11, 14, 15, 16] that quantum annealing in general and in particular for frustrated Z(2)Z(2) Ising degrees of freedom can show faster convergence to the ground state of the problem Hamiltonian than classical annealing, see also the extensive reviews [17, 18]. We think however that as of today it is fair to say that for Hamiltonian’s of the form eq.(1.2) there is no convincing demonstration, that any frustrated Ising theory on non-planar connectivity graphs shows in fact a speedup in quantum annealing over classical annealing in the limit of large NN, a view that is also shared in [19] and even is experimentally studied [20, 21] on an existing annealing device with negative finding. Recent quantum annealing numerical studies in the 2D glass enhance the skepticism [22]. The findings of this work also do not suggest that quantum speedups are easy to obtain. In fact: The Ising model realizations of this work exhibit a clear and indisputable exponential speedup of simulated annealing over quantum annealing. We note that additional studies in other satisfiability theories like 3-XORSAT [24, 25, 26] and 3-SAT [23, 6, 27] showed, that quantum annealing does not solve these theories efficiently either.

Finally an important motivation of the current work is the presentation of precise numerical data for the energy gap at the quantum transition, which can be confronted to other approaches that deal with quantum search complexity. These include the semi-perturbative evaluation of the quantum energy gap [28], Quantum Monte Carlo annealing [11, 29, 15, 30] as well as annealing studies under Schrödinger wave function dynamics [31, 32]. We expect that algorithmic studies e.g. studies of simulated quantum annealing can profit as the problem ensemble here has small number of spins, while at the same time the maximal quantum gap correlation length is as large as ξGAP4730\xi_{\rm GAP}\approx 4730 for a theory with only N=18N=18 spins.

2 Theory, Observables and Basic Observations on Annealing

2.1 Theory

We consider 2SAT problems with i=1,,Ni=1,\ldots,N Boolean variables xi=0,1x_{i}=0,1 and MM clauses. In 2-satisfiability one tries to find a truth assignment to the variables xix_{i} that makes the conjunctive normal form

=(L1,1L1,2)(L2,1L2,2)(LM,1LM,2){\cal F}=(L_{1,1}\lor L_{1,2})\land(L_{2,1}\lor L_{2,2})\land...\land(L_{M,1}\lor L_{M,2}) (2.1)

of MM clauses true, if that is possible in which case a problem is satisfiable. There are 2×M2\times M literals Lj,kL_{j,k} with j=1,,Mj=1,\ldots,M and k=1,2k=1,2. Each literal being a variable xix_{i} or its negation x¯i\overline{x}_{i} and if the assignment of variables to literals and possible negations are chosen at random the issue is non-trivial. The problem is equivalent to finding ground-states at energy E=0E=0 of the Hamiltonian

H2SAT=j=1Mh(2)(ϵj,1s(Lj,1),ϵj,2s(Lj,2))H_{\rm 2SAT}=\sum_{j=1}^{M}h^{(2)}(\epsilon_{j,1}s(L_{j,1}),\epsilon_{j,2}s(L_{j,2})) (2.2)

where

h(2)(sl,sm)=sl12sm12,h^{(2)}(s_{l},s_{m})=\frac{s_{l}-1}{2}\frac{s_{m}-1}{2}, (2.3)

with l,m{1,,N}l,m\in\{1,\ldots,N\}. The matrix elements ϵj,k\epsilon_{j,k} with j=1,,Mj=1,\ldots,M and k=1,2k=1,2 take the value 1-1 if a variable is negated and +1+1 otherwise and s(Lj,k)s(L_{j,k}) denotes a map from literals Lj,kL_{j,k} to Ising spins si=±1s_{i}=\pm 1 with i=1,,Ni=1,...,N. The Hamiltonian H2SATH_{\rm 2SAT} has an equally spaced discrete energy spectrum with a ground-state energy E=0E=0 for satisfiable instances and a first excited energy gap of value one and, we will only consider satisfiable instances in this work Ω(E=0)1\Omega(E=0)\geq 1. Physically the Hamiltonian describes an infinite dimensional Ising spin glass of the Edwards Anderson type with two values of frustration J=±14J=\pm{1\over 4} in a finite magnetic random field. The coordination number can be tuned by M/NM/N, the connectivity is free and thus planar as well as non-planar connectivity graphs can be involved.

Refer to caption
Figure 1: Density of states lnΩ(E=1){\rm ln}\Omega(E=1) in Deciles for the hard 2SAT problem ensemble as a function of NN. The median is denoted by D5D5. The straight lines demonstrate an exponential increase of Ω(E=1)\Omega(E=1) with rate constants rDOSr_{\rm DOS} as given in Table 1). We display the Deciles DnDn with n=1,3,5,7,9n=1,3,5,7,9.
Decile{\rm Decile} NminN_{\rm min} rDOSr_{\rm DOS} χdof2\chi^{2}_{dof}
1 10 0.277 ( 2 ) 0.57
3 10 0.306 ( 2 ) 0.89
5 10 0.329 ( 2 ) 0.36
7 10 0.353 ( 2 ) 0.22
9 10 0.377 ( 2 ) 0.39
Table 1: Fit values of slopes rDOSr_{\rm DOS} for straight line fits in Fig. 1). The fits include data at NN with NNminN\geq N_{\rm min} and the χdof2\chi^{2}_{dof}-values of the fits with the form eq.(1.1) is given. D5D5 denotes the median value and is highlighted by fat symbols.

We employ special 2SAT problems with unique ground-state i.e., density of states function Ω(E=0)=1\Omega(E=0)=1 from a recently constructed synthetic ensemble [3]. The hard 2SAT problem ensemble is designed to hide the ground state at energy E=0E=0 from a large number of non-solutions at energy E=1E=1 and has a clause-to-variable ratio αM/N=(N+1)/N1\alpha\equiv M/N=(N+1)/N\approx 1 for 3N183\leq N\leq 18, that asymptotically for large NN approaches the satisfiability threshold of random 2SAT. The situation is depicted in Fig. 1) where a selected set of quantiles i.e., Deciles of the quantity lnΩ(E=1){\rm ln}\Omega(E=1) on the cumulative problem distribution is displayed as a function of NN. It can be witnessed that Ω(E=1)\Omega(E=1) diverges exponentially in NN, the straight lines in Fig. 1), in accord with eq.(1.1). The fifth decile (D5) is the median and a fit with N9N\geq 9 and the form eq.(1.1) readily yields the rate constant rDOS=0.329(2)r_{\rm DOS}=0.329(2) at a χdof2=0.36\chi^{2}_{dof}=0.36 for the fit, see also Table 1). There is a certain spread of the energy one entropy density s1=rDOSs_{1}=r_{\rm DOS}, which for the first decile D1 ranges from s1=0.278s_{1}=0.278 up to s1=0.377s_{1}=0.377 at D9, which is a characteristic of underlying catastrophic statistics. The bias toward the hard 2SAT problem set was implemented in [3] via a systematic Monte Carlo study of a generating partition function

Γ(μ)=Random2SATeWMUCA(μ)δ(1)[μΩ(E=0)]\Gamma(\mu)~~~=~~~\sum_{\rm Random~2SAT}~~~e^{W_{\rm MUCA}(\mu)}~~~\delta^{(1)}[\mu-\Omega(E=0)] (2.4)

at fluctuating μ\mu-value, where WMUCAW_{\rm MUCA} is a multicanonical weight [33]. The Monte Carlo process then generates at μ=1\mu=1 the hard 2SAT problem ensemble. Unfortunately and as of today it was not possible to generate problems at larger values of NN than N=18N=18. The reason being: The Monte Carlo moves on random 2SAT require calculations of Ω(E=0)\Omega(E=0) which by itself creates an exponentially large compute barrier. We have spend some time to alleviate the situation but in essence were not successful.

2.2 Quantum Annealing

We find the unique ground state of the hard 2SAT instances via quantum annealing [8, 9, 10, 11, 12, 13] and use in particular the quantum adiabatic computations [14] . Conventional adiabatic quantum computation (QAC) assumes a linear interpolation between the problem Hamiltonian H2SATH_{\rm 2SAT} of eq.(2.2) and a non-commuting driver Hamiltonian HD=iσixH_{D}=\sum_{i}\sigma_{i}^{x}, the transverse field term where σix\sigma_{i}^{x} is the xx-component Pauli matrix. The linear interpolation is:

HQAC(λ)=(1λ)HD+λH2SAT.H_{QAC}(\lambda)=(1-\lambda)H_{D}+\lambda H_{\rm 2SAT}. (2.5)

The quantum adiabatic parameter is defined on the compact interval 0λ10\leq\lambda\leq 1 and in a physical annealing device becomes a smoothly varying function λ(t)\lambda(t) of physical time tt such that λ(t=0)=0\lambda(t=0)=0 and λ(t=𝒯)=1\lambda(t={\cal T})=1. The time t=𝒯t={\cal T} denotes the annealing time of single annealing trajectories and, as well as on devices and in theory trajectories are repeated many times yielding a success probability PSuccess(𝒯)P_{\rm Success}({\cal T}) with 0<PSuccess10<P_{\rm Success}\leq 1 for successful ground-state searches. Clearly a single annealing run of possible short duration 𝒯{\cal T} may miss the ground-state but the repetition of many results into finite success. Combinatorics then tells us that

τ^QA(PTarget)=ln[1PTarget]ln[1PSuccess(𝒯)]𝒯\hat{\tau}_{\rm QA}(P_{\rm Target})~~~=~~~{{\rm ln}[1-P_{\rm Target}]\over{\rm ln}[1-P_{\rm Success}({\cal T})]}~~~{\cal T} (2.6)

is the mean physical run-time τ^QA\hat{\tau}_{\rm QA} for the successful ground-state searches at a parametric given target success-rate PTargetP_{\rm Target}, which may be as close to unity as desired. The run times τ^QA\hat{\tau}_{\rm QA} naturally pend on the presence and properties of singularities at the quantum phase transition within the quantum partition function ZQ=Tr<eβHQAC>Z_{Q}={\rm Tr}<e^{-\beta H_{QAC}}> as a function of λ\lambda on 0λ10\leq\lambda\leq 1. To a lesser extent one expects dependencies on the annealing schedule λ(t)\lambda(t) which we choose for reasons of simplicity to be λ(t)=t/𝒯\lambda(t)=t/{\cal T} i.e., the linear schedule.

a)Refer to caption
b)Refer to caption

Figure 2: For a specific N=18N=18 problem of median complexity we display in a) the two lowest energy levels E0(λ)E_{0}(\lambda) and E1(λ)E_{1}(\lambda) as a function of λ\lambda. The inset in a) displays the same data on a much smaller λ\lambda-interval. In addition the energy gap ΔE(λ)\Delta E(\lambda) is displayed in b). The critical point λc\lambda_{c} is marked by an arrow and the energy gap value corresponds to an horizontal line. The curve represents a fit to the data with the form eq.(2.7). The inverse energy gap parameter value 1/ΔEGAP1/\Delta E_{\rm GAP} defines the gap-correlation length ξGAP:=1/ΔEGAP\xi_{\rm GAP}:=1/\Delta E_{\rm GAP} at the value ξGAP=625\xi_{\rm GAP}=625.

For realizations with a number of spins ranging in-between N=3N=3 and N=18N=18 we have computed levels of the instantaneous energy spectrum of the quantum adiabatic Hamiltonian HQAC(λ)H_{QAC}(\lambda) in eq.(2.5). We determine the two lowest energy levels: the ground-state at energy E0E_{0} and the first excited state at energy E1E_{1}. We use the Lanczos algorithm and analyze either about 500500 or 10001000 problem realizations at each NN with N10N\geq 10 on a grid of discrete λ\lambda values. For the smaller NN values we have less statistics at about 200200 problems only. We consumed 3400034000 core hours on a parallel computer.

For purposes of illustration and, for a representative median complexity instance at N=18N=18, we show in Fig. 2a) energy eigenvalues E0(λ)E_{0}(\lambda) and E1(λ)E_{1}(\lambda), while Fig 2b) contains the energy gap ΔE=E1E0\Delta E=E_{1}-E_{0}. The limiting values of the gap in Fig 2b) are ΔE(λ=0)=2\Delta E(\lambda=0)=2 for the driver Hamiltonian at E0(λ=0)=NE_{0}(\lambda=0)=-N and ΔE(λ=1)=1\Delta E(\lambda=1)=1 at E0(λ=1)=0E_{0}(\lambda=1)=0 for the problem Hamiltonian and are outside the λ\lambda range of the figure. Limiting values have been checked for any single problem. There is an important lesson to learn: The theory exhibits just one quantum phase transition as signaled by a unique minimum energy gap value ΔEGAPi\Delta E^{i}_{\rm GAP} at the transition point λci\lambda_{c}^{i} for any given instance numbered by ii and, all the energy gap’s ΔEi(λ)\Delta E^{i}(\lambda) are in fact extremely well described by the three-parametric form

ΔEi(λ)=(ΔEGAPi)2+([λλci]λΔE(λc)i)2\Delta E^{i}(\lambda)=\sqrt{(~\Delta E^{i}_{\rm GAP}~)^{2}+(~[\lambda-\lambda_{c}^{i}]~\partial_{\lambda}\Delta E(\lambda_{c})^{i}~)^{2}} (2.7)

in vicinity of the critical point 111The critical region at the LZ transition is of size δλrΔEGAP/λΔE\delta\lambda\approx r\Delta E_{\rm GAP}/\mid\mid\partial_{\lambda}\Delta E\mid\mid, where r is of 𝒪(10){\cal O}(10). The fits are performed on the critical region, which requires fine λ\lambda-spacing on the λ\lambda-grid. see e.g. the curve in Fig 2b). This is the canonical form at an Landau-Zener (LZ) avoided level crossing. The presence of an isolated Landau-Zener level crossing at the quantum phase transition without further structure on 0λ10\leq\lambda\leq 1 relates to particular aspects of the spectrum which turn out to be simple: The model does not possess a possible cascade of avoided and actual level crossings beyond λc\lambda_{c} for λ>λc\lambda>\lambda_{c} as in [17] and, also the energy gap does not close in vicinity of λ=1\lambda=1: The classical ground state is non-degenerate and as such there are no tunneling events in-between degenerate vacua. The three parameters ΔEGAPi,λci\Delta E^{i}_{\rm GAP},\lambda_{c}^{i} and λΔE(λc)i>0\mid\mid\partial_{\lambda}\Delta E(\lambda_{c})^{i}\mid\mid>0 are determined for any single instance ii of the problem set.

Refer to caption
Figure 3: We display the quantum critical point λc(N)\lambda_{c}(N) in the median Q2Q2 as a function NN, the circles in the figure. The two curves are explained in the text. They have the mathematical forms as printed inside the figure.

The positions of the avoided level crossings λc(N)\lambda_{c}(N) have been determined in the median of the ensembles. They are displayed in Fig. 3). However, and as there is no established finite size scaling (FSS) theory for these class of phase transitions, we feel unable to predict the critical point λc\lambda_{c} in the thermodynamic limit! We note that we have experimented with the FSS forms λc(N)=λca)+aexp[N/b]\lambda_{c}(N)=\lambda_{c}^{a)}+~a~{\rm exp}[-N/b] as well as λc(N)=λcb)+a/N\lambda_{c}(N)=\lambda_{c}^{b)}+a/N, parameterizing exponential small as well as polynomial small corrections. Both Ansätze do in fact yield reasonable χdof2\chi^{2}_{dof}-values if data with N11N\geq 11 are included into corresponding fits, see the two curves displayed in Fig. 3). However, the disparity in the parameters λca)0.93\lambda_{c}^{a)}\simeq 0.93 or λcb)0.98\lambda_{c}^{b)}\simeq 0.98 reflects our ignorance on the critical point position λc\lambda_{c}.

The obvious presence of a single Landau Zener avoided level crossing at the critical point λc\lambda_{c} leads us to consider Landau Zener theory [34, 35] for the dynamical success rates PSuccess(𝒯)P_{\rm Success}({\cal T}) of eq.(2.6), which becomes exact in the limit of infinite slow adiabatic state changes. For finite time schedules there will be corrections due to transitions to higher energy eigen-states, which in a first step are dropped here. Following these works the two energy level approximation to the diabatic success rate is

PDiabatic=eγP_{\rm Diabatic}=e^{-\gamma} (2.8)

with

γ=2πhΔEGAP2λΔE(λ)λ=λcddtλ(t)t=t(λc).\gamma={2\pi\over{h}}{\Delta E_{\rm GAP}^{2}\over\mid\mid\partial_{\lambda}\Delta E(\lambda)\mid_{\lambda=\lambda_{c}}{d\over dt}\lambda(t)\mid_{t=t(\lambda_{c})}\mid\mid}. (2.9)

Using the adiabatic success rate PSuccess=1PDiabaticP_{Success}=1-P_{\rm Diabatic} one then has

τ^QA(PTarget)=ln[11PTarget]𝒯γ\hat{\tau}_{\rm QA}(P_{\rm Target})~=~{\rm ln}[{1\over 1-P_{\rm Target}}]{\cal T\over\gamma} (2.10)

and inserting the linear schedule one finds

τ^QA(PTarget)=ln[11PTarget](h2π)[λΔE(λc)ΔEGAP2].\hat{\tau}_{\rm QA}(P_{\rm Target})~=~{\rm ln}[{1\over 1-P_{\rm Target}}]~({h\over 2\pi})~[{\mid\mid\partial_{\lambda}\Delta E(\lambda_{c})\mid\mid\over\Delta E_{\rm GAP}^{2}}]. (2.11)

During this work we will drop all irrelevant factors from τ^QA\hat{\tau}_{\rm QA} and use

τQA=λΔE(λc)ΔEGAP2\tau_{\rm QA}~=~{\mid\mid\partial_{\lambda}\Delta E(\lambda_{c})\mid\mid\over\Delta E_{\rm GAP}^{2}} (2.12)

as the primary physical observable: the run-time which quantifies quantum search complexity. It is understood that physical dimensions and trivial pre-factors can be restored. The quantities τQAi\tau^{i}_{\rm QA} are easily determined from the fits to the energy gap see eq.(2.7) for any problem ii of the problem set. Finally we also introduce the root

ΞLZ=τQA\Xi_{\rm LZ}~=~\sqrt{\tau_{\rm QA}} (2.13)

and the static gap correlation length

ξGAP=1ΔEGAP\xi_{\rm GAP}~=~{1\over\Delta E_{\rm GAP}} (2.14)

which in the path integral formulation denotes the maximal correlation length in-between spins at the quantum phase transition. For linear schedules and regular coefficients λΔE(λc)\mid\mid\partial_{\lambda}\Delta E(\lambda_{c})\mid\mid the singular part in the run-time then is carried by the singular contribution in ξGAP\xi_{\rm GAP}

lnτQA=2lnΞLZ=2lnξGAP+regularterms.{\rm ln}\tau_{QA}~=~2~{\rm ln}\Xi_{\rm LZ}~=~2~{\rm ln}\xi_{\rm GAP}+{\rm regular~terms}. (2.15)

The two hereby denotes the quadratic Landau Zener run-time pole, which dominates the run-time as the energy gap closes.

The run-times τQAi\tau^{i}_{\rm QA} and correlation length ξGAPi\xi_{\rm GAP}^{i} as well as ΞLZi\Xi_{\rm LZ}^{i} all are distributed on the problem set as labeled by ii. Typically we can only afford twelve bins in histograms at mProblem=1000m_{\rm Problem}=1000 while otherwise the resulting PDF’s turn out to be too irregular. We also apply statistical errors ϵ\epsilon of magnitude ϵ=(m)\epsilon=\sqrt{(}m) if a bin has mm entries.

We remark that the problem set generation as given in eq.(2.4) picks improbable problems at μ=1\mu=1 from a distribution that otherwise and at the satisfiability threshold of 2SAT is centered at large μ\mu-values and therefore catastrophic statistics can be applicable. We consider here a two parametric class of Weibull WkW_{k} and Frechet FkF_{k} functions

Wk(x)=𝒩1(x/x0)(k1)e(x/x0)kW_{k}(x)~=~{\cal N}^{-1}~(x/x_{0})^{(k-1)}~e^{-(x/x_{0})^{k}}~ (2.16)
Fk(x)=𝒩1(x0/x)(k+1)e(x0/x)k,F_{k}(x)~=~{\cal N}^{-1}~{(x_{0}/x)^{(k+1)}}~e^{-(x_{0}/x)^{k}}, (2.17)

which pend on parameters kk and scales x0x_{0}.

3 Simulated Annealing

We have employed simulated annealing (SA) [7] as an additional and conceptually different measure of complexity for the considered problem set. In its bare version simulated annealing is just an algorithm to solve problems. However, and as simulated annealing employs the canonical partition function Zcan(β=T1)Z_{\rm can}(\beta=T^{-1}), where TT is the temperature, one can expect that statistical properties determine the run-times in simulated annealing. Again there remains the fundamental issue in how far Monte Carlo pseudo-dynamics approximates physical dynamics under the solution of the equations of motion. For a failure under more physical dynamics than Monte Carlo namely Fokker Planck dynamics see [36].

In SA we set up the canonical partition function Zcan=confexp[βHp]Z_{\rm can}=\sum_{\rm conf}~{\rm exp}~[-\beta H_{p}] at inverse temperature β=T1\beta=T^{-1} where HPH_{P} is the problem Hamiltonian. We choose a random initialized spin-configuration and perform local Metropolis spin updates in a multi-spin coded computer program [37, 38]. We employ compute time farming on a parallel computer with a parallel random number generator of Marsaglia [39]. The annealing procedure is similar to the one used in [3], however we use a different schedule in 2SAT. Each annealing trajectory is started at the high temperature

T0=10T_{\rm 0}~=~10 (3.1)

and terminates after 100100 Sweeps i.e., 100×N100\times N Monte Carlo steps where NN is the spin number. We use a multiplicative temperature schedule

TNew=0.7847TOldT_{\rm New}=~0.7847~T_{\rm Old} (3.2)

that lowers the temperature after each sweep, and after 2020 sweeps reaches low temperature T=0.1T=0.1 already. We repeat the annealing trajectories 6400064000 times with different random numbers and determine the mean success probability PSuccessSAP_{\rm Success}^{SA} of successful ground-state searches after the sweep 100100. Our measure of SA search run-time is

τSA=ln[1PTargetSA]ln[1PSuccessSA]×100×N[MonteCarloSteps],\tau_{\rm SA}~=~~{{\rm ln}[1-P_{\rm Target}^{SA}]\over{\rm ln}[1-P_{\rm Success}^{SA}]}~~\times~~100~~\times~~N~~[{\rm Monte~Carlo~Steps}], (3.3)

at target success rate one-half : PTarget=12P_{\rm Target}={1\over 2}. The procedure is repeated for a possible 10001000 realizations and at all values of NN.

4 Success Probability Distributions

From the point of view of a quantum annealing PDF’s of gap correlation length values PDF(ξGAP)PDF(\xi_{\rm GAP}) are not direct measurements. Quantum annealers yield measurements for success-rates PSuccessiP_{\rm Success}^{i} of instances at problem index ii and, if statistics over an ensemble is accumulated: the probability distribution function PDF(PSuccess)PDF(P_{\rm Success}) is a measurable observable. The latter probability contains a static measure of run-time complexity which then under the specific dynamics is propagated into successes.

Within LZ-theory we can simply separate statics and dynamics, see the final result in eq.(4.6): At first we note that ΞLZ\Xi_{\rm LZ} of eq.(2.13) is a static quantity which we will assume to have a probability distribution

PDF(ΞLZ)dΞLZ.{\rm PDF}(\Xi_{\rm LZ})~{\rm d}\Xi_{\rm LZ}. (4.1)

The function PDF(ΞLZ){\rm PDF}(\Xi_{\rm LZ}) can numerically be estimated here also by binning, and as the regular contributions of eq.(2.15) turn out to only have smoothly varying dependencies, its overall shape is close to the one of PDF(ξGAP){\rm PDF}(\xi_{\rm GAP}). At second we observe that

PSuccess=1eR(ΞLZ)𝟐P_{\rm Success}~=~1~-~e^{-\frac{R}{(\Xi_{\rm LZ})^{\bf 2}}} (4.2)

with

R=2πh𝒯:LZtheoryR={2\pi\over h{\cal T}}~~~{\rm:~LZ-theory} (4.3)

constitutes a one parametric map from the static quantifier to the success rate PSuccessP_{\rm Success} as a function of RR. It is important to realize here that RR is a free parameter for annealing devices that may be scaled by scale factors ss to any value sRsR either by scaling the physical annealing time 𝒯s1𝒯{\cal T}\rightarrow s^{-1}{\cal T}, or by ”formally” combining s1s^{-1} repetitions of single annealing runs into one combined success probability! A short calculation yields for the inverse map

ΞLZ=R12{ln(1PSuccess)}12\Xi_{\rm LZ}~=~R^{{1\over 2}}~\{-{\rm ln}(1-P_{\rm Success})\}^{-{1\over 2}} (4.4)

and for the Jacobian

PSuccessΞLZ=12R2ΞLZ3e+RΞLZ2.\mid\mid\partial_{P_{\rm Success}}\Xi_{\rm LZ}\mid\mid~=~{1\over 2}~R^{-2}~\Xi_{\rm LZ}^{3}~e^{+\frac{R}{\Xi_{\rm LZ}^{2}}}. (4.5)

The desired probability distribution function PDF(PSuccess)dPSuccess{\rm PDF}(P_{\rm Success})~{\rm d}P_{\rm Success} can now be written down and up to an irrelevant normalization factor 𝒩1{\cal N}^{-1} is

PDF(PSuccess)dPSuccess=𝒩1×PDF(ΞLZ)×ΞLZ3×e+RΞLZ2×dPSuccess{\rm PDF}(P_{\rm Success})~{\rm d}P_{\rm Success}~=~\break{\cal N}^{-1}\times{\rm PDF}(\Xi_{\rm LZ})\times\Xi_{\rm LZ}^{3}\times e^{+\frac{R}{\Xi_{\rm LZ}^{2}}}\times{\rm d}P_{\rm Success} (4.6)

where it is understood that the inverse eq.(4.4) ΞLZ=ΞLZ(PSuccess)\Xi_{\rm LZ}=\Xi_{\rm LZ}(P_{\rm Success}) is applied. This is an interesting finding and a comment is in order:

If from the functions of eq.(2.16) and eq.(2.17) one singles out the Frechet function FkF_{k} at k=2

PDF(ΞLZ)dΞLZ=𝒩1(ΞLZ0ΞLZ)3e(ΞLZ0/ΞLZ)2dΞLZ{\rm PDF}(\Xi_{\rm LZ})~{\rm d}\Xi_{\rm LZ}~=~{\cal N}^{-1}~({\Xi_{\rm LZ}^{0}\over\Xi_{\rm LZ}})^{3}~e^{-(\Xi_{\rm LZ}^{0}/\Xi_{\rm LZ})^{2}}~{\rm d}\Xi_{\rm LZ} (4.7)

then terms (ΞLZ)3(\Xi_{\rm LZ})^{-3} cancel with corresponding terms from the Jacobian and, one can find a value of R=(ΞLZ0)2R=(\Xi_{\rm LZ}^{0})^{2} such that PDF(PSuccess)=const{\rm PDF}(P_{\rm Success})={\rm const} i.e., is constant. We find that quantum systems with with Frechet Fk=2F_{k=2} distributed PDF(ΞLZ){\rm PDF}(\Xi_{\rm LZ}) and with an LZ quantum phase transition ought to exhibit constant success probability distributions in quantum annealing for linear time schedules, if the annealing times 𝒯{\cal T} are tuned to the point of mean success <PSuccess>=12<P_{\rm Success}>={1\over 2}. Scanning the parameter space kk of WkW_{k} eq.(2.16) and FkF_{k} eq.(2.17) in-between k=1k=1 and k=3k=3 as models for PDF(ΞLZ)dΞLZ{\rm PDF}(\Xi_{\rm LZ})~{\rm d}\Xi_{\rm LZ}, and always tuning RR to the point of mean success one half, we find for the Frechet case bimodal success probability distribution functions at k>2k>2 while for k<2k<2 these turn out to be uni-modal. A corresponding watershed line does not exist for the Weibull case for which all probability distributions are bimodal in 1<k<31<k<3. Within the scope of this work we will numerically determine values ΞLZ\Xi_{\rm LZ} and PDF’s for the given problem set and with the help of eq.(4.6) fold them into corresponding success probability distributions.

5 Findings

5.1 Problem Set Correlations of Observables

Refer to caption
Figure 4: For the N=18N=18 problem set we display for each problem the density of states Ω1\Omega_{1} at E=1E=1 and the quantum gap correlation length ξGAP\xi_{\rm GAP}. There are 994994 data points in the figure. The data appear to be to a large extent un-correlated.

Our numerical study provides a wealth of observables that quantify quantum as well as classical search complexity for each incidence on the problem set. These are for QA the gap correlation length ξGAP\xi_{\rm GAP}, the run-time τQA\tau_{QA}, its root ΞLZ\Xi_{\rm LZ} and success rates PSuccessP_{\rm Success}. For SA run-times in Sweeps τSA\tau_{SA}, corresponding success-rates PSuccessSAP_{\rm Success}^{\rm SA} and a free energy Ω1=Ω(E=1)\Omega_{1}=\Omega(E=1) are given. The observables either are exact as in the case of Ω1\Omega_{1}, carry numerical errors of relative magnitude δo/oO(104)\delta o/{\rm o}\approx{\rm O}(10^{-4}) like for ξGAP\xi_{\rm GAP}, or have small statistical errors as for τSA\tau_{\rm SA}. We transform any set of success probabilities PSuccessiP_{\rm Success}^{i} via

PSuccessi1(1PSuccessi)RP_{\rm Success}^{i}\rightarrow 1-(1-P_{\rm Success}^{i})^{R} (5.1)

to the point of mean equal success rate one half <PSuccess>=12<P_{\rm Success}>={1\over 2} by an appropriate choice of RR. The considerations on the shapes of success PDF’s of the last section then apply. One of the interesting issues now are correlations in-between observables for a given problem set at fixed NN, which we choose to discuss on a semi-quantitative level.

Refer to caption
Figure 5: Scatter plot of correlated and logarithmic τQA\tau_{\rm QA} and ξGAP\xi_{\rm GAP} observables for the problem set at N=16N=16. The curve interpolating the data corresponds to a 3-rd order polynomial fit. The inset of the figure displays a numerical estimate of the derivative, which is evaluated at the arrow positions and approaches the LZ value two for hard problems. The x-axis in the inset is the correlation length in units of the median.

The run time behavior in SA and QA on the problem set can, problem by problem either be correlated, or correlations may fall apart in which case different run-time scaling in NN is possible. Recalling ξGAP\xi_{\rm GAP} and Ω1\Omega_{1} to be static quantifiers of QA and SA search complexity we display in Fig. 4) a scatter plot of both for N=18N=18 spins. Similar figures can be obtained at smaller NN. It is quite evident: The gap correlation length and the energy one degeneracy are to a large extent un-correlated. For reasons of completeness we cite the maximum gap correlation length from the union of all problems, which at N=18N=18 was found to have the value

ξGAPMaximalValueoverAll=4730.\xi_{\rm GAP}\mid_{\rm Maximal~Value~over~All}~=~{4730}~~~. (5.2)

We remark that such large correlation length values constitute an impasse to any Quantum Monte Carlo (QMC) simulation for the spectrum. Whether the same holds true for simulated quantum annealing studies with QMC methods, is an open question.

Refer to caption
Figure 6: Scatter plot of correlated τSA\tau_{\rm SA} and Ω1\Omega_{1} observables for the problem set at N=12,14,16N=12,14,16 and N=18N=18. The interpolating curve in the figure is explained in the text.

The situation however, as far as correlations are concerned turns around from largely un-correlated to correlated when correlations of static search quantifiers Ω1\Omega_{1} respectively ξGAP\xi_{\rm GAP} with their corresponding dynamic counterparts, namely run-times τSA\tau_{\rm SA} and τQA\tau_{\rm QA} are considered. On the quantum annealing side we display in Fig. 5) τQA\tau_{\rm QA} and ξGAP\xi_{\rm GAP} observables for the N=16N=16 problem set in a common scatter plot at logarithmic scale. Both quantities show an almost linear correlation in-between the logarithms, the small open circles in the figure. A closer inspection yields, see the inset in Fig. 5), that the slopes sQAs_{\rm QA} of the logarithmic run-time derivatives sQA=lnξGAPlnτQAs_{\rm QA}=\partial_{{\rm ln}\xi_{\rm GAP}}{\rm ln}\tau_{\rm QA} slightly overshoot the quadratic LZ pole value: sQA=2s_{\rm QA}=2. The margin is about 1515 percent for easy problems at small ξGAP\xi_{\rm GAP}. The difference to the pole value sQA=2s_{\rm QA}=2 then vanishes for the very hard problems. For the linear run-time schedules as considered here, these run-time corrections are induced by the coefficients λΔE(λc)\mid\mid\partial_{\lambda}\Delta E(\lambda_{c})\mid\mid of eq.(2.12). In the logarithmic derivatives they turn out to be regular. We calculated the derivatives numerically. For this purpose a 3-rd order polynomial is fitted to the data, which then is differentiated.

On the classical annealing side we display in Fig. 6) τSA\tau_{\rm SA} and Ω1\Omega_{1} observables for the N=12,14,16N=12,14,16 and N=18N=18 problem sets in a common scatter plot at linear scale. The data show a band of allowed correlations, which is significant and is not caused by the statistical errors of the SA simulation as errors are small. We suspect internal structure on the energy one surface relative to the ground-state in terms of spin flip distances and their stochastic distribution. We fit the correlation by the Ansatz τSA=AΩ11+ΔαSA\tau_{\rm SA}=A\Omega_{1}^{1+\Delta\alpha_{\rm SA}} and obtain ΔαSA=0.16(1)\Delta\alpha_{\rm SA}=-0.16(1). A representative scaling form is displayed in Fig. 6), the curve in the figure. We mention, that the performance of different classical annealer’s in case of Dwave is used to question the quantum nature of the search process [40, 41, 42]. It is inconceivable that for our toy model classical annealer’s would not have Ω1\Omega_{1} as static quantifier. If however classical dynamics can model Dwave, then criticism to the effect that the machine is operating classical has to be taken more serious.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 7: Double histograms of correlated success rates PSuccessSAP_{\rm Success}^{SA} (SA) (x-axis) and PSuccessP_{\rm Success} (QA) (y-axis). Clock-wise and starting in the left upper corner we present data for N=15,16,18N=15,16,18 and N=17N=17 problem sets. The histograms have two local maxima at approximate positions (PSA,PQA)(0.7,1.0)(P^{\rm SA},P^{\rm QA})\approx(0.7,1.0) and (0.4,0.1)\approx(0.4,0.1). Polygons in the figures indicate peak positions. The straight lines in the figures mark the position of linear correlations.
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 8: Success probability distributions PDF(PSuccess)PDF(P_{\rm Success}) for quantum annealing on the problem set at N=15,16,18N=15,16,18 and N=17N=17 (clock-wise).

Finally a comprehensive pictorial representation of different quantum versus classical search complexities is obtained in terms of correlations in-between success probabilities PSuccessP_{\rm Success} for QA and PSuccessSAP_{\rm Success}^{\rm SA} for SA, which both are compactified observables on the interval 0P10\leq P\leq 1. It is straightforward to construct a double histogram H(PSuccessSA,PSuccess)H(P_{\rm Success}^{\rm SA},P_{\rm Success}) on the problem set, which counts entry’s into bins and is normalized to unity at the bin of maximal frequency. The data are displayed in Fig. 7) for the largest spin numbers. There is a band of events which parts form the linear correlation, see the straight lines in Fig. 7), and clearly forms a step-like structure at an value of PSuccessSA0.5P_{\rm Success}^{\rm SA}\approx 0.5. It is clear, and with reference to the arguments of the last section, that we can attribute this step to the presence of catastrophic statistics in the distribution of the quantifier ΞLZ\Xi_{\rm LZ} in eq.(4.6). This issue and the probability distributions of ΞLZ\Xi_{\rm LZ}, ΞGAP\Xi_{\rm GAP} and of PSuccessP_{\rm Success} observables will be discussed in the next section. The work [20] presents similar success rate correlations in-between Dwave and SA again. The step there, see Fig. 2c) of the paper, turns out to be less symmetric with a larger amount of statistical noise. However, the theories definitely are different and nothing quantitative can be concluded from the comparison.

5.2 Probability Distribution Functions, PDF’s

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 9: PDF’s for ΞLZ\Xi_{\rm LZ}, the square root of the run-time ΞLZ=τQA\Xi_{\rm LZ}=\sqrt{\tau_{\rm QA}}, in the top row for N=16N=16 and N=17N=17. PDF’s for ξGAP\xi_{\rm GAP}, the gap correlation length, in the bottom row for N=15N=15 and N=16N=16. The symbol <><> denotes the median expectation value.
NN χdof2\chi^{2}_{dof} ξ0/<ξGAP>\xi_{0}/<\xi_{\rm GAP}> kWeibullk_{\rm Weibull} χdof2\chi^{2}_{dof} Ξ0/<ΞLZ>\Xi_{0}/<\Xi_{\rm LZ}> kWeibullk_{\rm Weibull}
10 4.12 1.11(3) 3.02(29) 6.94 1.23(6) 2.82(28)
11 3.88 1.18(4) 2.84(20) 2.28 1.24(4) 2.19(14)
12 6.22 1.18(6) 2.70(21) 5.21 1.24(6) 2.17(16)
13 3.53 1.26(5) 2.31(14) 3.00 1.27(5) 1.90(11)
14 1.97 1.26(4) 1.98(09) 0.52 1.28(2) 1.67(04)
15 2.44 1.25(6) 1.65(09) 1.36 1.26(5) 1.40(07)
16 0.53 1.25(3) 1.58(06) 0.62 1.28(4) 1.43(06)
17 0.36 1.34(3) 1.40(05) 0.71 1.36(5) 1.34(06)
18 1.61 1.37(7) 1.24(07) 0.66 1.39(5) 1.15(04)
Table 2: Fit results to probability distributions PDF(ξGAP)PDF(\xi_{\rm GAP}) in row 2,3,42,3,4 and to probability distributions PDF(ΞLZ)PDF(\Xi_{\rm LZ}) in row 5,6,75,6,7. The spin number NN is contained in row 11. Each block of fits contains χd.o.f2\chi^{2}_{d.o.f} values, scales and most important the Weibull parameter kk in row 44 and row 77.

The discretized numerical success probability distribution functions PDF(PSuccess)PDF(P_{\rm Success}) of the quantum annealing processes on the problem set are bimodal, they span the whole compact interval [0P1][0\leq P\leq 1] without any tendency of self-averaging at increasing NN, and are displayed in Fig. 8) for N=15,16,17N=15,16,17 and N=18N=18. These distributions constitute theoretical predictions for quantum annealer’s that run the linear schedule in the large annealing time 𝒯{\cal T} limit. The success probability distributions of simulated annealing (SA) are unimodal, as in the case of Dwave [20, 21].

For the linear time schedule the static distributions of ΞLZ=τQA\Xi_{\rm LZ}=\sqrt{\tau_{\rm QA}} are relevant, while the ξGAP\xi_{\rm GAP} gap correlation length distributions at the quantum phase transition anyhow are fundamental. Both kind of probability distributions are displayed Fig. 9): the top row contains PDF(ΞLZ)PDF(\Xi_{\rm LZ}) at N=16N=16 and N=17N=17, while the bottom row contains PDF(ξGAP)PDF(\xi_{\rm GAP}) at N=15N=15 and N=16N=16. On the main diagonal of the figure at N=16N=16 one can compare ΞLZ\Xi_{\rm LZ} and ξGAP\xi_{\rm GAP} PDF’s for an identical problem set. All distributions are plotted as a function of their corresponding variable in units of the median as denoted by <><>. One notices that the distributions of PDF(ΞLZ)PDF(\Xi_{\rm LZ}) and PDF(ξGAP)PDF(\xi_{\rm GAP}) at N=16N=16 do not differ much, when plotted as a function of median normalized x-coordinates. We have performed fits to the distribution data employing the catastrophic functions WkW_{k} and FkF_{k} of eq.(2.16) and eq.(2.17). The qualities of the fits single out Weibull functions WkW_{k} as the better models for data and, thus we fit e.g. the Ansatz

PDF(ξGAP)=A0(ξGAP/ξ0)(k1)e(ξGAP/ξ0)k[Weibull]PDF(\xi_{\rm GAP})~=~A_{0}~(\xi_{\rm GAP}/\xi_{0})^{(k-1)}~e^{-(\xi_{\rm GAP}/\xi_{0})^{k}}~~~~[{\rm Weibull}] (5.3)

to the ξGAP\xi_{\rm GAP} distribution. The fit-results for parameters k[ξGAP]k[\xi_{\rm GAP}], scales ξ0\xi_{0} and correspondingly k[ΞLZ]k[\Xi_{\rm LZ}] and scales Ξ0\Xi_{0} are all collected in Table 2), together with the χd.o.f2\chi^{2}_{d.o.f} values for the fits. The fitted curves are also displayed in Fig. 9), see the curves in the figure. Most importantly we find that for our largest systems at N=14,,18N=14,...,18 Weibull functions describe the PDF’s to good precision, see the χd.o.f2\chi^{2}_{d.o.f} values in Table 2). This implies thin catastrophic distribution function tails in the variables ΞLZ\Xi_{\rm LZ} or ξGAP\xi_{\rm GAP}. The value of kk slowly decreases from k=1.65k=1.65 respectively k=1.40k=1.40 at N=15N=15, to k=1.24k=1.24 respectively k=1.15k=1.15 at N=18N=18 and possible assumes k=1k=1 at infinite NN. None of the distributions has reached its stationary shape. We mention that a duality in-between WkW_{k} and FkF_{k} implies, that Weibull distributions for gap correlation length values turn into Frechet distributed energy gap distributions at kk. Neither the semi Poisson distribution of nearest neighbor levels in randomly distributed energies P(ΔE)dΔEΔEexp[ΔE/ΔE0]P(\Delta E)d\Delta E\propto\Delta E{\rm exp}[-\Delta E/\Delta E_{0}] , nor Wigner’s surmise [43] P(ΔE)dΔEΔEexp[(ΔE/ΔE0)2]P(\Delta E)d\Delta E\propto\Delta E{\rm exp}[-(\Delta E/\Delta E_{0})^{2}] of energy gaps aka random matrix theory for quantum level repulsion in the bulk are appropriate models here. If kk actually takes the asymptotic value k=1k=1, then P(ΔE)dΔE(ΔE)2exp[ΔE0/ΔE]P(\Delta E)d\Delta E\propto(\Delta E)^{-2}{\rm exp}[-\Delta E_{0}/\Delta E] is predicted with a fat tail in ΔE\Delta E ! Znidaric in [44] found a Poisson distribution for the energy gaps in 3SAT with a thin tail in ΔE\Delta E however.

5.3 Run Time Singularities

Refer to caption
Figure 10: Run time singularity in lnτSA{\rm ln}\tau_{\rm SA} as given in eq.(3.3) and for simulated annealing (SA). The straight lines correspond to fits with eq.(5.4) to the various Deciles. Numeric values of fit parameters are found in Table 3).
Decile{\rm Decile} NminN_{\rm min} rSAr_{\rm SA} χdof2\chi^{2}_{dof}
1 12 0.293 ( 4 ) 0.9
3 12 0.311 ( 6 ) 4.4
5 12 0.330 ( 5 ) 1.9
7 12 0.351 ( 3 ) 0.8
9 12 0.364 ( 3 ) 0.5
Table 3: Rate constants rSAr_{\rm SA} of the exponential run time singularity, see eq.(5.4) in simulated annealing (SA). The fits have been performed with NNminN\geq N_{\rm min}. The χdof2\chi^{2}_{dof}-values of the fit are still of reasonable magnitude. The dependence of rSAr_{\rm SA} on the Decile is weak and D5 denotes the median. The median rate constant is highlighted.

There is a simple question: does quantum annealing with the help of quantum fluctuations perform differently, than classical annealing under the use of thermal fluctuations for a given problem set ? Or on the practical side: Can quantum annealing outperform classical annealing ? The issue here is narrowed down to the very specific comparison of the findings in LZ theory (QA) to the numerical data of simulated annealing (SA). The scope of the comparison is limited and can possibly be broadened in sub-sequent work. On the quantum side neither finite run-time corrections to LZ-theory via the excitations to higher energy levels, nor the corrections due to non-linear schedules are accounted. On the classical side physical dynamics is approximated by Monte Carlo pseudo dynamics which one may conjecture to perform faster than genuine classical dynamics. We think that neither restriction is relevant here as efficiencies turn out to be grossly different and likely can not be leveled by corrections.

We display in Fig. 10) our findings with respect to classical dynamics. The logarithmic search time lnτSA{\rm ln}\tau_{\rm SA} of eq.(3.3) in units of Monte Carlo steps is displayed as a function of the spin number NN for a selected sub-set of Deciles on the problem set. For spin numbers N10N\geq 10 up to N=18N=18 we find a exponential run time singularity of the form

τSA/MCS=Ae+rSAN\tau_{\rm SA}/{\rm MCS}~=~A~e^{+r_{\rm SA}N}~~~ (5.4)

and the fitted rate constants rSAr_{\rm SA} for various Deciles D1,D3,D5,D7D1,D3,D5,D7 and D9D9 are presented in Table 3). Statistical error bars have been determined with jack-knife binning methods. The numerical rate constant value in the median (D5) is rSA=0.330(5)r_{\rm SA}=0.330(5) and turns out to be identical with the rDOS=0.329(2)r_{\rm DOS}=0.329(2) value of the corresponding singularity in the density of states Ω1(N)\Omega_{1}(N). There is a certain spread in the rate constant values pending on the Decile value, which however is bounded and thus our problem ensemble is pure: There is no indication for an admixture of problems, that for small Deciles would either show polynomial, or otherwise different from exponential run time behavior at large Deciles. A similar conclusion can be obtained for the quantum case.

a)Refer to caption
b) Refer to caption

Figure 11: Logarithmic gap correlation length singularity lnξGAP{\rm ln}\xi_{\rm GAP} in in a) for a selected set of Deciles with D5 denoting the median as a function of NN. In b) we display the root of the run time ΞLZ=τQA\Xi_{\rm LZ}=\sqrt{\tau_{\rm QA}} of eq.(2.12) in logarithmic scale, which for linear schedules and up to regular corrections is expected to have the same singular behavior as lnξGAP.{\rm ln}\xi_{\rm GAP}. The straight lines in a) and b) at large NN correspond to fits with eq.(5.5) and to eq.(5.6) to the various Deciles. Fitted values for the to slopes of the lines in the figures, corresponding to rate constants are found in Table 4). The straight lines in a) and b) at small NN are ment to guide the eye.
Decile{\rm Decile} NminN_{\rm min} rGAPr_{\rm GAP} χdof2\chi^{2}_{dof} rLZr_{\rm LZ} χdof2\chi^{2}_{dof}
1 15 0.519 ( 04 ) 0.07 0.567 ( 8 ) 0.12
3 15 0.549 ( 06 ) 0.06 0.584 ( 9 ) 0.07
5 14 0.553 ( 06 ) 0.30 0.592 ( 8 ) 0.23
7 14 0.581 ( 12 ) 0.80 0.625 ( 6 ) 0.19
9 14 0.636 ( 09 ) 0.85 0.669 ( 8 ) 0.28
Table 4: Fitted rate constants rGAPr_{\rm GAP} (third column) and rLZr_{\rm LZ} (fifth column) of the singularities in eq.(5.5) and to eq.(5.6) for a selected set of deciles. The dependence on the Deciles is weak and D5 denotes the median (displayed in bold face) in both cases. The fits have been performed with NNminN\geq N_{\rm min} and yield χdof2\chi^{2}_{dof}-values as given in columns four and six, indicating good quality fits.

We display in Figures 11 a) and 11 b) our findings with respect to quantum search complexity. The logarithmic gap correlation length lnξGAP{\rm ln}\xi_{\rm GAP} is given in Fig. 11 a) while the logarithmic run time root lnΞLZ{\rm ln}\Xi_{\rm LZ} with ΞLZ=τQA\Xi_{\rm LZ}=\sqrt{\tau_{\rm QA}} is given in Fig. 11 b). Again we present data for a selected set of Deciles including the median. We observe a crossover behavior from weak singular behavior at small NN turning to strong singular behavior at largest NN. For spin numbers N14N\geq 14 and for both observables the data are consistent with exponential singularities

ξGAP=Ae+rGAPN\xi_{\rm GAP}~=~A~e^{+r_{\rm GAP}N} (5.5)

and

ΞLZ=Ae+rLZN.\Xi_{\rm LZ}~=~A~e^{+r_{\rm LZ}N}. (5.6)

Exponential singular behavior in run-times was also observed by Znidaric in [6] for 3SAT with a strength of the singularity that at given NN however was weaker then the one in this paper. The numerical rate constant values in the median (D5) as obtained from fits to the data with N14N\geq 14 are rGAP=0.553(6)r_{\rm GAP}=0.553(6) and rLZ=0.592(8)r_{\rm LZ}=0.592(8) and are given in Table 4). The fitted values of rate constants for other Deciles and corresponding fit quality values χd.o.f.2\chi^{2}_{d.o.f.} can also be found in Table 4). The rate constant rLZr_{\rm LZ} turns out to be ten percent larger than rGAPr_{\rm GAP} and all the fits have χd.o.f.2\chi^{2}_{d.o.f.}-values of 𝒪(1){\cal O}(1) indicating good quality data modeling.

Summarizing, using a conventional standard quantum adiabatic algorithm with a transverse field and a linear time schedule we find a ground state quantum search complexity for the ensemble of hard 2SAT problems [3] with a super hard

τQA(N)=conste+rQAN\tau_{\rm QA}(N)=~{\rm const}~e^{+r_{\rm QA}N} (5.7)

run time singularity at rQA=1.184(16)r_{\rm QA}={1.184(16)}, that even exceeds the 2N2^{N} singularity of trivial enumerations. The corresponding singularity in classical, i.e. simulated annealing (SA) searches has a rate constant rSAr_{\rm SA} which only is a fraction rSA/rQA0.34r_{\rm SA}/r_{\rm QA}\approx 0.34. A compute time wall of such magnitude for an adiabatic quantum algorithm designed to solve the 2SAT problem is theoretically interesting, but from an algorithmic point of view can only be termed an failure. Finally, and recalling that our problems are actually in 𝒫{\cal P}, we state the obvious fact that quantum annealing, as well as classical annealing are not able to recognize a mathematical structure which otherwise and using calculus makes the problem solvable in polynomial time. It is unclear as to which basis for the degrees of freedoms, or which Hamiltonian had to be chosen in 2SAT in order that annealing can succeed in polynomial time, or whether that is possible at all.

6 Conclusion

Within the scope of the present work we study the quantum search complexity within hard 2SAT which is mapped to an ensemble of Ising models. We hide a unique ground state at energy zero from an exponentially large number of configurations at the classical energy gap value (E=1E=1). The situation corresponds to a search for an needle in a haystack, where the haystack extents over the energy one surface. For our theory the free energy landscape at energy one is simple and all configurations there are connected by single spin flips. There are concurrent proposals for Ising models [45] i.e., physical glasses e.g. the 3D EA glass with less trivial connectivity properties in vicinity of the ground state energy, which are conjectured to be candidate models for quantum speed ups over classical annealing. However, for the specific problem set here we find a quantum search run-time τQA\tau_{\rm QA}, that scales unfavorable to large values of NN with an exponential singularity. The rate constant of the singular behavior rQA=1.184(16)r_{\rm QA}=1.184(16) turns out to be larger than ln2{\rm ln}2 of trivial phase space enumerations ! Thus even a simple enumeration wins over quantum annealing for large NN i.e., finds ground states faster than QA. In addition stimulated annealing finds ground states faster than enumeration. We do not expect that gradual changes to the algorithm: neither alternate annealing schedules, nor alternate driver or problem Hamiltonian’s can change this ranking as long as energies above and at the ground state are populated like a needle in a haystack.

A quantum search algorithm, that for an tractable theory in 𝒫{\cal P} blatantly fails with compute times that exceed Ising enumeration provokes a question: Is there place for a loophole that could possibly restore confidence too some degree into the efficiency of quantum annealing ? For the specific case of 2SAT we note that the mathematical search for logical collisions on 2SAT’s implication graph can actually be shaped into the form of an alternate quantum adiabatic algorithm. The algorithm checks for logical collisions i.e., the connectivity of literals with anti-literals on the directed implication graph. Whether such a quantum algorithm yields better efficiency is currently not known.

We have taken effort to predict the shape of success probability distributions in quantum annealing, which turn out to be bimodal at mean success one half. These probabilities are important functions as for annealing devices they correspond to direct physical observations. We then identify the origin of the bimodal property. Within LZ theory it is caused by a Weibull distributed static quantifier ΞLZ\Xi_{\rm LZ}, which is propagated with the help of the quadratic Landau Zener run-time pole into a bimodal distribution. However, the Weibull distribution by itself is not predicted by theory. It rather characterizes the problem set. We also add the interesting general remark that quantifier distributions of the Frechet type at k=2k=2 would yield constant success probability distribution functions, which however is not the case for our problem set. We expect that a similar mechanism generates the bimodal successes for the EA glass on Dwave [20]. The different shapes of PDF’s here and there are likely caused by different quantifier distributions of the catastrophic type, which on Dwave are not yet known.

We also note that our problems can be mapped onto the Dwave computer. The procedure is not elegant and will require problem embedding on Dwave’s Chimera topology. Should the machine follow quantum dynamics at low temperatures, then the scaling of the run times with NN ought to exhibit the failure of the quantum search quite clearly, as we know now that compute time barriers for the quantum search are substantially harder than for the classical search. A failure of this kind would actually be welcome and it would support recent findings on the quantum nature of the search process [46]. It is however equally reasonable to expect that the machine could solve the hard 2SAT problems with ease, in which case this would hint at a classical search mode on the machine, consistent with [41, 42]. We hope to actually perform the quantum computer experiment in the near future.

Finally we remark that [3] contains several KSAT theories with K=2,,6K=2,...,6 and corresponding hard KSAT problems. For K3K\geq 3, e.g. 3SAT these can be mapped via polynomial transformations to maximal independent set (MIS) [47] with an alternate Ising problem Hamiltonian. As the models at K3K\geq 3 appear even harder we expect even more pronounced failures of quantum annealing with increasing KK if searches are quantum.

Acknowledgment: Calculations were performed under the VSR grant JJSC02 and an Institute account SLQIP00 at Jülich Supercomputing Center on various computers.

References

  • [1] S. A. Cook, Proc. Third Annual ACM Symposium on the Theory of Computing, (ACM, New York, 1971) 151.
  • [2] J. Stat. Phys. , 144, Issue 3, (2011) 519.
  • [3] T. Neuhaus, ”Monte Carlo Search for Very Hard KSAT Realizations for Use in Quantum Annealing”, preprint, November 2014.
  • [4] B. Bollobas, C. Borgs, J. T. Chayes, J. H. Kim and D. B. Wilson, ”The scaling window of the 2-SAT transition”, Random Structures and Algorithms 18, Issue 3, (2001) 201.
  • [5] M. Znidaric, "Single-solution Random 3-SAT Instances", arXiv:cs/0504101 (2005) preprint.
  • [6] M. Znidaric, Phys. Rev. A 71 (2005) 062305.
  • [7] S. Kirkpatrick, C. D. Gelatt and M. P. Vecchi, Science, New Series, Vol. 220, No. 4598, 671 (1983).
  • [8] A. Apolloni, C. Carvalho and D. de Falco, Stoc. Proc. Appl. 33,(1989) 233-244.
  • [9] P. Amara, D. Hsu and J.E. Straub, J. Phys. Chem. 97 (1993) 6715.
  • [10] A.B. Finnila, M.A. Gomez, C. Sebenik, C. Stenson and J.D. Doll, Chem. Phys. Lett. 219 (1994) 343.
  • [11] T. Kadowaki and H. Nishimori, Phys. Rev. E 58, (1998) 5355.
  • [12] T. Morita and H. Nishimori, J. Math. Phys. 49 (2008) 125210.
  • [13] M. Ohzeki and H. Nishimori, ”Quantum annealing: An introduction and new developments”, Journal of Computational and Theoretical Nanoscience 8, Number 6 (2011).
  • [14] E. Farhi, J. Goldstone, S. Gutmann, and M. Sipser, arXiv:quant-ph/0001106, (2001); E. Farhi, J. Goldstone, S. Gutmann, J. Lapan, A. Lundgren, and D. Preda, Science 292, (2001) 472.
  • [15] G. E. Santoro, R. Martonak, E. Tosatti, and R. Car, Science 295 (2002) 2427.
  • [16] R. Martonak, G. E. Santoro, E. Tosatti, Phys. Rev. B 66 (2002) 094203.
  • [17] G. E. Santoro and E. Tosatti, J. Phys A 39 (2006) R393.
  • [18] A. Das and B. K. Chakrabarti, Rev. Mod. Phys. 80 (2008) 1061.
  • [19] B. Altshuler, H. Krovi and J. Roland, ”Anderson localization makes adiabatic quantum optimization fail”, PNAS 107 no. 28 (2010) 12446.
  • [20] S. Boixo, T. F. Ronnow, S. V. Isakov, Z. Wang, D. Wecker, D. A. Lidar, J. M. Martinis and M. Troyer, Nature Physics 10 (2014) 218.
  • [21] T. F. Ronnow, Z. Wang, J. Job, S. Boixo, S. V. Isakov, D. Wecker, J. M. Martinis, D. A. Lidar and M. Troyer, Science 345 (2014) 420.
  • [22] B. Heim, T: F. Ronnow, S: V. Isakov, M. Troyer, “Quantum versus Classical Annealing of Ising Spin Glasses”, arXiv:1411.5693 (2014).
  • [23] D. A. Battaglia, G. E. Santoro and E. Tosatti, Phys. Rev. E 71 (2005) 066707.
  • [24] A. P. Young, S. Knysh, and V. N. Smelyanskiy, Phys. Rev. Lett. 101, 170503 (2008) and Phys. Rev. Lett. 104, 020502 (2010).
  • [25] I. Hen and A. P. Young, Phys. Rev. E 84 (2011) 061152.
  • [26] E. Farhi, D. Gosset, I. Hen, A. W. Sandvik, P. Shor, A. P. Young and F. Zamponi Phys. Rev. A 86 (2012) 052334 .
  • [27] T. Neuhaus, M. Peschina, K. Michielsen and H. De Raedt, Phys. Rev. A 83 (02011) 012309.
  • [28] M. H. Amin, A. Y. Smirnov, N. G. Dickson and M. Drew-Brook "Approximate diagonalization method for large-scale Hamiltonians", Phys. Rev. A 86, (2012) 052314.
  • [29] J. Brooke, D. Bitko, T.F. Rosenbaum and G. Aeppli, "Quantum annealing in a disordered magnet", Science 284 (1999) 779.
  • [30] T. Neuhaus, "Statistical Analysis for Quantum Adiabatic Computations: Quantum Monte Carlo Annealing", Physics Procedia 15 (2011) 71.
  • [31] H. de Raedt, Europhys. Lett. 3 (1987) 139.
  • [32] Y. Matsuda, H. Nishimori and H. G. Katzgraber, "Ground-state statistics from annealing algorithms: Quantum vs classical approaches", New J. Phys. 11 (2009) 073021.
  • [33] B. A. Berg and T. Neuhaus, Phys. Rev. Lett. 68, 9 (1992).
  • [34] L. Landau, Physikalische Zeitschrift der Sowjetunion 2, (1932) 46.
  • [35] C. Zener, Proceedings of the Royal Society of London A 137 (1932) 696.
  • [36] O. Melchert and A.K. Hartmann, ”Ground states of 2d +-J Ising spin glasses via stationary Fokker-Planck sampling”, J. Stat. Mech. P10019 (2008).
  • [37] S. Wansleben, J. G. Zabolitzky and C. Kalle, J. of Statist. Phys. 37, Issue 3-4 (1984) 271.
  • [38] G. Bhanot, D. Duke and R. Salvador, J. Stat. Phys. 44, Issue 5-6 1986) 985.
  • [39] G. Marsaglia, J. Stat. Software 8, 14, (2003) 1.
  • [40] D. Browne, ”Quantum computation: Model versus machine”, Nature Physics 10 (2014) 179.
  • [41] J. A. Smolin and G. Smith, ”Classical signature of quantum annealing”, preprint arXiv:1305.4904 [quant-ph] (2013).
  • [42] S. W. Shin, G. Smith, J. A. Smolin and U. Vazirani, ”How Quantum is the D-Wave Machine?”, preprint arXiv:1401.7087 [quant-ph] (2014).
  • [43] E. P. Wigner, in Conference on Neutron Physics by Time-of-Flight (Oak Ridge National Laboratory Report No. 2309, 1957) p. 59.
  • [44] M. Znidaric, Phys. Rev. A 72 (2005) 052336.
  • [45] H. G. Katzgraber, F. Hamze and R. S. Andrist, "Glassy Chimeras could be blind to quantum speedup: Designing better benchmarks for quantum annealing machines", Phys. Rev. X 4 (2014) 021008.
  • [46] W. Vinci, T. Albash, A. Mishra, P. A. Warburton and D. A. Lidar in "Distinguishing Classical and Quantum Models for the D-Wave Device", arXiv:1403.4228 [quant-ph] (Submitted on 17 Mar 2014).
  • [47] V. Choi in "Adiabatic Quantum Algorithms for the NP-Complete Maximum-Weight Independent Set, Exact Cover and 3SAT Problems", preprint arXiv:1004.2226 [quant-ph] (Submitted on 13 Apr 2010).