Cook-Levin for Physicists

It’s a late night, and you’re getting tired. You’ve just written down a very complicated and large Hamiltonian. Sure it’s a classical Hamiltonian, but it’s still rather beastly. A big beast which takes as input the configuration of a bunch of subsystems and outputs and energy of the system when it is in that configuration. And like all respectable Hamiltonians it’s got some of the standard features. It is local in nature and, this being the good old classical world, if someone gives you a classical configuration you can go through and calculate all of these local contributions to the energy and figure out the total energy. Your Hamiltonian isn’t very uniform, so you really do have to go through and calculate what each of these terms are. A long calculation, but not one you’re much worried about carrying out. And really it isn’t just a Hamiltonian for one system, but for a system of growing and growing size. But really this doesn’t bother you much as doing things like calculating the energy of a configuration doesn’t seem to grow too fast as a function of the system size.
On the other hand, what you’re most interested in, what you’re doing up so late at night, is that you really want to find the ground state configuration of this Hamiltonian (or if there are multiple ground states, at least one of them.) Actually since it is late at night you’ll settle for even less. You know that for each term in your Hamiltonian which couples a few subsystems, you can go through each local configuration on these few subsystems and calculate the possible energies that comes from this term. From this list we can write down the minimal value of the energy coming from this term. And because it’s late at night, what you really want to know is not necessarily the ground state, but instead you want to know whether the ground state energy of the system is the sum of all of these minimum energies. Can each separate term in you energy take on its minimal value?
Well it’s late and you’ve downed more coffee than a truck driving mathematician, but even in this state you realize that this isn’t going to be an easy problem. But wait! Who is that sitting across the room from you? You didn’t notice him come in. Strange. What? He’s trying to say something to you. A bunch of numbers he’s reciting. Hmm, strange. Those numbers seem to be related to configurations of the local subsystems in your Hamiltonian. Strange. Okay, well you are a physicist, so your halucinations are not usually what other people would call normal. Well you’d better write the configuration down before your halucination ends. Okay, now you’ve got a configuration for your system. What to do with it? What to do with it? Oh, obvious! Calculate its energy. Cool. Now what? What about calculating whether this energy minimizes each individual term in your Hamiltonian? Hmm, that’s a simple computation. So do it! What? Why yes, yes it is a configuration which minimizes each term in your Hamiltonian! Wonder of wonder this halucination has done all your hard work for you and given you a ground state which minimizes each individual term in your Hamiltonian. And while you know you are halucinating, you are certain that the calculation is true, because even during periods of mental inebriation, you’re calculating abilities are first rate and since you checked each that each term individually attained its minimal value. Holy moly, what an awesome halucination. Instead of having to try every single configuration (a task which scaled elephantly, err exponentially it is late you know), or even being smart about doing the calculation in a clever fashion, this halucination has provided you with a witness to the fact that your energy can minimize each term individually and all you have to do is do the individual local energy calculation. You need to start having more dreams like this.
A few weeks later.
You’ve written down your Hamiltonian and know that it has a ground state which minimizes each term in the Hamiltonian. Fame and fortunate has, strangely, however not descended upon you for this great achievement. However, for each Hamiltonian you write down it seems that you can put yourself in this halucinatory state and then low and behold a magical proof appears about whether your system has a configuration which minimizes each term individually. Sometimes, of course there isn’t such a configuration and your halucinations produce configurations which you quickly calculated don’t have minimal energies for each term. You’re never fooled and always right. Life ain’t that bad.
A few months later.
Why don’t these physicists recognize your genius? Sure it was a halucination which led you to your ansatzes, but I heard that Bethe guy was on something when he came up with his ansatz too. Uh oh, time to apply for faculty jobs. This might get ugly.
A few years later.
Ouch. Well that physics thing didn’t pan out. But this new computer industry is kind of interesting. Just the other day you were fiddling around with an interesting little simulator. This thing simulated what is called a Turing machine. Now why the computer scientists are so obsessed with this Turing fellow and his simple machine, you certainly can’t fathom. But it’s a cool little gadget. Basically you’ve got yourself a big long tape where you can write symbols into little cells and a machine which moves from cell to cell, writes into cells, and changes its internal configuration in a manner depending on what the current cell reads and the internal configuration of the machine. There is this big old table that you can write down all the information about the Turing machine in a nice small manner. It says, if you read symbol X and your internal state is Y, then write symbol S on the tape, move according to rule R, and change your internal state to S. Cool little gadgets these Turing thingamabobers.
So now that you’re employed in the computer industry you get to spend you days programming these little Turing thingamabobers. Hours of your day spent toiling over the design of the table. Yes, it is a painful existence. But the pay is better than in physics, so that is some consolidation. And your boss doesn’t make you work too many hours. On the other hand he wants you to design Turing thingamagigs that do their dastardly calculations pretty quickly. Like just recently you were designing the Turing machine for Jet Blue’s airline and employee scheduling machine and you had a great design, but your boss complained that it worked fine for a few airplanes in the fleet, but as the number of airplanes and employees grew, your algorithm scaled fairly poorly. Okay, well horribly poorly, like it would take the age of the universe to finish calculating for today’s airline fleet. And so you got chewed out by your boss who yelled the word “polynomial” at you so many times that you finally got the point that he wanted Turing machines that finished in a time polynomial in the number of airplanes and employees. What a strange concept to see those polynomials which were your great friends when calculating trajectories, show up between swear words in your boss’ family unfriendly diatribe.
So now you spend hours in your office each day, writing these Turing tables, and watching your Turing machines calculate away. Ticking away the moments that make a Turing day, you fritter and waste the hours in an offloaded way. Mostly you spend your time with the machines which have a polynomial running time, the ones your boss really likes. I mean you really don’t want to tick him off and have him shout exponential swear words at you. Now for a given problem your boss gives you, you come up with a little Turing machine which says, this problem has the answer “yes” or “no.” Your boss is big on these types of answers, you’re not sure quite why but perhaps it has something to do with his childhood spent communicating in a secret binary code with the surogate robotic sister his parents had designed for him after they learned they couldn’t have any more children.
Even more years later
Well the computer job has been real solid. You can retire now since your Turing machines helped bring peace between Facebook and MySpace. But lately you find your mind wandering. You’ve been thinking about these nice polynomial running time Turing gadgets which you design. You run the program and it tells you “yes” or “no.” Reminds you somehow, about what…. About your halucinations? Of course!
So you think a little bit more about this analogy. Before you had a Hamiltonian and could verify yes or no whether it had a ground state which minized each term individually. Now you have a Turing table which answers yes and no. Might there be a connection. Oh, this is going to hurt your head.
A few hours later
You’ve been daydreaming about these Turing gadgets all day now. Days spent lounging on the beach beside your mansion since, yeah, your computer job hit paydirt. You imagine the big long Turing tape with some initial scribbles on it representing the problem your boss gave you. Then you picture the Turing machine hacking away at this tape, creating for each of its new steps, a new long tape, perhaps with new symbols, but at one time step later. You imagine in your head the entire history of the Turing tape. You imagine also along this tape a history of the location of the Turing machine along with a record of the internal state of the machine on this space time diagram.
How might it be possible to connect this to your Hamiltonian hallucinations? Might it be possible to write down a Hamiltonian which has or does not have a ground state which minimizes each term in the Hamiltonian individually but this is related to that spacetime moviescript you were just imagining? First you imagine that the spacetime diagram is now a space-space diagram. Then you think about your Turing table. It is a specification of valid transitions your Turing machine can make. And if you ponder that spacetime diagram made up of Turing tape cells and Turing tape locations and Turing tape internal states, you think: well I could give to configurations in my space-space which have entries on the table zero energy and all other configurations in my space-space not in the table (invalid evolutions) energy one. And I could do this in a totally local way on this space-space diagram, so that the Hamiltonian I would write down would be local and only act on a few subsystems. Further I could set up the Hamiltonian at the beginning slice of time, which is now, say, the bottom slice of space in my space-space picture, such that the intial state of the Turing machine and Turing tape and Turing location only has energy zero and other states have energy one. Since I know this initial state I can write down that Hamiltonian locally. Finally at some point we’ll want an answer so we can assign an energy penalty for being in that last terminating configuration and outputing “no”, but if we are in that output configuration and outputing “yes” we can assign no energy penalty. Easy enough.
Bam. Cool! So it is possible to take your Turing time which runs in polynomial time along with its polynomial sized input and convert it to a Hamiltonian which is local and acts on a few subsystems at a time. Then answering whether that Turing machine will answer yes or no is the same as solving that problem your halucinations solved ages ago when you were poor and a physicist. Of course answering that question without your powerful halucinations isn’t possible without the magic of you going into a trance, but still! I mean all this work your boss has been having you do is related to a problem about the existence of a certain type of ground state of a Hamiltonian. Take that(!) computer science day job that has been so lucrative.
“Deus Ex Machina” years later, graveside
Well it’s been a good life. Why can you still hear me, aren’t I dead? Yes I’m dead, but this is a blog post so why be constrained by reality? Cool, it now seems that the people gathered for my funural are all giving some speaches about me. Better listening in.
“He was an obstinate man. So obstinate I always thought that when Death came to claim him he would plug his ears so as to escape Death’s entropic death chant. And probably stick his tongue out at Death at the same time. What killed him? We shall never truely know, I think, and the story is so strange. A few of us were sitting around talking about the golden days of classical computers and somehow the subject of complexity classes came around. Here was an icon of the MySpace/Facebook Middle Internet peace agreement, and he had never heard of the complexity class NP. So we patientily explained to him the class of problems which could be efficiently verified in polynomial time. And how all the problems in NP could be converted to a problem called satisfaction having to do with the whether a boolean function had an input which evaluated to one. And that this satisfaction problem itself was in NP. Everything in NP was effectively a SAT and every SAT was in NP. And he sat there tapping his head. Chanting ‘SAT was my Hamiltonian problem.’ And then he kicked over dead. So strange. Does anyone know what this Hamiltonian problem is? What Hamiltonian path was he speaking of? It must have been an interesting problem. Because he died with a smile on his face.”
Inspired by the Optimizer’s ‘Physics for Doofuses’ whose opposite is clearly ‘Computer Science for Physicists’.

