lang/p5-Quantum-Superpositions 2.03 DragonFly
QM-like superpositions in Perl
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- lang, perl5, science
- Package size
- 20.5 KiB, 45.9 KiB installed
Description
The Quantum::Superpositions module adds two new operators to Perl: any and all.
Each of these operators takes a list of values (states) and superimposes them into a single scalar value (a superposition), which can then be stored in a standard scalar variable.
The any and all operators produce two distinct kinds of superposition. The any operator produces a disjunctive superposition, which may (notionally) be in any one of its states at any time, according to the needs of the algorithm that uses it.
In contrast, the all operator creates a conjunctive superposition, which is always in every one of its states simultaneously.
Superpositions are scalar values and hence can participate in arithmetic and logical operations just like any other type of scalar. However, when an operation is applied to a superposition, it is applied (notionally) in parallel to each of the states in that superposition.
In the other systems
The newest version among them is 2.03, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | lang/p5-Quantum-Superpositions | 2.03 newest | none known | - | [email protected] | - |
| FreeBSD | lang/p5-Quantum-Superpositions | 2.03 newest | none known | - | [email protected] | - |
| HardenedBSD | lang/p5-Quantum-Superpositions | 2.03 newest | no data | - | [email protected] | - |
| GhostBSD | lang/p5-Quantum-Superpositions | 2.03 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Quantum-Superpositions
From DPorts:
cd /usr/dports/lang/p5-Quantum-Superpositions && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.