> Quantum::Superpositions is a staggeringly difficult > read, but I was able to hear a lecture a few years > ago by Damian Conway. It can handle this job, but > don't ask me to explain exactly how it works: > > use Quantum::Superpositions qw| eigenstates any |; > > my @not_unique = qw|two one two zero six five six seven zero|; > > my @unique = eigenstates( any( @not_unique ) ); > > print Dumper [EMAIL PROTECTED]; >
I've browsed the Quantum module trying to find a use for it in my doings. I like the example use of it here thanks. > > One advantage is that this method is > it will run instantaneously on a quantum > computer. I think Apple is coming out with one of those next month :) Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]