Monthly Archives: September 2014

What Defines a Quantum Computer?

Could run Minecraft, but you’d have to be comfortable with getting you blocks as binary strings.

Recently a friend of mine observed in an email discussion “I must admit I find it a little difficult to keep up with the various definitions of quantum computing.”

A healthy sign for an enlightened confusion, because this already sets him apart from most people who still have yet to learn about this field, and at best think that all quantum computers are more or less equivalent.

As computers became an integral part of peoples everyday lives, they essentially learn the truth of Turing completeness – even if they have never heard the term.  Now, even a child exposed to various computing devices will quickly develop a sense that whatever one computer can do, another should be able to perform as well, with some allowance for the performance specs of the machine.  Older, more limited machines may not be able to run a current software for compatibility or memory scaling reasons, but there is no difference in principle that would prevent any computer from executing whatever has already been proven to work on another machine.

In the quantum computing domain, things are less clear cut. In my earlier post where I tried my hand at a quantum computing taxonomy, I focused on maturity of the technology, less so on the underlying theoretical model. However, it is the dichotomy in the latter that has been driving the heated controversy of D-Wave’s quantumness.

When David Deutsch wrote his seminal paper, he followed in Turing’s footsteps, thinking through the consequences of putting a Turing machine into quantum superposition. This line of inquiry eventually gave rise to the popular gate model of quantum computing.

D-Wave, on the other hand, gambled on adiabatic quantum computing, and more specifically, an implementation of quantum annealing.  In preparation for this post I sought to look up these terms in my copy of Nielsen and Chuang’s ‘Quantum Computation and Quantum Information’ textbook.  To my surprise, neither term can be found in the index, and this is the 2010 anniversary edition.  Now, this is not meant to knock the book, and if you want to learn about the gate model I think you won’t find a better one. It just goes to show that neither the adiabatic nor annealing approach was on the academic radar when the book was originally written – the first paper on adiabatic quantum computation (Farhi et al.) was published the same year as the first edition of this standard QIS textbook.

At the time it was not clear how the computational powers of the adiabatic approach compared to the quantum gate model. Within a year, Vazirani et al. published a paper that showed that Grover Search can be implemented on this architecture with quantum speed-up.  And although the notoriety of Shore’s algorithm overshadows Grover’s, the latter has arguably much more widespread technological potential. The Vazirani et al. paper also demonstrated that there will be problem instances that this QC model will not be able to solve efficiently, even though they can be tackled classically.

In 2004 a paper was submitted with a title that neatly sums it up: “Adiabatic Quantum Computation is Equivalent to Standard Quantum Computation” (Lloyd et al.)

If D-Wave had aimed for universal adiabatic quantum computation, maybe it would not have experienced quite as much academic push-back, but they pragmatically went after some lower hanging fruit i.e, quantum annealing. (Notwithstanding, this doesn’t stop  MIT’s Seth Lloyd from claiming that the company uses his ideas when pitching his own QC venture).

An adiabatic quantum computing algorithm encodes a problem into a cost, or in this case energy function, that is then explored for its absolute minimum. For instance, if you try to solve the traveling salesman problem your cost function would simply be distance traveled for each itinerary. A simple classical gradient descent algorithm over this energy ‘landscape’ will quickly get stuck in a local minimum (for an analog think of balls rolling down the hilly landscape collecting at some bottom close to were they started and you get the idea).  A truly quantum algorithm, on the other hand, can exploit the ‘spooky’ quantum properties, such as entanglement and the tunnel effect . In essence, it is as if our rolling balls could somehow sense that there is a deeper valley adjacent to their resting place and “tunnel through” the barrier (hence the name).  This gives these algorithms some spread-out look-ahead capabilities.  But depending on your energy function, this may still not be enough.

The graph bellow illustrates this with a completely made-up cost function, that while entirely oversimplified, hopefully still somewhat captures the nature of the problem. To the extent that the look-ahead capabilities of an adiabatic algorithm are still locally limited, long flat stretches with a relative minimum (a ‘plain’ in the energy landscape)  can still defeat it. I threw in some arbitrary Bell curves as a stand in for this local quantum ‘fuzziness’ (the latter incidentally the correct translation for what Heisenberg called his famous relation).

To the left, this fuzzy width doesn’t stretch outside the bounds of the flat stretch (or rather, it is negligibly small outside any meaningful neighborhood of this local minimum).

On the other hand, further to the right there is some good overlap between the local minimum closest to the absolute one (overlayed with the bell curve in green).  This is where the algorithm will perform well.troubling_energy_fktD-Wave essentially performs such an algorithm with the caveat that it does not allow completely arbitrary energy functions, but only those that can be shoe-horned into the Ising model.

This was a smart pragmatic decision on their part because this model was originally created to describe solid state magnets that were imagined as little coupled elementary magnetic dipoles, and the latter map perfectly to the superconducting magnetic fluxes that are implemented on the chip.

In terms of complexity, even in a simple classical 2-d toy model, the amount of possible combinations is pretty staggering as the video below nicely demonstrates. The corresponding energy function (Hamiltonian in QM) is surprisingly versatile an can encode a large variety of problems.

 

 

 

 

 

 

 

 

The Google-Martinis Chip Will Perform Quantum Annealing

Ever since the news that John M. Martinis will join Google to develop a chip based on the work that has been performed at UCSB, speculations abound as to what kind of quantum architecture this chip will implement.  According to this report, it is clear now that it will be adiabatic quantum computing:

