Slashdot Mirror


Quantum Programming with Perl

moyix writes: "There's an article over at perl.com that describes how to use a perl module called Quantum::Entanglement. Using this module, one can simulate programming for a quantum computer. Developers looking to keep their skills current well into the next decade should check this out ;) Debian folks can grab libquantum-entanglement-perl and libquantum-superpositions-perl."

18 of 177 comments (clear)

  1. Shave and a haircut, qubits! by Anonymous Coward · · Score: 4, Funny

    I always wondered how Larry Wall was seemingly in 10 different newsgroups at one time. I guess he's been using quantum physics all along...

  2. No fair! by orkysoft · · Score: 4, Funny

    "No fair! You changed the outcome by measuring it!" -- Professor Farnsworth from Futurama.

    --

    I suffer from attention surplus disorder.
  3. Entanglement? by questionlp · · Score: 5, Funny
    Blockquoth the submission:
    There's an article over at perl.com that describes how to use a perl module called Quantum::Entanglement
    Why would I need a Perl module to help entangle Perl code even more? Isn't that part of the language ;-)
    1. Re:Entanglement? by Monkeyman334 · · Score: 2, Funny

      Original credit goes to uh ... Darkling:

      print substr("the quick brown fox jumps over a lazy dog.",
      $_,1)
      for
      (1,2,36,3,10,21,38,38,36,
      41,9,16,21,7,8,25,36,17,5);

  4. This is new? by bluntmanspam · · Score: 4, Funny
    This still leaves us with plenty of ways to make Perl behave in a thoroughly unpredictable fashion.

    For some of us, this is nothing new.

  5. Quantum Perl.... by Jace+of+Fuse! · · Score: 4, Funny

    Quantum Perl - "No longer will there be more than one way to do something, but rather there are an infinite number of ways to do everything!"

    --

    "Everything you know is wrong. (And stupid.)"

    Moderation Totals: Wrong=2, Stupid=3, Total=5.
  6. Re:thats nice but.. by Dragnet · · Score: 2, Funny

    nihilist, in making this post; you didn't take into account the _very_ quantum principle of uncertainty ;). It could be real, it could be a hoax.

  7. The superpositioned BSOD by MoobY · · Score: 2, Funny

    After Microsoft's incredible implementation of the recursive crash (anyone remember the crash recovery that crashed?), this module now gives them a chance to have the superpositioned crash: your computer is both crashing and still alive.

    --
    --- Sigmentation Fault - Comments Dumped
  8. awww... by InsaneCreator · · Score: 2, Funny

    It's 2:30 am and I'm thinking how exciting quantum computing is.
    Awwww... I need a life... :(

    At least I might or might not have a life.

  9. Hmmm.... by Quixote · · Score: 4, Funny

    use Quantum; my $jump = Quantum::Leap->new(); # nothing happens... Damn! Why doesn't it work??

    1. Re:Hmmm.... by sconeu · · Score: 3, Funny

      Are you certain about that?

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  10. CRASH by ZaneMcAuley · · Score: 2, Funny

    And when one of these application crashes, itll go with a bang allright.... *Access Violation* there goes the space-time continuim..

    --
    ----- Whats wrong with this picture? http://www.revoh.org:1234/whatswrong
  11. Wife::Cook module next? by Frank+of+Earth · · Score: 0, Funny

    Much like the Quantum module, you can test it on Perl, but don't expand any real time applications any time soon.

  12. Re:Real quantum computing by Lictor · · Score: 2, Funny

    I'm sure you can run Grover's algorithm in *simulated* O(sqrt(n)) time...

    Did I mention that simulating a quantum system on a deterministic machine will require EXPONENTIAL time and space?

    Go Perl.

  13. Finally by Paul+Komarek · · Score: 4, Funny

    Finally, an application which Perl can't make more confusing.

    -Paul Komarek

  14. Re:thats nice but.. by Anonymous Coward · · Score: 4, Funny
    in fact, they demonstrated Peter Shor's 1994 factoring algorithm on a recently built 7-qubit box, factoring 15 into 3 and 7.

    Incoming message for Mr. Shor: Your algorithm doesn't work.

    (ob. H2G2 ref.) Wait a minute ... *slaps forehead* Now I understand! 42! It all makes perfect sense now!

  15. Hooray! by Dasher42 · · Score: 2, Funny

    Between the voodoo and uncertainty of quantum mechanics and \%{$Magical{'Perl'}[$#$syntax]}, who'll ever need to encrypt their code? =)

  16. The *New* Drake Equation... by Anonymous Coward · · Score: 1, Funny

    Of all the things I've ever heard - this has messed with my head the most...
    (This is the Drake equation for the 22nd Century)

    The Harter Equation:
    *If* it's possible to make a quantum computer that can describe a reality equal to or greater than our own universe in detail, and *if* it's possible to create an infinite number of simulated universes with this level of detail, the chance that our universe is actually a quantum simulation would be nearly infinite*. There would be infinitely more artificial universes (that think they're real) than real ones. Now if an artificial universes (like our own?) can create other artificial universes, the chances that we're an original universe becomes even more implausible. Nice dreams!