Slashdot Mirror


Code-Breaking Quantum Algorithm On a Silicon Chip

Urchin writes "Shor's quantum algorithm, which offers a way to crack the commonly-used RSA encryption algorithm, has been demonstrated on a silicon chip for the first time. The algorithm was first demonstrated on large tabletop arrays 3 years ago, but the photonic quantum circuit can now be printed relatively easily onto a silicon chip just 26 mm long. You can see the abstract from the team's academic paper in the journal Science; the full text requires a subscription."

36 of 133 comments (clear)

  1. Interesting and a qustion by doublebackslash · · Score: 5, Interesting

    So, this is really impressive. I'd also like to know how many (useful, as opposed to error checking) qbits they can manipulate in total using this technique, and traditional techniques, for that matter. Those are the big limiting factors in this technique's use.

    Side question: Which asymmetrical encryption algorithms are safe(er) against quantum algorithms (Some algorithms do not benefit from a tremendous quantum speedup, only a large one)?

    --
    md5sum /boot/vmlinuz
    d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
    1. Re:Interesting and a qustion by Trepidity · · Score: 4, Informative

      Currently, they and the traditional techniques can each manipulate 4 non-error-checking qubits. =]

      The article argues that their approach is more promising for scaling up, though, and has fewer inherent limits to doing so. That of course is still to be demonstrated, but the result still seems interesting--- basically, here's proof-of-concept of a new method that at least works as well as previous methods, along with some reasons to believe it might scale up better.

    2. Re:Interesting and a qustion by Brian+Gordon · · Score: 5, Insightful

      My guess is that miniaturizing a optical processor into silicon is probably going to be less powerful than normal optical processors. They should be factoring numbers larger than 15 before trying to fit it on a chip.

      Quantum computing is extraordinarily difficult though, even just in theory, so I guess I understand why its development is so slow.

      I wonder what the curve is for how much education you need to be terrified of the Shor's algorithm article rather than just mystified, and then how much more you need to master it. I'm deep into nightmare territory.

    3. Re:Interesting and a qustion by Dc0der · · Score: 5, Informative

      There are a few algorithms resistant against quantum computers, based on alternative problems. A good reference of the main, usable ones, is at http://pqcrypto.org/. Quantum computers can also speed up exhaustive searches (see Grover's algorithm) and collision searches, but this is easily mitigated by increasing symmetric key sizes to e.g. 256 bits up from 128.

    4. Re:Interesting and a qustion by doublebackslash · · Score: 5, Interesting

      As far as being terrified by it, that's fairly easy.

      I'm a bit of a crypto nerd (more of a fan, not exactly up to sratch on designing the algorithms, but I've read EXTENSIVELY on their proper use) and if you get a large quantum computer working, things go titsup for any of our currently viable public key crypto schemes. The short of it is this: you can no longer trust any key exchange system that relies on public keys. SSH is no longer secure, SSL is trash, the list goes on. Any time you need to exchange secure data without having previously encountered the far end securely first, game over.

      That's frightening. I know that there are some proposed algorithms that only allow for a polynomial speedup in quantum computers, but I couldn't find them between when I posted initially and now.

      So yeah, fear it, but in terms of cracking larger numbers this is not even a proverbial "smoke in the building" scenario. It looks like their technique does not employ error checking, making large numbers of qbits near impossible to work with.

      --
      md5sum /boot/vmlinuz
      d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
    5. Re:Interesting and a qustion by JordanL · · Score: 4, Funny

      I think the real question is whether or not quantum computing can solve the Travelling Salesman problem. :)

    6. Re:Interesting and a qustion by maxume · · Score: 5, Insightful

      It's only frightening when operating a quantum computer becomes trivial. Until then, it really isn't that big a deal to send your credit card details to Amazon.com. So when there are 5 powerful quantum computers running, there will probably still be a year or two to fix things. Even then, I'm not sure people will be running quantum computers against the vast majority of communication (so it really only sucks for the people who are trying to secure something worth getting at, us gmail https users aren't out much).

      --
      Nerd rage is the funniest rage.
    7. Re:Interesting and a qustion by Captain+Segfault · · Score: 5, Interesting

      I think the real question is whether or not quantum computing can solve the Travelling Salesman problem.

      It can not.

      There is no reason to believe QBP contains NP. (We might be wrong, but then we might be wrong about P != NP!)

      Any approach along the lines of "do everything quantumly in parallel and somehow select the interesting results" will do no better than a Grover search, which is a quadratic speedup.

    8. Re:Interesting and a qustion by Captain+Segfault · · Score: 2, Informative

      My guess is that miniaturizing a optical processor into silicon is probably going to be less powerful than normal optical processors.

      The power of a quantum computer, at this early stage, is limited by the number of qbits. The point of putting it onto silicon is that silicon fabrication is the easiest way, right now, to make large numbers of interesting small structures. (in this case qbits and controlling infrastructure)

    9. Re:Interesting and a qustion by mckinleyn · · Score: 2, Interesting

      With a 6-digit UID, I'm sure you know this, but for those who might not have taken a university level computing class (or who took one a long time ago), I'm going to elaborate briefly on your post.

      Problems like factoring products of primes (This is a big deal in crypto, but the explanation of why is hard if you haven't taken a university number theory course) and the above-mentioned Traveling Salesman Problem (The question of how I can most efficiently reach each of a given set of points, after given fixed distances between said points) are what we call np-complete. This means, in short, that the amount of time it takes to solve them goes up more and more for each item (point in TS, making the prime gigantic in crypto) you add. It's trivial to factor 15, as shown here, but non-trivial to factor (2 ^ 43112609 -1) * (2 ^ 42643801 -1).

      So, yes, if it can solve the traveling salesman problem (in polynomial time. Solving it is easy, unless you consider that with enough nodes, it'll take until the heat death of the universe), it IS a big deal for modern crypto because it shows that np-complete problems (whose only REAL issue is that they are computationally difficult) can be solved in a realistic amount of time, and most modern crypto counts on the fact that it cannot.

    10. Re:Interesting and a qustion by SpazmodeusG · · Score: 4, Informative

      No it is frightening now if you transmit anything that still has to be secret in the future. After all someone might simply record both sides of the encrypted conversation now for later reference.
      This is why government agencies want secure quantum links now. As even though there is no way for someone to decrypt their plans right now there's still a chance of the plans getting out once quantum computers do come about.

      I have a feeling a lot of criminals will find themselves being arrested for past crimes once quantum computers do come about as all their past recorded conversations, no matter how encrypted, suddenly become decryptable.

    11. Re:Interesting and a qustion by doublebackslash · · Score: 2, Informative

      A very insightful question. Mod parent up.

      In short, yes: Wiki see also (with more math than I can handle) Berkley article

      So, yeah. Quantum computers of reasonable size get us discrete logarithms. This means that the Diffie Hellman key exchange can be reversed after the exchange if the attacker has a powerful enough quantum computer. The computer to break DH key exchanges would be powerful enough to also break the encapsulating RSA or similar exchange (even assuming RSA encryption AND signatures was used).

      --
      md5sum /boot/vmlinuz
      d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
    12. Re:Interesting and a qustion by wurp · · Score: 3, Interesting

      As far as I know, the "only" crypto applications of QC that would give an exponential speed-up are for factoring (Shor's algorithm). I realize that that's essentially all currently used asymmetric (public/private key) encryption, but afaik elliptical encryption, which is also usable for asymmetric encryption, isn't impacted.

      Of course, no one knows if elliptical encryption will fall to some quantum algorithm, and you can always get a O^0.5 speed up using Grover's algorithm, but O^0.5 just requires double the key length rather than making encryption impractical.

      Scott Aaronson, a quantum algorithm complexity researcher at MIT, believes that quantum computing does not in general give an exponential speed-up to algorithms, and I believe him...

    13. Re:Interesting and a qustion by mark-t · · Score: 2, Interesting

      It's only frightening when operating a quantum computer becomes trivial.

      So not anytime soon... the refrigeration units required to produce the temperatures at which quantum computing is viable are not likely to be within a typical consumer's budget (or likely to fit in their apartment, for that matter) for the forseeable future.

  2. RSA may sleep well... by Vadim+Makarov · · Score: 2, Funny

    they are still factorizing the number 15 :)

    --
    17779 eligible voters in a district, 17779 'vote' as one. This is Russia.
  3. How many qubits? by zapakh · · Score: 3, Informative

    The IBM test-tube quantum computer from a while back used the spins of several atoms in a specially-crafted molecule as qubits. This one is "an integrated waveguide silica-on-silicon chip that guides four single-photon qubits through the computation". Does this approach scale better to larger numbers of qubits than do designer molecules?

    1. Re:How many qubits? by Trepidity · · Score: 5, Insightful

      That's their claim. The full version of the article says of previous implementations, "these approaches cannot be scaled to a large number of qubits because of purity, size, and stability limitations of these systems". And of theirs: "Although it currently uses an inefficient single photon source and modest efficiency detectors, ongoing progress to address heralded gates and efficient sources and detectors combined with the results presented here will allow large-scale quantum circuits on many qubits to be implemented".

  4. MIM day by youn · · Score: 5, Funny

    shortly after, secret service agencies worldwide have decided to make the day a holiday and call it man in the middle day (MIM)

    --
    Never antropomorphize computers, they do not like that :p
  5. Re:Is this really a big deal? by Trepidity · · Score: 4, Informative

    They only factored the number 15 here as well--- in fact what they implemented was a version of the algorithm compiled to a specialized implementation for the input "15". Their claim from why it's an improvement is (from the full article):

    [P]roof-of-principle demonstrations of Shor's algorithm have so far only been possible with liquid-state nuclear magnetic resonance and bulk optical implementations of simplified logic gates, owing to the need for several logic gates operating on several qubits, even for small-scale compiled versions. However, these approaches cannot be scaled to a large number of qubits because of purity, size, and stability limitations of these systems. We demonstrate a compiled version of Shor's algorithm operating on four qubits in which the processing occurs in a photonic circuit of several one- and two-qubit gates fabricated from integrated optical waveguides on a silica-on-silicon chip.

    Essentially they claim that, while their demonstration here is as small-scale as the previous ones, it's at least plausible that it might scale up, while the previous demonstrations have inherent limitations that prevent them from scaling up.

  6. changing of the guard by JackSpratts · · Score: 2, Funny

    my darknet effectively utilities rsa/blowfish. not for long apparently.

    1. Re:changing of the guard by BungaDunga · · Score: 5, Funny

      Unless you're using 3 and 5 for your factors, I think you're safe for now...

    2. Re:changing of the guard by sakdoctor · · Score: 5, Funny

      That's the kinda factors an idiot would have on his luggage.

    3. Re:changing of the guard by DoofusOfDeath · · Score: 4, Funny

      my darknet effectively utilities rsa/blowfish. not for long apparently.

      No worries. We'll change it for you, Steve O'Connel from 42 Elmwood Ave., Chicago. You should take the night off - you're girlfriend will be ordering out for burritos. Bad news though, she's renting a chick flick.

      Thanks,
      NSA

    4. Re:changing of the guard by Ant+P. · · Score: 2, Funny

      That's the problem with these quantum computers - you can't be certain which universe they're decrypting data from.

  7. Version 2 by epine · · Score: 5, Funny


    int a = 0, b = 0;
    if (x == 14) { a = 2; b = 7; }
    else
    if (x == 15) { a = 3; b = 5; }
    if (a == 0)
        printf ("%s\n", "more funds required");
    else
        printf ("%d, %d\n", a, b);

  8. Re:What about ECC? by Anonymous Coward · · Score: 4, Informative

    All Discrete-Logarithm and Factoring based public key algorithms are vulnerable.

    THe current known safe alternatives are hash-based (Merkle), code based (e.g. McEliece), lattice based (NTRU) or multivariate equation based (HFE). All of them have quite the disadvantages and comparatively less research on them.

  9. Re:Is this really a big deal? by Dyinobal · · Score: 4, Informative

    You really don't understand the impact world wide reliable and fast code breaking has. Cryptology has won wars.

  10. Re:Is this really a big deal? by FloydTheDroid · · Score: 4, Funny

    Anything above "4" is represented as "A Suffusion of Yellow"

  11. Re:Is this really a big deal? by dfetter · · Score: 2, Insightful

    Outside of science fiction novels, where did it do that? If you're thinking of WWII, the Allies had a gigantically larger industrial base than the Axis could ever summon, and basically won by throwing enough men and materiel at the problem. At most, crypto might have shortened that war, but even that's not crystal clear.

    --
    What part of "A well regulated militia" do you not understand?
  12. 1-time pads are inherently unbreakable by davidwr · · Score: 2, Informative

    Well, a truly random 1-time pad that is used properly and never compromised is mathematically unbreakable.

    PRACTICAL one-time pads suffer two vulnerabilities: 1) If stored in the clear or encrypted with a defeatable algorithm, they can be compromised, and 2) if re-used they can be compromised. They are useful for sharing small amounts of data, such as passphrases.

    One way to make one-time pads more practical for certain applications is to use shortcuts to describe the pads. For example, if you and I both collect Linux distros, then we can use the distros as one-time pads. Sharing a pad becomes as easy as saying "CentOS-5.3-x86_64-bin-4of7.iso start at byte 134,379,001 and wrap around" and poof, we've got ourselves a 629MB pad to play with. When that pad nears the end, one of our messages could be "ubuntu-8.04.1-dvd-i386.iso offset 1,423,783,047 backwards and wrap around" and that gives us another 3.9GB worth of pad. This relies on security through obscurity to work, which is notoriously fragile, which is one reason it's not a general-purpose solution.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  13. Re:Is this really a big deal? by CharlyFoxtrot · · Score: 4, Insightful

    Outside of science fiction novels, where did it do that? If you're thinking of WWII, the Allies had a gigantically larger industrial base than the Axis could ever summon, and basically won by throwing enough men and materiel at the problem. At most, crypto might have shortened that war, but even that's not crystal clear.



    Breaking Enigma helped get those men and materiel past the U-boats. If they hadn't D-day wouldn't have happened (and it was almost a failure even with the resource there) and the Germans wouldn't have been caught in a pincer between the allies and the soviets. I wouldn't discount its influence.
    --
    If all else fails, immortality can always be assured by spectacular error.
  14. Re:Is this really a big deal? by Hal_Porter · · Score: 3, Interesting

    http://en.wikipedia.org/wiki/Ultra#Battle_of_the_Atlantic

    It is commonly claimed that breaking of German Naval Enigma shortened the war by a year, but given its effects on the Second Battle of the Atlantic alone, that might be an underestimate.

    An exhibit in 2003 on "Secret War" at the Imperial War Museum, in London, quoted British Prime Minister Winston Churchill telling King George VI, "It was thanks to Ultra that we won the war." Churchill's greatest fear, even after Hitler had suspended Operation Sealion and invaded the Soviet Union, was that the German submarine wolf packs would succeed in strangling sea-locked Britain. He would later write, in Their Finest Hour (1949), "The only thing that ever really frightened me during the war was the U-boat peril." A major factor that averted Britain's defeat in the Battle of the Atlantic was her regained mastery of Naval Enigma decryption.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  15. Re:What about ECC? by Stile+65 · · Score: 2, Insightful

    Sweet, thanks for the awesome pointers. You've given me a whole lot of stuff to look over as a research starting point.

    --
    I claim first use of "Error No. 0B" - or "No. 0B error." It'll be the new ID 10T!
  16. Depends on What Features You Want by mdmkolbe · · Score: 2, Informative

    The short answer is "It depends". It depends on what features you want. (Some crypto systems provide security but not authentication. Others do the opposite. Still others provide neither but give plausible deny-ability or even it's opposite, non-reputability.) It depends on what resources you have. (Do you have couriers to hand deliver your new keys?)

    The reason quantum is scary is because it breaks a large number of public key systems. Public-key systems have been the most economical systems developed to date. Thus if quantum were to break all the public-key systems, it wouldn't necessarily kill all crypto, but it would make implementing crypto more expensive (e.g. couriers or quantum hard lines).

    However, quantum might not break all public-key crypto. Public-key crypto only requires the existance of a function, f, such that f is easy to compute but the inverse, inv-f, is hard to compute. Usually "easy" is defined as "polynomial". Thus it is a trivial corollary that if someone can prove P=NP or that quantum can solve all NP in polynomial time. As far as I know no one has proven either so there is a glimmer of hope.

    However, even if P=NP, I may still be possible to build a public-key crypto. While "n^100" time is technically polynomial, it really isn't computationally "easy". So even with P=NP there may exist functions that can be computed in a low-degree polynomial time (e.g. linear or quadratic) but who's inverse requires a high-degree polynomial.

    All of this is a long winded way of saying "quantum breaks the public-key currently in common use but there is the theoretical possibility that someone may develop a public-key that won't be broken by quantum".

  17. Re:Is factoring np-complete? by Trepidity · · Score: 5, Informative

    You're right, it isn't currently known either way.

    To review briefly,

    P problems are those solvable in polynomial time on a regular computer.

    NP problems are (one definition) those verifiable in polynomial time on regular computers. That is, if you gave the answer to the problem, in polynomial time I could tell you if it was the correct one.

    QBP problems are those solvable in polynomial time on a quantum computer.

    It is not known whether any of these classes are equivalent. However, the possibilities are constrained by,

    NP-complete, which are problems in NP to which all other NP problems can be reduced (provably!) in polynomial time.

    Traveling salesman is NP-complete. Therefore, if we found a polynomial-time algorithm on regular computers, P = NP. If we found a polynomial-time algorithm on quantum computers, QBP = NP.

    Integer factorization is in NP, but not known to be either NP-complete or in P. Therefore, a polynomial-time algorithm on regular computers could exist without P = NP--- but we don't know of one. Shor's algorithm (the subject of this article) is a polynomial-time algorithm for quantum computers, so integer factorization is in QBP. However, since integer factorization isn't NP-complete, this doesn't have any implications for whether QBP = NP or not.

    So it's not provably known that integer factorization is easier than traveling salesman on any kind of computer. But on quantum computers, the fastest known integer factorization algorithm is polynomial, while the only way we could do that for traveling salesman is if QBP = NP. On regular computers, no polynomial algorithm is known for either problem. But in a sense it'd be more surprising if one were found for traveling salesman, because that would imply P = NP... while finding one for integer factorization wouldn't have such wide-ranging implications on other problems (though it might have implications for other not-yet-known-to-be-in-P problems, if the technique were transferable).

  18. Harder than it seems by raftpeople · · Score: 4, Funny

    It's only frightening when operating a quantum computer becomes trivial.

    "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously."