Missing out
May 7th, 2008Seems I’ve been missing out on Ian Durham’s blog, Quantum Moxie. I’ve just added it to my blogroll. It’s well worth a look. I’ve spent a large chunk of an otherwise productive day reading back-posts.
Seems I’ve been missing out on Ian Durham’s blog, Quantum Moxie. I’ve just added it to my blogroll. It’s well worth a look. I’ve spent a large chunk of an otherwise productive day reading back-posts.
If anyone is interested, I’ve finally uploaded my D.Phil. thesis. It’s still not on the arXiv, but I’ll eventually get around to doing that. It’s taken me the best part of a year to get it on-line, so I wouldn’t hold my breadth. In the mean time, enjoy!
Last Thursday our group had a visit from Herb Martin and Mohammad Amin of D-Wave. The point of the visit appeared to be largely to give our group a presentation on D-Wave’s progress towards building a commercially viable quantum computer. Although I had heard Dr. Amin speaking before at QEC 07, this talk was a little more expansive, and there was plenty of time for a question and answers session after the talk. Dave Bacon and Scott Aaronson have both been quite vocal in their criticism of D-Wave, so (Geordie’s blog aside) I’ve been waiting to hear the other side of the story.
Following the meeting I scribbled down my impressions of the current state of D-Wave’s efforts:
I may have missed or misremembered something, as I only kept rough notes. The slides from the talk aren’t publicly available at the moment, but they were very similar to those used in the QEC talk, available here.
I’ve just installed a GreaseMonkey script which should now allow me to post on Blogger using LaTeX. Below is a sample of the output:
Example equation:
Not perfect, but not too bad either.
My wonderful girlfriend Amy has pointed out that I don’t have a link to her blog. Now I do!
A friend of mine, Jane Shuyska, has started a new blog called “Learning about (e-)learning“. I’ve added it to my blogroll. Do take a look. She has a really cool HDR picture she took.
Bruce Schneier points to post on Emergent Chaos, which gives a very bleak outlook for quantum computers being used to break public key cryptosystems.
The crypto-obviating algorithms in question are Shor’s algorithm for factoring and an algorithm he developed for discrete logs. I was surprised to learn that Shor’s algorithm requires 72k3 quantum gates to be able to factor a umber k bits long. Cubed is a somewhat high power. So I decided to look at a 4096-bit RSA key, which is the largest that most current software supports — the crypto experts all say that if you want something stronger, you should shift to elliptic curve, and the US government is pushing this, too, with their “Suite B” algorithms.
To factor a 4096-bit number, you need 72*40963 or 4,947,802,324,992 quantum gates. Lets just round that up to an even 5 trillion. Five trillion is a big number. We’re only now getting to the point that we can put about that many normal bits on a disk drive. The first thing this tells me is that we aren’t going to wake up one day and find out that someone’s put that many q-gates on something you can buy from Fry’s from a white-box Taiwanese special.
So what’s wrong with this? The Quantum Pontiff defends the faith.
There is however one point which he, and apparently everyone commenting on this story, missed. The slow part of Shor’s algorithm is the modular exponentiation (which conveniently is also required by RSA itself). The claim that it is necessarily O(k3) is simply wrong. The Schönhage-Strassen algorithm can be used to implement modular exponentiation in O(k2) log(k) log(log(k)))!
But the really sad part of this is that Peter Shor says exactly this in his paper.
Asymptotically, the best classical result for gate arrays for multiplication is the Schonhage–Strassen algorithm [Schonhage and Strassen 1971, Knuth 1981, Schonhage 1982]. This gives a gate array for integer multiplication that uses O(l log l log log l) gates to multiply two l-bit numbers. Thus, asymptotically, modular exponentiation requires O(l2 log l log log l) time. Making this reversible would na¨ıvely cost the same amount in space; however, one can reuse the space used in the repeated squaring part of the algorithm, and thus reduce the amount of space needed to essentially that required for multiplying two l-bit numbers; one simple method for reducing this space (although not the most versatile one) will be given later in this section. Thus, modular exponentiation can be done in O(l2 log l log log l) time and O(l log l log log l) space.
While the Schonhage–Strassen algorithm is the best multiplication algorithm discovered to date for large l, it does not scale well for small l. For small numbers, the best gate arrays for multiplication essentially use elementary-school longhand multiplication in binary. This method requires O(l2) time to multiply two l-bit numbers, and thus modular exponentiation requires O(l3) time with this method. These gate arrays can be made reversible, however, using only O(l) space.
Does nobody read their references anymore?
If you ever use the phrase ‘Darwinist’ to refer to people who accept that evolution is the best explanation for how complex organisms arose on Earth, please stop.
We don’t use the phrase ‘Einsteinist’ or ‘Newtonist’ to refer to those who accept that gravity is the reason we stick to the ground. We don’t use ‘Leibnizist’ or ‘Maxwellist’ to refer to people who are confident that no matter how cleverly you arrange the magnets you can’t get more violate conservation of momentum. And we don’t use ‘Copernicist’ or ‘Keplerist’ to refer to those who deny the Earth is what planets orbit. There are people who use these terms, and we do have a word for those people; ‘crackpots’. The use of these phrases implies disagreement within the scientific community which is simply not there. It essentially equates these stances to subscribing to a philosophical school, implying that the there is no evidence to justify these positions. Reality has a well-known scientific bias! (With apologies to Stephen Colbert)
So why use ‘Darwinist’? Using it implies that there is some reasonable controversy over the validity of evolution within the scientific comunity, and there simply isn’t.
There is a reason we don’t have terms for the consensus position of the scientific community on these matters, and it’s the same reason we don’t have a specific word for somebody who does not believe in the Flying Spagetti Monster. It’s ridiculous to label everybody who is NOT in a specific microscopically small minority group.
With that in mind, I’m not too keen on ‘evolutionist’ either, but at least it avoids the connotation that we blindly follow the teachings of some guy called Darwin.
While over in Singapore, I was sharing an office with Pieter Kok, and a rather amazing thing happened. When he connected his new ipod to his laptop, iTunes managed to fill it with music, and by that I mean 0kb free. I was utterly amazed at this, since it essentially requires solving the subset sum problem, which is NP-complete. Anyone know if and how iTunes cheats?
Earlier this evening I went to the first event of the Ig Nobel tour of the UK. I’d been once before, and so Peter Rohde and I made about 20 paper airplanes waiting for the event to start (it’s a tradition!). We didn’t want to be the first to throw one, and so we waited for someone else to start. No one did! My disappointment knows no bounds.