I Dream of Computation

I dream of computation.
Our generous universe comes equiped with the ability to compute. That it didn’t have to be this way is, of course, a truism. An unspeakable truism–for that it is this way, is what allows us to even ask the question of why it is this way. But down this rabbit hole I sometimes drop. And a haunted world I find. For what could be worse than a universe in which computation is not possible? What a nightmare world, one which allows for, at most, the basic order of the universe to transform impotently. No computers is an insignificant consequence. No life, now that is larger. Even grander, nothing digital nor coarsely analog that is not uniform and changable in ways which aren’t transparently tractable. So totally random or so ploddingly deterministic, with no blemeshes. For me this world seems like an absolute hell. The perfect embodiment of the boring. A universe made up of a solved problem.
And yet, dispite the depressing thought of realities without computation, even our universe is not so generous as to make computation the norm. Certainly, even if life is prevaliant all throughout our galaxy, large chunks of our universe seem devoid of computing anything at all interesting. When I look up at the night sky and the light of photons traveling years in my reference frame strikes my eye, what useful computation has been performed? The universe as a computer is the other truism, this one equally dangerous. For computation is more than just dynamics. More than just that photon going its merry way across the universe, refracting, reflecting, dying as it passes beyond my eye lash. Computation, or at least the kind of computation worth caring about, is more than just trajectories through spacetime, it is instead a robust movement of something signficant. Just because the universe is doing a calculation, if we cannot be privy to it, then it does not count as computation, at least for mere mortals like us. The lesson of chaos, the lesson of statistical physics, the lesson of fault-tolerant computation, is that that generous gift called robust computation is a rare one in our universe.
Which leads us to yet another alternative reality, pressing further along the ladder of possibilities. This universe is the one which is the opposite of a world in which computation is not possible. A universe in which all that exists is perfect robust computation. A world in which noise is not possible, everything is digital, and a robust computation. In this world that photon which travelled across the universe did perform a computation. And this computation will be robust to any inhomogeneity it has experience in its life. Those reflections and refractions which could previously lead it to wobble, unstable, on the brink of a computation, have now all been eliminiated, or at least immunized against. Indeed in this overly computational universe, your own path in life would be so immunized against interaction with things outside of yourself that it is not clear that competing computational entities could even arise in this universe. Every competing entity, if it is to obey our law of perfect robustness, must be part of yourself or it will possibly violate your own robustness. Indeed, we may as well call this the universe of the Borg, that great monolithic enemy in Star Trek, but where, by definition and in contrast to in Star Trek, everything has been assimilated.
Three universes, ours, a world where nothing computes, and a world where everything robustly computes. And what I dream about at night is, of course and in total abhorance of the part of me which hates any-centric reasoning, how wonderous our Goldilock’s of a universe seems to be. But what keeps waking me up from this wonderful dreaming, in this world were robust computation seems the true jewel, is whether this idea, this form of a computational universe, shows up in the heart of the theory of our universe or the theory of our computers.
Questions. What role does error correction play in the fundamental physics of our universe? What role does statistical physics play in our understanding of complexity classes? For both these questions we have peripheral answers, indeed when I pose these questions in this forum, I am immediately given by commentors examples of both contributions. But these are, at best, small hints. Is there a deep and wonderous connection, one which in a hundred years we will find as obvious as the idea that mathematics can be used to describe how our universe operates? Of all the universes I imagine, when I try to turn the deity dial from a universe with no computation to one with perfect robust computation, do I find a continuum or islands of stability, with our universe being one of these islands? Is the universe the way it is because of the properties of how any universe could possible support or not support computation?
Through nightmares of boredom and perfection fairytales, to perturbations around our own universe, I dream of computation. And wonder where this dream’s computation about computation will finally lead.

Rumors

Higgs rumor spreads to Slate.com. Me, I want to start a rumor that a Manhattan project for quantum computing has already built a large scale quantum computer (now wouldn’t that make a certain company which has built a small special purpose analog classical computer mad.)

GQI Newsletter Online

The latest newsletter for the APS topical group on Quantum Information, Concepts and Computation is now available here. But you knew that already because your a member, right?

Protect Me From What I Want

Quantum error correction is a beastly miracle: an astounding discovery which lets us dream of a future quantum computer but which quickly turns into a nightmare when we think of actually implementing it in the lab. Motivated in part by this, a large number of people have been thinking about ways to considerably simplify the problems of building a fault-tolerant quantum computer by designing physical systems where error correction is more a part of the natural dynamics of these systems. This approach is more in keeping with our classical computers where fault-tolerance is built into the physics of the devices we use to compute. There are now many different sketches of implementations of these ideas, ranging from very simple systems designed to energetically combat single qubit errors (quant-ph/0012018), to gapped systems which allow for topological quantum computation (quant-ph/9707021), to four dimensional systems which are fully fault-tolerant (quant-ph/0110143.) But these proposals are all just theory right now. What is interesting is to contemplate the actual physical implementation of these systems in the lab.
Along these lines, a lot of interesting ideas have been proposed. Some of these have been in condensed matter systems, like for example in engineered superconducting systems (cond-mat/0407663 and cond-mat/0111224). At the same time there has been a lot of interest in also engineering these systems in atomic and molecular systems. These proposals including using polar molecules in lattices (quant-ph/0612180, Nature Physics 2, 341 (2006)), engineering the appropriate interactions in optical lattices (cond-mat/0210564), systems of trapped ions (quant-ph/0509197, etc, etc. But care must be taken! Especially when you have to work to get the interaction you need in order to obtain the robustness offered by these energetic schemes.
Case in point is a paper which appeared today on the archive, “Energy protection arguments fail in the interaction picture” 0705.2370 by Ken Brown from Georgia Tech. The basic idea behind the energy protection schemes is as follows. Suppose you have a system whose ground state is a quantum error correcting code. Then you can encode quantum information into these energy levels. If you design your system Hamiltonian correctly then it is possible that single qubit errors, for instance, always take you out of this error correcting code space, i.e. that such single qubit errors all correspond to transitions from this ground state to higher energy excited states. More generally you can design systems, like Kitaev’s toric code, whose ground state can only be excited by errors on a large number of qubits. The basic idea is then that if your environment is cold enough, then the process which would normally cause decoherence are surpressed since EVERY single qubt error (or up to the number of errors the error correcting code can detect minus one) will take the system from the ground state to an excited state of higher energy. In contrast for most physical qubits it is possible to have errors (phase errors) which cause the phase of a quantum system to change without exchanging energy between the system and environment. [As an aside: decoherence when it is perturbative likes to preserve the separate energies of a system and its environment, thus decoherence can either be heating, cooling, or more insideously, these phase errors. Just making a system degenerate doesn’t help you protect against errors since then all errors are these insideous phase errors.] For an example of this type of argument see (quant-ph/0012018)]
Okay, so far so good, hopefully. Now suppose that you want to engineer such a system in an ion trap. Indeed, for example, in quant-ph/0703270, the authors consider engineering a system known as the long range quantum compass model in ion trap quantum systems (a long time ago the short range version of quantum compass model also appeared in the thesis of a lunatic thinking along similar lines.) The way that they achieve the necessary two qubit interactions to implement this model is to use what I like to call the Sorrenson-Molmer interactions (see quant-ph/0002024.) In particular it is possible to take ions in an ion trap, and apply lasers to the ions such that the internal energy levels of the ions couple to the motional state of the ions, and, if you do this just right, you can engineer two qubit effective interactions like, say Ising interactions along X and Y directions: [tex]$X otimes X$[/tex] or [tex]$Y otimes Y$[/tex] in qubit language. Now it turns out that the quantum compass model uses exactly these different competing Ising bonds. So the idea of quant-ph/0703270 is exactly to engineer the quantum compass model in these ion trap systems.
But wait! There was a bold word in that last paragraph. Effective. In particular in the Sorenson-Molmer scheme what you end up doing is showing that in the interaction picture of the ions the effective interaction is the requisite Ising terms along the appropriate directions. What does this mean, in the interaction picture? It means that there is a rotating frame for the ions (rotating both the internal degrees, i.e. your qubits, and the motional degrees of freedom, i.e. the bus) where the interaction looks like the Ising terms. But no system is isolated, so an important question to ask is what does the environment see in this frame of reference. In particular, since you are going to use these interactions in order to protect your system energetically, the arguments about protecting qubits by keeping the environment cold better work out.
And do they? Sadly, no and this is the content of 0705.2370. In particular if you make your effective interaction in the interaction picture, then you’d better look at you system environment coupling which you are tyring to protect against in this picture. Now when you do this what you find out is that the system environment coupling gets changed in an important way. In particular in this frame, the energetic arguments you make about decoherence being either cooling, heating, or phase-ish errors get modified (this argument is basically the rotating wave approximation.) Indeed what you discover is that there are interactions where you excite from the ground state in the interaction picture to a higher energy state and get a change in the zero temperature environment but still conserve energy. What is this process back in the non-interaction picture? Nothing more than spontaneous emission from your ion energy levels. Doh! [As an aside I should note that this effect occurs because the coupling you engineer is much much weaker than the bare energy levels of you ion.]
So the short of the long of this story is that because the interaction you engineer is created in the interaction picture, the arguments about how the system interacts with its environment gets modified. This in effect is a huge problem for proposals like quant-ph/0703270. Further it is a big problem for proposal which try to use Sorenson-Molmer type gates for doing things like simulation of many-body quantum systems (the system won’t thermalize to the thermal state of the interaction you are trying to create) and quantum adiabatic computation (same problem.) But to learn that you’d best check the details of 0705.2370.

