libquantum-superpositions-perl | Quantum Mechanic-like superpositions for Perl | Mehr ... |
The Quantum::Superpositions module provides a new scalar data structure: the superposition. In a metaphor drawn from quantum mechanics, superpositions store a collection of values by overlaying them in parallel superimposed states within a single scalar variable. . Under the standard interpretation of quantum mechanics, until they are observed, particles exist only as a discontinuous probability function. Under the Cophenhagen Interpretation, this situation is often visualized by imagining the state of an unobserved particle to be a ghostly overlay of all its possible observable states simultaneously. For example, a particle that might be observed in state A, B, or C may be considered to be in a pseudo-state where it is simultaneously in states A, B, and C. Such a particle is said to be in a superposition of states. |