{"id":2586,"date":"2015-12-11T20:05:29","date_gmt":"2015-12-12T01:05:29","guid":{"rendered":"https:\/\/scottaaronson.blog\/?p=2586"},"modified":"2016-12-10T04:35:42","modified_gmt":"2016-12-10T09:35:42","slug":"ask-an-unbounded-question-get-an-uncomputable-answer","status":"publish","type":"post","link":"https:\/\/scottaaronson.blog\/?p=2586","title":{"rendered":"Ask an unbounded question, get an uncomputable answer"},"content":{"rendered":"<p>Just when I thought I could relax, as the waters slowly receded from the latest\u00a0D-Tsunami, my inbox and Facebook feed once again lit up with inquiries&#8212;this time, asking me to confirm or deny that\u00a0<a href=\"http:\/\/www.nature.com\/news\/paradox-at-the-heart-of-mathematics-makes-physics-problem-unanswerable-1.18983\">&#8220;A\u00a0Paradox at the Heart of Mathematics Makes a Physics Problem Unanswerable.&#8221;<\/a><\/p>\n<p>Uh-oh!<\/p>\n<p>Luckily for my blood pressure, though, this one turned out to\u00a0refer\u00a0to something that more-or-less\u00a0<em>deserves<\/em>\u00a0the hype. \u00a0In particular, it&#8217;s about\u00a0a\u00a0<a href=\"http:\/\/arxiv.org\/abs\/1502.04573\">phenomenal 146-page\u00a0paper\u00a0by Cubitt, Perez-Garcia, and Wolf<\/a>, which just <a href=\"http:\/\/www.nature.com\/nature\/journal\/v528\/n7581\/full\/nature16059.html\">appeared this week in <em>Nature<\/em><\/a>\u00a0(in condensed form, of course). \u00a0Incidentally, yeah, his name really is\u00a0<a href=\"http:\/\/www.dr-qubit.org\/qubit.php#qubit\">Toby Cubitt<\/a>, pronounced like &#8220;qubit.&#8221; \u00a0He&#8217;s a good guy.<\/p>\n<p>To those\u00a0in quantum computing, Cubitt et al.&#8217;s breakthrough is old news, having already been on the arXiv for almost a year (we&#8217;ve also had a talk at MIT about it). \u00a0The arXiv has created a funny\u00a0phenomenon, where you learn something new and cool, assimilate it, move on, and then a\u00a0year later, everyone is suddenly\u00a0asking you <em>have you seen\u00a0this thing, is it for real<\/em>, etc. etc., just because the thing got some rubber stamp like\u00a0acceptance to <em>Nature<\/em>\u00a0that caused the press to pick it up. \u00a0Like, dude, I was into the undecidability of the spectral gap <em>way<\/em> before it went mainstream.<\/p>\n<p>One more amusing anecdote before we dive into the math. \u00a0In his\u00a0<em>Nature News<\/em> piece popularizing Cubitt et al.&#8217;s result, the writer Davide Castelvecchi quotes <a href=\"https:\/\/en.wikipedia.org\/wiki\/Rebecca_Goldstein\">Rebecca Goldstein<\/a>, the brilliant\u00a0novelist and <a href=\"http:\/\/www.amazon.com\/Incompleteness-Proof-Paradox-G%C3%B6del-Discoveries\/dp\/0393327604\/ref=sr_1_1?ie=UTF8&amp;qid=1449878550&amp;sr=8-1&amp;keywords=incompleteness+goldstein\">biographer of Kurt G\u00f6del<\/a>, as saying: &#8220;Turing thought more clearly about the relationship between physics and logic than G\u00f6del did.&#8221; \u00a0Here&#8217;s what happened: <em>Nature News<\/em> wrote to Rebecca\u00a0to ask what\u00a0G\u00f6del&#8217;s own thoughts\u00a0were about the relation between undecidability and\u00a0physics. \u00a0Rebecca passed the request along to me. \u00a0So I wrote back to her, arguing that they might\u00a0just\u00a0as well ask what <em>Turing<\/em> thought, since the Cubitt et al. result is &#8220;really&#8221; about Turing-undecidability (with G\u00f6del-undecidability just an automatic corollary), and at any rate:<\/p>\n<p style=\"padding-left: 30px;\">I also think that <span class=\"il\">Turing<\/span> thought more clearly about the relationship\u00a0between logic and physics than G\u00f6del did (indeed, G\u00f6del himself said\u00a0that it was only <span class=\"il\">Turing<\/span>&#8216;s analysis of the notion of computability, in\u00a0terms of actual physical machines that one could imagine building,\u00a0that convinced him that computability had been properly defined).<\/p>\n<p>Rebecca passed that\u00a0back\u00a0to <em>Nature News<\/em>, agreeing with it, and then at some point the quote became hers. \u00a0Far from being miffed about this, I consider having my forgettable\u00a0words attributed to a genius like Rebecca to be one of the great honors of my life. \u00a0(By pure coincidence, she and I are having lunch next week; hopefully this will butter her up.)<\/p>\n<p>So, OK, let me restate Cubitt et al.&#8217;s great theorem in less pop-sciencey\u00a0terms than <em>Nature News<\/em>\u00a0used. \u00a0(You could also just read the <a href=\"http:\/\/arxiv.org\/pdf\/1502.04573v2.pdf\">paper<\/a>&#8216;s intro, which is exceedingly clear, but what the hell&#8212;I&#8217;m here to serve.)<\/p>\n<p>Suppose you have two-dimensional\u00a0material made of a bunch of stationary particles, each with local Hilbert space dimension d, which are arranged on an L\u00d7L square grid (so, there are L<sup>2<\/sup> particles in all). \u00a0And suppose there&#8217;s some fixed\u00a0d<sup>2<\/sup>-dimensional\u00a0Hamiltonian h, with\u00a0a local copy h<sub>i,j<\/sub>=h\u00a0acting on each\u00a0neighboring pair of particles (i,j). \u00a0(I.e., the material\u00a0is <em>translationally invariant<\/em>, with the same laws of physics\u00a0acting throughout.) \u00a0Let H be the total Hamiltonian: that is, the sum of the h<sub>i,j<\/sub>&#8216;s over all the neighboring (i,j)&#8217;s.<\/p>\n<p>Then a huge fraction\u00a0of all of physics&#8212;quantum field theory, condensed-matter physics, you name it&#8212;can be summarized as, <em>you&#8217;re trying to figure out the eigenvalues and eigenvectors of H<\/em>. \u00a0The lowest\u00a0eigenvalue, \u03bb<sub>0<\/sub>, tells you your\u00a0material&#8217;s\u00a0<em>ground energy<\/em>, while the higher eigenvalues, \u03bb<sub>1<\/sub>,\u03bb<sub>2<\/sub>,&#8230;, tell you the next discrete energy levels that the material\u00a0can jump up to. \u00a0The corresponding eigenvectors tell you which quantum states the material\u00a0is sitting in when it\u00a0has these energies:\u00a0the <em>ground state<\/em> v<sub>0<\/sub>, and the <em>excited states<\/em> v<sub>1<\/sub>,v<sub>2<\/sub>,&#8230; \u00a0Those, in turn, determine basically\u00a0everything you could want to know about the material: whether it superconducts, etc. etc.<\/p>\n<p>Of course, the eigenvalues and eigenvectors will\u00a0depend on the lattice size L. \u00a0Equally obviously, for any <em>fixed<\/em> L, you could in principle compute all the eigenvalues and eigenvectors by just diagonalizing some huge-ass matrix. \u00a0(That matrix being\u00a0H.) \u00a0But physicists are usually more interested in the <em>limiting behavior<\/em>\u00a0as L goes to infinity. \u00a0One of their most basic\u00a0distinctions is: the material is <em>gapped<\/em> if \u03bb<sub>1<\/sub>-\u03bb<sub>0<\/sub>, the difference between the first excited energy and the ground energy, converges to some positive value or even grows with L as L\u2192\u221e. \u00a0It&#8217;s <em>gapless<\/em> if \u03bb<sub>1<\/sub>-\u03bb<sub>0<\/sub>\u00a0converges to 0 as L\u2192\u221e. \u00a0(Actually, Cubitt et al. use more technical definitions of both of these concepts, but we&#8217;ll ignore that.)<\/p>\n<p>Cubitt et al.&#8217;s theorem now says the following: <strong>for some fixed, constant local dimension d, there is no algorithm that takes as input the local Hamiltonian h (say, as a d<sup>2<\/sup>\u00d7d<sup>2<\/sup> matrix of algebraic numbers), and that decides whether the material is gapped or gapless. \u00a0Indeed, you can reduce\u00a0the halting problem to that problem, in such a way that the material will be gapped if your Turing machine halts, or gapless if it runs forever.<\/strong><\/p>\n<p>As an immediate corollary, there&#8217;s some 2D\u00a0material&#8212;characterized by a translationally-invariant local Hamiltonian h on particles of local dimension d&#8212;such that whether the material is gapped or gapless is independent of the axioms of ZF set theory, or whatever else your favorite axioms might be. \u00a0(Proof: build a Turing machine M that halts if and only if it finds an inconsistency in set theory, then run Cubitt et al.&#8217;s\u00a0reduction from the halting problem. \u00a0By G\u00f6del, if set theory is consistent then it can&#8217;t prove whether M halts or not.)<\/p>\n<p>Cubitt et al. never\u00a0bother to\u00a0work out the local dimension d that suffices for them, but it <em>could<\/em> be worked out, and it&#8217;s probably at least in the tens of thousands. \u00a0Thus, their result leaves open the possibility that there&#8217;s\u00a0an algorithm to decide gaplessness for 2D lattices of <em>qubits<\/em> (i.e., the special case d=2), or other &#8220;reasonably low-dimensional&#8221; quantum systems. \u00a0We simply don&#8217;t know right now. \u00a0Another tantalizing open question is whether there&#8217;s an algorithm to decide gaplessness for <em>one-dimensional<\/em>\u00a0spin chains&#8212;again, even in the special case d=2. \u00a0Right now, the best we have in that direction is a <a href=\"http:\/\/arxiv.org\/abs\/1503.04035\">difficult recent result of Bravyi and Gosset<\/a>, which gives an algorithm to decide gaplessness for one-dimensional, <em>frustration-free<\/em> chains of qubits. \u00a0(Here &#8220;frustration-free,&#8221; an amusing term that does <em>not<\/em> well describe this subject as a whole, means that you can minimize the energy H by minimizing the energies of each h<sub>i,j<\/sub> individually. \u00a0Or, if you think of H as a SAT instance, it&#8217;s satisfiable.)<\/p>\n<p>But while the exact value of d where uncomputability\u00a0kicks in is still up for grabs, it&#8217;s extremely important that d is <em>some<\/em>\u00a0fixed, universal constant, independent of the Turing machine. \u00a0Indeed, as Cubitt et al. point out in their paper, this is the <em>only<\/em>\u00a0feature that makes their new result not a trivial corollary of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Wang_tile\">the uncomputability of Wang tiling<\/a>. \u00a0The latter is a famous\u00a0result from 1966, which says that there&#8217;s no algorithm that takes as input a finite set\u00a0of tiles, and that tells you whether, using\u00a0unlimited copies of each tile, you could cover the entire plane (or equivalently, arbitrarily large finite regions\u00a0of the plane). \u00a0I.e., this is yet another &#8220;natural&#8221; math problem that secretly encodes the halting problem.<\/p>\n<p>The fact that d is fixed also means that, in order\u00a0to\u00a0encode larger and larger Turing machines into the local Hamiltonian h (as you must, if you want\u00a0to embed the halting problem), you need to use <em>more and more bits of precision<\/em>\u00a0(!) in the ~d<sup>4<\/sup> real numbers that define h. \u00a0This then raises a\u00a0question: how do you actually <em>extract<\/em> a description of a Turing machine from the binary expansions of the real numbers that define your\u00a0Hamiltonian? \u00a0To do this, Cubitt et al. use Kitaev&#8217;s phase estimation algorithm&#8212;which, interestingly, is the <em>only<\/em> part of their construction that uses\u00a0quantum mechanics in any way. \u00a0One thing that I&#8217;d love to understand better is whether the phase estimation is really essential here, or whether the analogous <em>classical<\/em> question, with the &#8220;Hamiltonian&#8221; given by a probability distribution over classical constraints, could also be proved to be undecidable for some fixed value of d&#8212;thereby showing that Cubitt et al.&#8217;s discovery\u00a0had nothing to do with quantum mechanics.<\/p>\n<p>(It&#8217;s possible that the answer to this is obvious; I didn&#8217;t think about it deeply. \u00a0Note that if the &#8220;classical Hamiltonian&#8221; is also <em>deterministic<\/em>, then the problem must be decidable for every fixed d, since there are only finitely many possible h&#8217;s, and we could cache all the answers in a lookup table.)<\/p>\n<p>Anyway, it&#8217;s now my professional duty, as the prickly, curmudgeonly blogger I am, to end the post by\u00a0shooing you away\u00a0from two tempting misinterpretations of the Cubitt et al. result.<\/p>\n<p>First, <strong>the result does not say&#8212;or even suggest&#8212;that there&#8217;s any\u00a0real, finite physical system whose behavior is G\u00f6del- or\u00a0Turing-undecidable.<\/strong>\u00a0 Thus, it gives no\u00a0support to speculations like Roger Penrose&#8217;s, about\u00a0&#8220;hypercomputing&#8221; that would exceed the capabilities of Turing machines. \u00a0The reason, again, is that as soon as you fix a lattice size L, everything becomes computable. \u00a0The\u00a0Cubitt et al. result\u00a0applies only to questions about the <em>limiting<\/em> behavior, as the number of particles goes\u00a0to infinity. \u00a0But we already knew lots\u00a0of\u00a0examples of physical systems for which predicting their behavior\u00a0<em>in some infinite limit<\/em> is at least as hard as the halting problem: for instance, the Wang tiles discussed earlier, or Post rewrite systems, or even Turing machines themselves. \u00a0Local Hamiltonians are a profound, nontrivial addition to that list&#8212;one that will be particularly striking to physicists, many of whom calculate the spectral gaps of at least 50 Hamiltonians\u00a0between dinner and dessert. \u00a0But in some sense, there was no <em>a-priori<\/em> reason why a problem this general, about physical systems of unbounded size,\u00a0<em>ought to<\/em>\u00a0have been computable.<\/p>\n<p>Second, <strong>the result does not say that any particular\u00a0question physicists want an\u00a0answer to&#8212;for example, the million-dollar\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Yang%E2%80%93Mills_existence_and_mass_gap\">Yang-Mills mass gap problem<\/a>&#8212;is G\u00f6del-undecidable.<\/strong> \u00a0&#8220;All it says,&#8221; is that the possibility that some real-world question of that kind <em>could<\/em> be\u00a0undecidable\u00a0isn&#8217;t totally closed off. \u00a0The <em>Nature News<\/em> piece stresses\u00a0this latter implication a lot&#8212;as, admittedly, do Cubitt et al.\u00a0themselves. \u00a0But to put things in perspective: four logicians\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Hilbert%27s_tenth_problem\">proved\u00a0around 1970<\/a> that there&#8217;s no algorithm to decide whether an arbitrary polynomial equation has an integer solution, thereby giving a negative solution to Hilbert&#8217;s Tenth Problem. \u00a0Yet with few exceptions, &#8220;working number theorists&#8221; barely even noticed this development, nor was (say)\u00a0Andrew Wiles dissuaded from proving Fermat&#8217;s Last Theorem, by the absence of\u00a0a\u00a0<em>general<\/em> algorithm to do things like what he was trying to do. \u00a0(Indeed, the absence of a general algorithm was shown even earlier\u00a0for equations like FLT, which have variables in the exponent.) \u00a0So I doubt the mathematical physicists who calculate spectral gaps for a living will be any more terrified\u00a0than the number theorists were, to\u00a0learn that they&#8217;ve been laboring their entire lives on the shores of the halting problem. \u00a0&#8220;Good for us, then!&#8221; they could rightly reply. \u00a0&#8220;Maybe\u00a0our jobs won&#8217;t be so easy to automate.&#8221;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Update (Dec. 20):<\/strong><\/span> My colleague Seth Lloyd calls my attention to a <a href=\"http:\/\/journals.aps.org\/prl\/abstract\/10.1103\/PhysRevLett.71.943\">PRL paper of his from 1993<\/a>, which <em>also<\/em> discusses the construction of physical systems that are gapped if a given Turing machine halts and gapless if it runs forever. \u00a0So this basic idea has been around for a while. \u00a0As I explained in the post, the main contribution of the Cubitt et al. paper is just to get undecidability into &#8220;the sort of system\u00a0physicists could plausibly care about&#8221; (or for which they could&#8217;ve plausibly hoped for an analytic solution): in this case, 2D translationally-invariant nearest-neighbor Hamiltonians with bounded local dimension.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just when I thought I could relax, as the waters slowly receded from the latest\u00a0D-Tsunami, my inbox and Facebook feed once again lit up with inquiries&#8212;this time, asking me to confirm or deny that\u00a0&#8220;A\u00a0Paradox at the Heart of Mathematics Makes a Physics Problem Unanswerable.&#8221; Uh-oh! Luckily for my blood pressure, though, this one turned out [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[5],"tags":[],"class_list":["post-2586","post","type-post","status-publish","format-standard","hentry","category-complexity"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/posts\/2586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2586"}],"version-history":[{"count":10,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/posts\/2586\/revisions"}],"predecessor-version":[{"id":2611,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/posts\/2586\/revisions\/2611"}],"wp:attachment":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}