Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TLM Quantum Number Generator
|
| 2 |
+
|
| 3 |
+
Recursive vacuum / black-hole gravity input layer β Free Pascal implementation.
|
| 4 |
+
|
| 5 |
+
Authors: Ahmad Ali Parr, Jessica L. Williams (SNAPKITTYWEST)
|
| 6 |
+
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## Architecture
|
| 10 |
+
|
| 11 |
+
```
|
| 12 |
+
P4 ALGOL (source boundary)
|
| 13 |
+
β
|
| 14 |
+
βΌ
|
| 15 |
+
Quantum Event Generator
|
| 16 |
+
β VacuumSample { SourceWord, GravityWord, EventWord, ModeWord }
|
| 17 |
+
βΌ
|
| 18 |
+
Pascal Recursive Generator
|
| 19 |
+
β RecursiveVacuumStep + QuantumState (16 Γ 32-bit words)
|
| 20 |
+
βΌ
|
| 21 |
+
32-bit Quantum Number
|
| 22 |
+
β RecursiveP3 feedback (depth 4)
|
| 23 |
+
βΌ
|
| 24 |
+
P3 Round (QuantumP3Round)
|
| 25 |
+
β
|
| 26 |
+
βΌ
|
| 27 |
+
P2 GF(2^8) (MixColumn / XTime)
|
| 28 |
+
β
|
| 29 |
+
βΌ
|
| 30 |
+
P1 Boolean (XOR32, AND32, ROTL32, ROTR32)
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
The VacuumSample interface does not prescribe how values are obtained.
|
| 34 |
+
Any external vacuum / gravity mechanism can supply them directly.
|
| 35 |
+
|
| 36 |
+
**All internal operations are integer, modular, recursive, and deterministic.**
|
| 37 |
+
No floating point is used.
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## Key Properties
|
| 42 |
+
|
| 43 |
+
| Property | Value |
|
| 44 |
+
|----------|-------|
|
| 45 |
+
| State size | 16 Γ 32-bit words |
|
| 46 |
+
| Max recursion depth | 64 |
|
| 47 |
+
| Output word size | 32 bits |
|
| 48 |
+
| Arithmetic | Modular integer (mod 2Β³Β²) |
|
| 49 |
+
| GF field | GF(2βΈ), irreducible poly xβΈ+xβ΄+xΒ³+x+1 (AES) |
|
| 50 |
+
| P3 test vector | D4 BF 5D 30 β 04 66 81 E5 (canonical AES MixColumns) |
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Build
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
# Requires Free Pascal Compiler (fpc)
|
| 58 |
+
fpc tlm_quantum_generator.pas
|
| 59 |
+
./tlm_quantum_generator
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
Expected output:
|
| 63 |
+
```
|
| 64 |
+
TLM QUANTUM NUMBER GENERATOR
|
| 65 |
+
BEGIN VERIFICATION
|
| 66 |
+
XTIME TEST PASSED
|
| 67 |
+
MIXCOLUMN D4 BF 5D 30 TEST PASSED
|
| 68 |
+
ZERO COLUMN TEST PASSED
|
| 69 |
+
REPEATED COLUMN TEST PASSED
|
| 70 |
+
STATE INITIALIZATION TEST PASSED
|
| 71 |
+
RECURSION TEST PASSED
|
| 72 |
+
SOURCE FUSION TEST PASSED
|
| 73 |
+
ALL VERIFICATION TESTS PASSED
|
| 74 |
+
|
| 75 |
+
RECURSIVE QUANTUM GENERATION
|
| 76 |
+
-----------------------------
|
| 77 |
+
EVENT 0 SOURCE=... GRAVITY=... QUANTUM=...
|
| 78 |
+
...
|
| 79 |
+
GENERATOR COMPLETE
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
## Verification Tests
|
| 85 |
+
|
| 86 |
+
| Test | What it checks |
|
| 87 |
+
|------|---------------|
|
| 88 |
+
| `TestXTime` | GF(2βΈ) multiply-by-x at key boundary values ($00,$01,$40,$80,$FF) |
|
| 89 |
+
| `TestMixColumn` | AES canonical vector: D4 BF 5D 30 β 04 66 81 E5 |
|
| 90 |
+
| `TestZeroColumn` | Zero input β zero output (linearity) |
|
| 91 |
+
| `TestRepeatedColumn` | Constant column is its own fixed point |
|
| 92 |
+
| `TestStateInitialization` | Same seed β identical 16-word state (determinism) |
|
| 93 |
+
| `TestRecursion` | `RecursiveSeed` is pure / referentially transparent |
|
| 94 |
+
| `TestSampleFusion` | `FuseVacuumSample` is deterministic |
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
## Source Boundary
|
| 99 |
+
|
| 100 |
+
```
|
| 101 |
+
VacuumSample
|
| 102 |
+
βββ SourceWord (vacuum field)
|
| 103 |
+
βββ GravityWord (gravity field)
|
| 104 |
+
βββ EventWord (quantum event)
|
| 105 |
+
βββ ModeWord (mode selector)
|
| 106 |
+
β
|
| 107 |
+
βΌ
|
| 108 |
+
FuseVacuumSample β RecursiveVacuumStep β QuantumState β QN β P3 β GF(2βΈ) β Boolean
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## License
|
| 114 |
+
|
| 115 |
+
MIT
|