<<

arXiv:quant-ph/0605030v3 11 Aug 2007 TOGYUIESLQATMTRN AHNSADINVARIANCE AND MACHINES TURING QUANTUM UNIVERSAL STRONGLY lxt,UieslQatmCmue,QatmKolmogorov Quantum Problem. Computer, Halting Complexity, Quantum Universal plexity, a lasb fetvl eopsdit lsia n a and classical a into strin decomposed effectively input part. an be spac quantum in halting encoded always information orthogonal can the mutually that behavi of show halting notion and their the of introduce analysis We thorough u a only including UQTM QTMs, the of choice constant. et the additive on Berthiaume an depends by to i.e. defined invariant, is as for al. QTM complexity other Kolmogorov steps. every quantum time simulate of can shown number have preassigned that but who UQTM arbitrary, Vazirani a an and is Bernstein there by that QTM work other extends every This halted simulate has QTM can other that the (UQTM) machine ing eln(-al [email protected]). (e-mail: Berlin navne hc sdfcl oaheei h unu case. quantum the in achieve computation to the difficult of steps is time which does of advance, paper number in the this quantum know th in to is constructed need study not difference QTM to universal” basic “strongly needed The differen the is theory. a is information which This algorithmic universality, lengths. program of of notion sense the in universal the especially complexity, BQP. computational class complexity quantum foundati study the provides to result every that simulates remarkable QTM efficiently This a it QTM. exists the that possible sense there out the that in worked proved universal and [3] is quantum idea detail Vazirani a more earlier and in even of Bernstein theory an [2]. model on Feynman first In elaborating the by the realm. (QTM), generalize proposed to Turing the [1] done to Deutsch been computation 1985, universal has of work concept much years, recent respectively. algorith and theory complexity computi information computational general in possible as every study once, at for to device valid opportunity computation the of techno properties provided computer it of modern Moreover, notion of simu- ogy. This foundation can machine. the that computing laid universality possible (TM), other machine every Turing late universal the device, O .Mulri ihteIsiueo ahmtc,TcnclU Technical Mathematics, of Institute the with is M¨uller M. togyUieslQatmTrn ahnsand Machines Turing Quantum Universal Strongly ne Terms Index for framework mathematical new a on based is that proof proof Our rigorous a give we result, this to corollary a As Abstract nti ae,w hl hwta hr xssaQMta is that QTM a exists there that show shall we paper, this In in theory information quantum of development the to Due newsteisgtta hr sasnl computing single a is there that sci- insight computer the of was breakthroughs ence fundamental the of NE W hwta hr xssauieslqatmTur- quantum universal a exists there that show —We QatmTrn ahn,Klooo Com- Kolmogorov Machine, Turing —Quantum naineo omgrvComplexity Kolmogorov of Invariance .I I. n hnhl tefwt rbblt one. probability with itself halt then and NTRODUCTION iest of niversity aksM¨uller Markus other until our. mic on ng es at l- p g FKLOOO OPEIY(UUT1,20)1 2007) 11, (AUGUST COMPLEXITY KOLMOGOROV OF t usinwe ecncnie T shaving as QTM a consider can we to. when pointing is question head the where cell tape single amplitude the transition local a by determined aecls h T sawoeeovsuiaiyi discrete in the unitarily along evolution evolves time moves whole unitary that (global) a The head as steps. tape time QTM single The a cells. and tape control, a tape, .QatmTrn ahnsadterHligConditions Halting their and Machines Turing Quantum A. amplitude on transition based local has a is of [6] which instead definition Benioff Hamiltonian different local evolution. slightly a time transition a QTM’s unitary out worked a in that gave rele- results who conditions Additional function [5], sufficient [4]. Nishimura and and Gruska necessary Ozawa by includes book literature the vant see Vazirani, and iial oacasclTM classical II Subsection a in to detail in Similarly model their describe We Vazirani. rhgnlt h atn tt taytime any at state halting the to orthogonal o prilrcriefnto from function recursive “partial for ecnrprs hsdfiiinas definition this rephrase can We input atn time. halting uscinI-) hr saspecified a is space there Hilbert II-B), finite-dimensional Subsection the on state H mixed some is { up( supp o otiptqbtstrings qubit input most for codn o[] esyta h QTM the that say we [3], to According ento sueu n aua,a es o h ups to purpose the this for that least below at argue complexity. We natural, Kolmogorov paper. quantum and [3], study this useful Vazirani in is and use t get definition Bernstein detail also not by in we will analyze halting time We which rather for [11]. unitary but definition [10], discussion, with simple this [9], compatible into [8], deep is [7], too this e.g. how see evolution, and input some ..tecnrlis control the i.e. n ilb oeabtaynumber arbitrary some be will nsm tt otie ypriltaeoe h l h othe the all denote the we over which trace QTM) partial the of by parts (obtained state some in λ, h 1 C q hr a enavvddsuso nteltrtr nthe on literature the in discussion vivid a been has There o opc rsnaino h eut yBernstein by results the of presentation compact a For u icsinwl eyo h ento yBrsenand Bernstein by definition the on rely will discussion Our ngnrl h vra of overlap the general, In ups QTM a Suppose uisfor euetetrs“uigmcie T)ad“optr synony “computer” and (TM) machine” “Turing terms the use We 0 f , | htdsrbstecnrl ydfiiino T (see QTM a of definition By control. the describes that 1 M | , M ψ 00 C T i C t . . . , ( if | ( ψ | ψ } i t ) i eoe h nt iaystrings. binary finite the denotes | )) ieses h control The steps. time q f i | ⊥ 1 = exactly M q and f uso oeqatminput quantum some on runs i ..tecnrlsaei exactly is state control the i.e. , ntefia tt ttime at state final the in 1 h M | ψ T ossso ninfinite an of consists QTM a , q { f i 0 C t between | hr ilb otime no be will there , , M ( 1 | } ψ C ∗ t i M ( ) to | ψ M ihtefia state final the with C nlstate final t { C i 0 M eoadoe Hence, one. and zero ( ) C T , | | δ ψ 1 q ( of } f | at ttime at halts i hc nyaffects only which ψ ∗ T < t ) i ,where ”, ngnrl this general, In . M i U 0 = = ) scompletely is ilte be then will | q f eoethe before halted ∀ H ∈ i { | q T. < t 0 T f , T | mously ψ 1 ih and , T } i ∈ | q ∗ q -B. . f on on he C f of N = | i r . , STRONGLY UNIVERSAL QUANTUM TURING MACHINES AND INVARIANCE OF KOLMOGOROV COMPLEXITY (AUGUST 11, 2007) 2 such that the aforementioned halting conditions are satisfied. are quantum operations, which is a very useful and plausible We call those qubit strings non-halting, and otherwise T - property. halting, where T N is the corresponding halting time. Even more important, at each single time step, an out- In Subsection∈ III-A, we analyze the resulting geometric side observer can make a measurement of the control state, structure of the halting input qubit strings. We show that described by the operators q q and 1 q q (thus | f ih f | − | f ih f | inputs ψ with some fixed length n that make the QTM M observing the halting time), without spoiling the computation, | i (n) halt after t steps form a linear subspace (t). Moreover, as long as the input ψ is halting. As soon as halting is M | i inputs with different halting times are mutuallyH orthogonal, detected, the observer can extract the output (n) (n) from the output track (tape) and use it for further quantum i.e. M (t) M (t′) if t = t′. According to the halting conditionsH given⊥ H above, this is6 almost obvious: Superpositions information processing. This is true even if the halting time of t-halting inputs are again t-halting, and inputs with different is very large, which typically happens in the study of Kol- halting times can be perfectly distinguished, just by observing mogorov complexity. Consequently, our definition of halting their halting time. has the useful property that if an outside observer is given In Figure 1, a geometrical picture of the halting space some unknown quantum state ψ which is halting, then the | i structure is shown: The whole space R3 represents the space observer can find out with certainty by measurement. of inputs of some fixed length n, while the plane and the Finally, if we instead introduced some probabilistic notion (n) of halting (say, we demanded that we observe halting of straight line represent two different halting spaces M (t′) (n) H the QTM M at some time t with some large probability and M (t). Every vector within these subspaces is perfectly halting,H while every vector “in between” is non-halting and p < 1), then it would not be so clear how to define not considered a useful input for the QTM M. quantum Kolmogorov complexity correctly. Namely if the halting probability is much less than one, it seems necessary to introduce some kind of “penalty term” into the definition of quantum Kolmogorov complexity: there should be some trade-off between program length and halting accuracy, and it is not so clear what the correct trade-off should be. For example, what is the complexity of a qubit string that has a program of length 100 which halts with probability 0.8, and another program of length 120 which halts with probability 0.9? The definition of halting that we use in this paper avoids such questions.

