QuantumSuperposition and PositronicVariables
Description
This paper presents QuantumSuperposition and PositronicVariables, two interlinked .NET libraries for modelling uncertainty, quantum-style superposition, and time-looped convergence in ordinary C# code.
QuantumSuperposition provides (1) a generic superposition engine in the form of QuBit<T> and Eigenstates<T> with complex amplitudes, arithmetic, LINQ integration and non-destructive sampling, and (2) a physicsflavoured quantum layer with multi-qubit QuantumSystem, entanglement management, gate catalogues, canonical states, and bundled implementations of the Quantum Fourier Transform (QFT) and Grover’s search algorithm.
PositronicVariables builds on the same superposition semantics to model reversible temporal logic: variables that can participate in feedback loops, roll their state backwards and forwards through hypothetical timelines, and converge to a consistent fixed point (or, in pathological cases, a politely documented paradox).
The resulting ecosystem lets .NET developers treat "maybe" and "many possible futures" as first-class values while still enjoying static typing, IDE autocompletion and the reassuring hum of the garbage collector. We describe the design and semantics of both layers, motivate their use as teaching and experimentation tools, and compare them to existing quantum SDKs and probabilistic programming languages.
Our guiding design principle is simple: make the multiverse feel like idiomatic C#, with just enough weirdness to be fun but not enough to summon an actual physicist.
Files
QPV_sources.zip
Files
(923.8 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:05462246ec095dd2b1724ac6298101bc
|
388.1 kB | Preview Download |
|
md5:374244875afb27d814ef1cecd2a86b88
|
535.7 kB | Preview Download |
Additional details
Additional titles
- Subtitle
- Strongly-Typed Multiverse Programming and Quantum-Inspired Circuits for .NET
Related works
- Is referenced by
- Other: https://quantumsuperposition.findonsoftware.com/ (URL)
Dates
- Submitted
-
2025-12-09
Software
- Repository URL
- https://github.com/hutchpd/QuantumSuperposition
- Programming language
- C#
- Development Status
- Active
References
- See PDF for full references