They Fired the Quantum Physicist!

Quantum physicist fired from BBC Apprentice TV Show. She was fired by Sir Alan Sugar in a highly non-neutral manner

Delivering his final verdict, Sir Alan said: “This is the real world love, this is not your scientific protons and neutrons.
“I’m wondering, have I got another one here who should really stick to what they know? … You’re fired!”

Um, First?

This press release is a horrible bastardization of this cool Science article describing the coherent controlled coupling of flux based superconducting qubits near their optimal bias points. Does everything interesting in quantum computing have to come along with an unreasonable press release? Dude, somebody needs to become the universal vetter for these damn things.
Geordie incites Scott‘s hypometer, but not nearly to the record setting levels of Orion times.

Ketchup-ing

Things that happened while I was off the edge of the Interwebs:

  • Cormac McCarthy (my office neighbor while I was at the Santa Fe Institute) won the Pulitzer for fiction for his novel The Road. Cormac is also (amazingly!) giving an interview on Oprah, which is almost as amazing as Pynchon appearing on the Simpsons.
  • A new branch campus for the University of Washington is moving forward. This is a compromise over a previous attempt by the city of Everett to establish an independent polytechnic, which they hypothetically called the “Washington Institute of Technology” (WIT…you have to have a sense of humor to teach there?) This will bring to four the number of posts I have under the category of WIT.
  • Quantum inteference in photosynthesis
  • Earth-like planet discovered only twenty light years away. (Probably) five times the size of as massive as the Earth. If we send off an expedition today, by the time we arrive we should have been able to evolve to survive in the five times higher gravity?
  • Papers scirate wants me to read while I was away: 0704.3432, 0704.2529, 0704.2575, 0704.2575, 0704.2241, and 0704.3142.
  • A horrible title for a Nature blurb, “Quantum cryptography is hacked,” about an experiment performed at MIT (Phys. Rev. A, 75, 042327.) Notice how an inacurate title leads to all sorts of bad follow ups. That’s almost egregious enough to induce a Rage Against Doofosity!