Fig. 1. mutually orthogonal halting spaces. B. Different Notions of Universality for QTMs Bernstein and Vazirani [3] have shown that there exists a universal QTM (UQTM) . It is important to understand At first, it seems that the halting conditions given above are what exactly they mean by “universal”.U According to [3, Thm. far too restrictive. Don’t we loose a lot by dismissing every 7.0.2], this UQTM has the property that for every QTM M input which does not satisfy those conditions perfectly, but, there is some classicalU bit string s 0, 1 (containing a say, only approximately up to some small ε? To see that it is M ∗ description of the QTM M) such that∈ { } not that bad, note that T (1) most (if not all) of the well-known quantum algorithms, (sM , T, δ, ψ ) MO( ψ ) Tr <δ • U | i − R | i like the quantum Fourier transform or Shor’s algorithm, for every input ψ , accuracy δ >0 and number of time steps have classically controlled halting. That is, the halting | i T T N. Here, Tr is the trace distance, and MO( ψ ) time is known in advance, and can be controlled by a is∈ the contentk·k of the output tape O of M afterR T steps| i of classical subprogram. computation (the notation will be defined exactly in Subsec- we show elsewehere [12] (cf. Theorem 3.15) that every • tion II-B). input that is almost halting can be modified by adding This means that the UQTM simulates every other QTM at most a constant number of qubits to halt perfectly, i.e. M within any desired accuracyU and outputs an approximation to satisfy the aforementioned halting conditions. This can of the output track content of M and halts, as long as the be interpreted as some kind of “stability result”, showing number of time steps T is given as input in advance. that the halting conditions are not “unphysical”, but have Since the purpose of Bernstein and Vazirani’s work was some kind of built-in error tolerance that was not expected to study the computational complexity of QTMs, it was a from the beginning. reasonable assumption that the halting time T is known in Moreover, this definition of halting is very useful. Given advance (and not too large) and can be specified as additional two QTMs M1 and M2, it enables us to construct a QTM M input. The most important point for them was not to have short which carries out the computations of M1, followed by the inputs, but to prove that the simulation of M by is efficient, computations of M , just by redirecting the final state q of i.e. has only polynomial slowdown. U 2 | f i M1 to the starting state q0 of M2 (see [3, Dovetailing Lemma The situation is different if one is interested in studying 4.2.6]). In addition, it follows| i from this definition that QTMs quantum algorithmic information theory instead. It will be STRONGLY UNIVERSAL QUANTUM TURING MACHINES AND INVARIANCE OF KOLMOGOROV COMPLEXITY (AUGUST 11, 2007) 3 explained in Subsection I-C below that the universality notion basis for the whole theory of Kolmogorov complexity (see (1) is not enough for proving the important invariance property [13]). Basically, it states that the choice of the computer M is of quantum Kolmogorov complexity, which says that quantum not important as long as M is universal; choosing a different Kolmogorov complexity depends on the choice of the universal universal computer will alter the complexity only up to some QTM only up to an additive constant. additive constant. More specifically, there exists a universal To prove the invariance property, one needs a generalization computer U such that for every computer M there is a constant of (1), where the requirement to have the running time T as cM N such that additional input is dropped. We show below in Section III ∈ C (s) C (s)+ c for every s 0, 1 ∗. (2) that there exists a UQTM U that satisfies such a generalized U ≤ M M ∈{ } universality property, i.e. that simulates every other QTM until This so-called “invariance property” follows easily from the that other QTM has halted, without knowing that halting time existence of a universal computer U in the following sense: in advance, and then halts itself. There exists a computer U such that for every computer M Why is that so difficult to prove? At first, it seems that one and every input s 0, 1 ∗ there is an input s˜ 0, 1 ∗ such can just program the UQTM mentioned in (1) to simulate that U(˜s)= M(s)∈{and ℓ(˜}s) ℓ(s)+ c , where∈{c }N is a U M M the other QTM M for T = 1, 2, 3,... time steps, and, after constant depending only on ≤M. In short, there is a computer∈ every time step, to check if the simulation of M has halted U that produces every output that is produced by any other or not. If it has halted, then halts itself and prints out the computer, while the length of the corresponding input blows U output of M, otherwise it continues. up only by a constant summand. One can think of the bit string This approach works for classical TMs, but for QTMs, there s˜ as consisting of the original bit string s and of a description is one problem: in general, the UQTM can simulate M of the computer M (of length c ). U M only approximately. The reason is the same as for the circuit The quantum generalization of Kolmogorov complexity that model, i.e. the set of basic unitary transformations that can we consider in this paper has been first defined by Berthiaume, U apply on its tape may be algebraically independent from that van Dam and Laplante [14]. Basically, they define the quantum of M, making a perfect simulation in principle impossible. Kolmogorov complexity QC of a string of qubits ψ as the But if the simulation is only approximate, then the control length of the shortest string of qubits that, when given| i as input state of M will also be simulated only approximately, which to a QTM M, makes M output ψ and halt. (We give a will force to halt only approximately. Thus, the restrictive formal definition of a “qubit string”| ini Subsection II-A and of U halting conditions given above in Equation (6) will inevitably quantum Kolmogorov complexity QC in Subsection II-C). be violated, and the computation of will be treated as invalid In [14], it is claimed that quantum Kolmogorov complexity U and be dismissed by definition. QC is invariant up to an additive constant similar to (2). It is This is a severe problem that cannot be circumvented easily. stated there that the existence of a universal QTM in the Many ideas for simple solutions must fail, for example the idea sense of Bernstein and Vazirani (see Equation (1))U makes it to let compute an upper bound on the halting time T of all possible to mimic the classical proof and to conclude that the U inputs for M of some length n and just to proceed for T UQTM outputs all that every other QTM outputs, implying time steps: upper bounds on halting times are not computable. invarianceU of quantum Kolmogorov complexity. Another idea is that the computation of should somehow But this conclusion cannot be drawn so easily, because (1) U consist of a classical part that controls the computation and demands that the halting time T is specified as additional a quantum part that does the unitary transformations on the input, which can enlarge the input length dramatically, if data. But this idea is difficult to formalize. Even for classical T is very large (which typically happens in the study of TMs, there is no general way to split the computation into Kolmogorov complexity). “program” and “data” except for special cases, and for QTMs, As explained above in Subsection I-B, it is not so easy to by definition, global unitary time evolution can entangle every get rid of the halting time. The main reason is that the UQTM part of a QTM with every other part. can simulate other QTMs only approximately. Thus, it will Our proof idea rests instead on the observation that every alsoU simulate the control state and the signaling of halting only input for a QTM which is halting can be decomposed into a approximately, and cannot just “halt whenever the simulation classical and a quantum part, which is related to the mutual has halted”, because then, it will violate the restrictive halting orthogonality of the halting spaces. See Subsection I-E for conditions given in Equation (6). As we have chosen this details. definition of halting for good reasons (cf. the discussion at the beginning of Subsection I-A above), we do not want to C. Q-Kolmogorov Complexity and its Supposed Invariance drop it. The classical Kolmogorov complexity CU (s) of a finite bit Instead of (1), a stronger notion of universality is needed, U string s 0, 1 ∗ is defined as the minimal length of any namely a “strongly universal” QTM that, as explained computer∈ program { } p that, given as input into a TM M, outputs above in Subsection I-B, simulates every other QTM M the string and makes M halt: until the other QTM has halted and then halts itself with probability one, as required by the halting conditions given C (s) := min ℓ(p) M(p)= s . M { | } in Subsection I-A. Then, the classical proof outlined above For this quantity, running times are not important; all that can be carried over to the quantum situation. In this paper, we matters is the input length. There is a crucial result that is the prove that such a QTM U really exists (Theorem 1.1), and as STRONGLY UNIVERSAL QUANTUM TURING MACHINES AND INVARIANCE OF KOLMOGOROV COMPLEXITY (AUGUST 11, 2007) 4

(n) a corollary, the invariance property for quantum Kolmogorov M (τ) that contains ϕ is only a subspace and might have complexity follows (Theorem 1.2). Hmuch smaller dimension| d