Releases: hutchpd/QuantumSuperposition
v.1.9
[1.9.0] - 2026-04-06
Added
- Snapshot persistence:
PositronicVariable<T>.ExportSnapshot(),SaveSnapshot(...),LoadSnapshot(...), andFromSnapshot(...)for JSON-based timeline export and restore. - Durable audit trail: new
FileLedgerSinkwrites append-only JSON Lines ledger entries to disk while preserving the in-memory reverse replay ledger. - Documentation: added
docs/Persistence.mdand README guidance for snapshot and ledger workflows. - Package metadata and documentation version are aligned with PositronicVariables 1.9.0 for the shared release train.
QuantumSuperposition v1.8, PositronicVariables v1.5.1
QuantumSuperposition [1.8.0]
This release introduces comprehensive noise modelling, error mitigation, and a dedicated simulation framework for realistic quantum environments.
Added
Advanced Noise Modelling: Introduced NoiseModel supporting realistic quantum hardware errors, including ThermalRelaxation.
Noisy Quantum Systems: Added NoisyQuantumSystem and QuantumSystem abstractions for testing algorithms under decoherence and simulated hardware constraints.
Error Mitigation Suite: Implemented ReadoutMitigator, TensoredReadoutMitigator, PECSampler (Probabilistic Error Cancellation), and ZeroNoiseExtrapolation to recover fidelity from noisy results.
Gate Queue Optimisation: Added new optimisations and benchmarking (GateQueueOptimizationBenchmarks) to streamline circuit execution.
Expanded Algorithms & Testing: Introduced ReadoutMitigatorTests, PECSamplerTests, and ZeroNoiseExtrapolationTests to the QuantumSoupTester.
PositronicVariables [1.5.1]
This update massively expands the temporal and transactional capabilities of the Positronic convergence engine, enabling more robust timeline manipulation and cross-variable telemetry.
Added
The Unhappening Engine: Added UnhappeningEngine.cs for advanced timeline rewinding and consequence-reversal scenarios.
Bureau of Temporal Records: Introduced a dedicated archivist (BureauOfTemporalRecords) for tracking and auditing immutable timeline snapshots.
Sub-Etha Transponder System: Added ISubEthaTransponder, SubEthaOutputTransponder, and the AethericRedirectionGrid for managing side-effects and out-of-band communication during convergence loops.
Next-Gen Transactions: Upgraded the transaction model with TransactionV2 and TransactionV3, and introduced STMTelemetry for deep insights into transactional variable contention and performance.
NeuroCascade Initialiser: Added NeuroCascadeInitialiser.cs to handle complex probabilistic circuit and neural nodule bootstrapping.
Hotspot Aggregation: Implemented Hotspot and HotspotAggregator to monitor and manage highly contested positronic variables.
Changed
Concurrency Handling: Enhanced transaction stability with ConcurrencyGuard and robust ParanoiaConfig (ParanoiaModeTests).
Logging & Telemetry: Upgraded the Ledger to use BufferedLedgerEntry and RegretScribe for cleaner historical regret tracking.
### QuantumSuperposition v1.7.4, ### PositronicVariables v1.4
Quantum Superpositions
[1.7.4] - 2025-11-19
Added
- Initial changelog (this file) establishing version history tracking.
QuantumRegisterabstraction for coherent grouped qubit index handling (partial collapse, integer decoding, amplitude initialisation).PhysicsQubitspecialised computational basis qubit with Bloch sphere constructors andZero/Oneshortcuts.- Canonical state factories:
EPRPair,WState,GHZStateviaQuantumRegisterhelpers. - Gate * register operator sugar: apply single / multi qubit gates directly with
gate * registersyntax. - Extended gate catalogue: identity tensor factories, multi length Hadamard, Pauli Y/Z, SWAP, √SWAP, Toffoli (CCNOT), Fredkin (CSWAP), generic
Controlled(inner), monolithic Quantum Fourier Transform unitary factory. - Quantum algorithms API: high level
QuantumAlgorithms.QuantumFourierTransformandQuantumAlgorithms.GroverSearchwith internal gate scheduling. - Weighted superposition support with complex amplitudes across
QuBit<T>andEigenstates<T>plus deterministic seeded sampling and mock collapse injection. - Functional and LINQ style non collapse operators:
Select,Where,SelectMany,p_op,p_funcpreserving superpositions. - Non observational arithmetic flag (
QuantumConfig.EnableNonObservationalArithmetic) enabling scalar and pairwise arithmetic without forced collapse; includes commutative optimisation cache. - Tolerant equality:
QuantumRegister.AlmostEquals,Eigenstates<T>.AlmostEqualsprobability mass based comparisons. - Entanglement graph diagnostics and versioning utilities; tagging, partial collapse staging, locking / freezing and multi party collapse agreement.
Changed
- README completely restructured for clarity: capability sections, documentation map, British English spelling, concise feature matrix.
- Documentation split into focused markdown files (FunctionalOps, Entanglement, ComplexSupport, QuantumAlgorithms, PhysicsQubit, QuantumRegister, GateRegisterSugar, GateCatalogue, CanonicalStates, Equality, UsageExamples).
- Gate scheduling visualisation wording updated to British English ("visualise").
- Consistent terminology: "normalise", "initialisation", "behaviour", "optimisation" across code comments and docs.
Fixed
- Numerous wording inconsistencies in documentation (American to British English spellings).
- Minor formatting issues in previous README (duplicate headings, em dash usage removed).
Removed
- Legacy monolithic README narrative sections superseded by modular docs.
Performance
- Commutative optimisation avoids duplicate evaluation of pure operations (e.g. caching results for
a + bvsb + a). - Select / Where chains retain lazy non collapse semantics reducing unnecessary sampling.
Documentation
- Added usage examples for prime detection, factors, minimum value extraction and multi qubit gate application.
- Expanded algorithm breakdown (QFT gate sequence, Grover diffusion operator internals).
Positronic Variables
[1.4.0] - 2024-10-01
Added
- Integration tests for enhanced reliability.
- Support for string manipulation and generic types.
- Dependency Injection support allowing scoped and testable runtime environments.
- Convergence engine builder with middleware chaining for flexible convergence logic.
- Epoch tagging for better timeline synchronisation in convergence loops.
- Running domain tracking to remember all values ever seen by variables.
- New operations: ReversibleModulusOp for modulus operations with undo support.
- Enhanced neural nodule functionality for building probabilistic circuits.
- Bitwise operators support (AND, OR, XOR, NOT, shifts) for integral types.
- Improved arithmetic operations with commutative caching and non observational modes.
Changed
- Major refactor of PositronicVariable system for clarity and robustness.
- Updated design pattern to use GetOrCreate for variable instantiation.
- Enhanced timeline handling including better reset logic for outside writes.
- Refactored reverse replay and scalar close handling for improved convergence.
- Improved loop handling and domain reset logic.
- Updated tests and logging throughout the framework.
- Merged PositronicVariableRef and PositronicVariable into a single class.
- Enhanced README with better examples and documentation.
- Updated versions and dependencies across projects.
Fixed
- Handling of closing replace operations and detection of "x = x + k" patterns.
- Timeline reset issues in ResetTimelineIfOutsideWrites.
- Convergence behaviour in various edge cases including scalar convergence.
- Console formatting and output issues in tests.
- QuantumLedgerOfRegret clearing before loop execution.
- Various bugs in reverse replay and forward handling.
- HTML entities in README.md.
- Error messages for non IComparable types.
Removed
- Antival console formatting and related obsolete tests.
Technical Improvements
- Better synchronisation and middleware support in convergence engine.
- Improved probabilistic and functional operator tests.
- Enhanced quantum gate and algorithm tests.
- Refactored comments and code structure for maintainability.
- Added support for complex numbers and advanced quantum operations.
### QuantumSuperposition v1.7.3, ### PositronicVariables v1.3.4
PositronicVariable test suite now complete, functionality complete and paired with QuantumSuperposition.
Added bitwise operators and tests, generally a happy little universe, this is the first release that's generally self consistant.
Entanglement Mechanics
The weird just got weirder. QuBits can now share destiny in style:
- Entangled Variable Linking: Tie variables together like they're in a codependent relationship.
- Collapse Propagation: Observing one causes collapse across the entire group — because misery loves company.
- Tensor Product Expansion: Generate all state combos across multiple QuBits, like a quantum group project.
- Entangled Group Mutation Propagation: Mutate one, mutate them all. Drama ensues.
- Entanglement Group Versioning: Track generational history of entangled graphs, because even quantum relationships have baggage.
- Entanglement Guardrails: Blocks self-links, paradoxes, and other crimes against nature.
- Multi-Party Collapse Agreement: Observers agree on a shared reality. For once.
- Entanglement Locking / Freezing: Prevent changes during critical operations — useful when the multiverse needs a time-out.
- Entanglement Group Tagging / Naming: Name your entanglement groups like pets. Examples:
BellPair_A,QuantumDrama42. - Partial Collapse Staging: Observe one qubit now, another later. Suspense!
- Entanglement Graph Diagnostics: Inspect group sizes, circular references, and the chaos % — an actual metric we now regret naming.
### QuantumSuperposition v1.2.0, ### PositronicVariables v1.0.0
QuantumSuperposition v1.2.0
- Added support for Hadamard basis sampling
- Improved
Collapse()determinism via replay-safe seed tracking
https://www.nuget.org/packages/QuantumSuperposition
PositronicVariables v1.0.0
- Refactored
PositronicVariable<T>to inherit fromQuantumSoup<T> - Added
RunConvergenceLoopUntilStable()to simulate standoffish variables