But examining the D-Wave results led to the Google partnership. D-Wave uses a process called quantum annealing. Annealing translates the problem into a set of peaks and valleys, and uses a property called quantum tunneling to drill though the hills to find the lowest valley. The approach limits the device to solving certain kinds of optimization problems rather than being a generalized computer, but it could also speed up progress toward a commercial machine. Martinis was intrigued by what might be possible if the group combined some of the annealing in the D-Wave machine with his own group’s advances in error correction and coherence time.
“There are some indications they’re not going to get a quantum speed up, and there are some indications they are. It’s still kind of an open question, but it’s definitely an interesting question,” Martinis said. “Looking at that, we decided it would be really interesting to start another hardware approach, looking at the quantum annealer but basing it on our fabrication technology, where we have qubits with very long memory times.”

This leads to the next question: Will this Google chip be indeed similarly restricted to implementing the Ising model like D-Wave, or strive for more universal adiabatic quantum computation? The later has theoretically been shown to be computationally equivalent to gate based QC. It seems odd to just aim for a marginal improvement of the existing architecture as this article implicates.

At any rate, D-Wave may retain the lead in qubit numbers for the foreseeable future if it sticks to no, or less costly, error correction schemes (leaving it to the coders to create their own). It will be interesting to eventually compare which approach will offer more practical benefits.

About that Google Quantum Chip

In light of the recent news that John Martinis is joining Google, it is worthwhile to check out this Google talk from last year:

It is an hour long talk but very informative. John Martinis does an excellent job at explaining, in very simple terms, how hardware-based surface code error correction works.

Throughout the talk he uses the Gate model formalism.  Hence it is quite natural to assume that this is what the Google chip will aim for. This is certainly reinforced by the fact that other publications, such as from the IEEE, have also drawn a stark contrast between the Martinis approach, and D-Wave’s quantum annealing architecture. This is certainly how I interpreted the news as well.

But on second thought, and careful parsing of the press releases, the case is not as clear cut. For instance, Technology Review quotes Martinis in this fashion:

“We would like to rethink the design and make the qubits in a different way,” says Martinis of his effort to improve on D-Wave’s hardware. “We think there’s an opportunity in the way we build our qubits to improve the machine.”

This sounds more like Martinis wants to build a quantum annealing chip based on his logical, error corrected qubits.  From an engineering stand-point this would make sense, as this should be easier to achieve than a fully universal gate-based architecture, and it will address the key complaint that I heard from developers programming the D-Wave chip i.e. that they really would like to see error correction implemented on the chip.

On the other hand, in light of Martinis presentation, I presume that he will regard such an architecture simply as another stepping stone towards universal quantum computation.

News Roundup

headlines

 

As school starts, I should find my way back to a regular blogging schedule. I usually drive my kids to German Saturday school and then pass the time at a nearby Starbucks updating this blog.

Job and family demanded too much of my time this summer. The former has gotten very interesting, as I am documenting a bank stress testing system, but the learning curve is steep. And while I just had a pleasant one week vacation at a pristine Northern lake, it very much lacked in Wifi connectivity and was not conducive to blogging. Yet, I had plenty of time to read up on material that will make for future posts.

Back home, my kids incidentally watched the Nova episode that features D-Wave and Geordie Rose, which prompted my mother-in-law to exclaim that she wants stock in this company. Her chance to act on this may come in the not too distant future. Recently, D-Wave’s CEO hinted for the first time that there may be an IPO in the offing (h/t Rolf D).

Readers who follow the QC blogs have undoubtedly already learned about an interesting paper that supports D-Wave’s approach, since Geordie highlighted it on the company’s blog. The fact that Robert R. Tucci is looking for an experienced business partner to start a QC algorithm venture with may also already qualify as old news – Bob is mostly focused on the Gate model, but is agnostic about the adiabatic approach, and certainly displays an impressive grit and track record in consistently turning out patents and papers.

When it comes to love and business, timing is everything. The US allows for software patent protection of up to 20 years. This is a sufficiently long time frame to bet on Gate QC becoming a reality. But there is still a bit of a chicken and egg problem associated with this technology. After all, it is much more difficult (Geordie Rose would argue unrealistically so) then what D-Wave is doing. Shor’s algorithm alone cannot justify the necessary R&D expense to develop and scale up the required hardware, but other commercially more interesting algorithms very well may. Yet you only invest in developing those if there is a chance that you’ll eventually (within 20 years) have hardware to run them on. Currently, it still falls to academia to breach the gap, e.g. such as these Troyer et al. papers that make hope that quantum chemistry could see tangible speed-up from even modestly sized gate based quantum computers.

While quantum computing will remain a main theme of this blog, I intend to also get back to some more biographical posts that reflect on how the history of physics has evolved. Just as any human history, it is full of the oddest turns and twists that are more often than not edited out of the mainstream narrative. And just to be clear, this is not to suggest some grand conspiracy, but just another expression of the over-simplification that afflicts most popular science writing. Writing for the least common denominator makes often for rather poor results, but just as Sabine observes

The “interested public” is perfectly able to deal with some technical vocabulary as long as it comes with an explanation.

In the same vein, the intricacy of how scientific discovery progresses deserves some limelight as it illuminates the roads less traveled. It also makes for interesting thought experiments, imagining how physics may have developed if certain experiments or math had been discovered earlier, or one scientist’s life hadn’t been cut too short.

My next post will deal in some such idle speculation.

Update: This just in, Google sets out on its own (h/t bettinman), planning to put $8B into its proprietary QC hardware effort. which makes me wonder if the investment will match IBM’s $3B to reach the post silicon area.  Not clear yet what this will mean for their relationship with D-Wave.