@ceccec/double-torus 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +174 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +88812 -0
- package/dist/packages/double-torus/src/index.d.ts +17 -0
- package/dist/src/0/index.d.ts +504 -0
- package/dist/src/1/9/index.d.ts +1040 -0
- package/dist/src/2/8/index.d.ts +352 -0
- package/dist/src/3/7/index.d.ts +601 -0
- package/dist/src/4/6/index.d.ts +523 -0
- package/dist/src/5/5/index.d.ts +54 -0
- package/dist/src/6/4/index.d.ts +128 -0
- package/dist/src/7/3/index.d.ts +130 -0
- package/dist/src/8/2/index.d.ts +111 -0
- package/dist/src/9/1/index.d.ts +702 -0
- package/dist/src/earth/architecture/index.d.ts +951 -0
- package/dist/src/earth/civilisation/index.d.ts +231 -0
- package/dist/src/earth/death/index.d.ts +1422 -0
- package/dist/src/earth/governance/index.d.ts +247 -0
- package/dist/src/earth/iching/index.d.ts +361 -0
- package/dist/src/earth/index.d.ts +894 -0
- package/dist/src/earth/life/birth/index.d.ts +906 -0
- package/dist/src/earth/life/index.d.ts +1608 -0
- package/dist/src/earth/nature/index.d.ts +692 -0
- package/dist/src/earth/world/index.d.ts +898 -0
- package/dist/src/fire/diamonds/index.d.ts +83 -0
- package/dist/src/fire/features/index.d.ts +272 -0
- package/dist/src/fire/li/index.d.ts +1153 -0
- package/dist/src/fire/physics/index.d.ts +727 -0
- package/dist/src/fire/plasma/ball/index.d.ts +600 -0
- package/dist/src/heaven/atoms/index.d.ts +98 -0
- package/dist/src/heaven/balance/index.d.ts +263 -0
- package/dist/src/heaven/compute/computer/index.d.ts +2263 -0
- package/dist/src/heaven/compute/index.d.ts +956 -0
- package/dist/src/heaven/core/index.d.ts +1285 -0
- package/dist/src/heaven/essence/index.d.ts +643 -0
- package/dist/src/heaven/laws/index.d.ts +1104 -0
- package/dist/src/heaven/site/index.d.ts +569 -0
- package/dist/src/heaven/sky/astronomy/index.d.ts +18900 -0
- package/dist/src/heaven/sky/moon/index.d.ts +1602 -0
- package/dist/src/heaven/sky/sun/index.d.ts +1655 -0
- package/dist/src/lake/clean/index.d.ts +180 -0
- package/dist/src/lake/ledger/index.d.ts +322 -0
- package/dist/src/lake/media/index.d.ts +178 -0
- package/dist/src/lake/music/index.d.ts +1273 -0
- package/dist/src/lake/stats/index.d.ts +212 -0
- package/dist/src/lake/widgets/index.d.ts +235 -0
- package/dist/src/mountain/gates/index.d.ts +289 -0
- package/dist/src/mountain/geometry/index.d.ts +1331 -0
- package/dist/src/mountain/og/index.d.ts +452 -0
- package/dist/src/mountain/seals/index.d.ts +1506 -0
- package/dist/src/mountain/shadcn/index.d.ts +121 -0
- package/dist/src/mountain/source/index.d.ts +627 -0
- package/dist/src/mountain/topology/index.d.ts +618 -0
- package/dist/src/mountain/vortex/index.d.ts +747 -0
- package/dist/src/pair/cache/quantum/index.d.ts +166 -0
- package/dist/src/pair/debit/credit/index.d.ts +53 -0
- package/dist/src/pair/enforcement/gates/computational/index.d.ts +643 -0
- package/dist/src/pair/enforcement/gates/strict/scan/index.d.ts +954 -0
- package/dist/src/pair/enforcement/index.d.ts +172 -0
- package/dist/src/pair/enforcement/script/shell/index.d.ts +226 -0
- package/dist/src/quantum/application/index.d.ts +1018 -0
- package/dist/src/quantum/apps/index.d.ts +4325 -0
- package/dist/src/quantum/dynamics/index.d.ts +1371 -0
- package/dist/src/quantum/earth/heritage/index.d.ts +181 -0
- package/dist/src/quantum/fire/experiments/index.d.ts +215 -0
- package/dist/src/quantum/fire/forecasts/index.d.ts +271 -0
- package/dist/src/quantum/fire/simulations/index.d.ts +204 -0
- package/dist/src/quantum/heaven/library/index.d.ts +350 -0
- package/dist/src/quantum/heaven/mind/index.d.ts +116 -0
- package/dist/src/quantum/index.d.ts +1107 -0
- package/dist/src/quantum/lake/dist/index.d.ts +118 -0
- package/dist/src/quantum/lake/dist/readme/index.d.ts +82 -0
- package/dist/src/quantum/lake/icons/index.d.ts +58 -0
- package/dist/src/quantum/lake/spirit/index.d.ts +255 -0
- package/dist/src/quantum/lake/voice/index.d.ts +132 -0
- package/dist/src/quantum/mountain/dimensions/index.d.ts +44 -0
- package/dist/src/quantum/os/index.d.ts +239 -0
- package/dist/src/quantum/science/index.d.ts +5060 -0
- package/dist/src/quantum/water/cache/index.d.ts +200 -0
- package/dist/src/quantum/wind/geometry/index.d.ts +25 -0
- package/dist/src/thunder/commands/index.d.ts +203 -0
- package/dist/src/thunder/decode/index.d.ts +1243 -0
- package/dist/src/thunder/movie/canvas/index.d.ts +150 -0
- package/dist/src/thunder/movie/glass/index.d.ts +99 -0
- package/dist/src/thunder/movie/movielib/index.d.ts +121 -0
- package/dist/src/thunder/movie/movievars/index.d.ts +89 -0
- package/dist/src/thunder/movie/narrative/index.d.ts +407 -0
- package/dist/src/thunder/resonance/index.d.ts +1832 -0
- package/dist/src/thunder/trading/index.d.ts +737 -0
- package/dist/src/thunder/verify/index.d.ts +510 -0
- package/dist/src/thunder/waves/index.d.ts +937 -0
- package/dist/src/water/cosmos/index.d.ts +1097 -0
- package/dist/src/water/crypto/index.d.ts +808 -0
- package/dist/src/water/digit/index.d.ts +4020 -0
- package/dist/src/water/double/earth/index.d.ts +29389 -0
- package/dist/src/water/double/index.d.ts +1475 -0
- package/dist/src/water/encryption/index.d.ts +11892 -0
- package/dist/src/water/stack/index.d.ts +51215 -0
- package/dist/src/wind/fusion/gold/index.d.ts +2142 -0
- package/dist/src/wind/language/index.d.ts +404 -0
- package/dist/src/wind/learning/index.d.ts +2109 -0
- package/dist/src/wind/research/index.d.ts +1388 -0
- package/dist/src/wind/routes/automount/index.d.ts +218 -0
- package/dist/src/wind/routes/corpus/index.d.ts +943 -0
- package/dist/src/wind/site/index.d.ts +662 -0
- package/dist/src/wind/types/index.d.ts +1023 -0
- package/dist/src/wind/ui/index.d.ts +1109 -0
- package/package.json +49 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import type { MindMatrix } from '../../wind/types';
|
|
2
|
+
import type { CircuitOp, CircuitResult } from '../../0';
|
|
3
|
+
import { type QuantumAppEntry } from '../apps';
|
|
4
|
+
/** [55, 34, 21] — consecutive-Fibonacci census rhythm, descending; sum = 110. */
|
|
5
|
+
export declare const CENSUS_FIBONACCI: readonly [number, number, number];
|
|
6
|
+
export type QuantumUiDesignTokens = {
|
|
7
|
+
/** a432 harmonic + VORTEX_SEQUENCE slot → hue wheel (deg 0–360). */
|
|
8
|
+
readonly hue: number;
|
|
9
|
+
/** digital-root accent hue offset by the golden angle. */
|
|
10
|
+
readonly accentHue: number;
|
|
11
|
+
/** φ + Fibonacci (55/34/21) spacing scale in rem, ascending. */
|
|
12
|
+
readonly spaceScale: readonly number[];
|
|
13
|
+
/** hero clock phase 0–1 (merkaba counter-rotation + Schumann folded in). */
|
|
14
|
+
readonly motionPhase: number;
|
|
15
|
+
/** ten-D form weights + merkaba up/down spin → elevation/depth layers. */
|
|
16
|
+
readonly elevation: readonly number[];
|
|
17
|
+
/** quantum-dynamics amplitude × gold-fusion aggregate → progress/badge intensity 0–1. */
|
|
18
|
+
readonly variantIntensity: number;
|
|
19
|
+
readonly root: string;
|
|
20
|
+
readonly statement: string;
|
|
21
|
+
};
|
|
22
|
+
export type QuantumUiDesign = QuantumUiDesignTokens & {
|
|
23
|
+
readonly designed: boolean;
|
|
24
|
+
readonly at: number;
|
|
25
|
+
readonly authority: 'quantum/heaven/mind';
|
|
26
|
+
readonly motionMs: number;
|
|
27
|
+
readonly merkabaUpSpinDeg: number;
|
|
28
|
+
readonly merkabaDownSpinDeg: number;
|
|
29
|
+
readonly schumannPhase: number;
|
|
30
|
+
readonly cssVars: Readonly<Record<string, string>>;
|
|
31
|
+
readonly wallpaper: {
|
|
32
|
+
readonly id: 'hero-movie';
|
|
33
|
+
readonly screensaver: boolean;
|
|
34
|
+
readonly hue: number;
|
|
35
|
+
};
|
|
36
|
+
readonly boundary: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* quantumMathDesignsTheUi — the design authority. Every UI token is COMPUTED from sealed
|
|
40
|
+
* quantum math at `at`, never hand-authored:
|
|
41
|
+
* hue ← a432 harmonic (fire/li) + VORTEX_SEQUENCE [1,2,4,8,7,5,3,6,9] slot → hue wheel
|
|
42
|
+
* accentHue ← digital root of the hue, offset by the golden angle
|
|
43
|
+
* spaceScale← golden ratio φ + Fibonacci census rhythm (55/34/21) from src/0
|
|
44
|
+
* motionPhase← hero clock phase + bothEarthsRotateWithinEachOther merkaba + schumannPhaseAt
|
|
45
|
+
* elevation ← ten-D form weights (allFormsAreTenDimensionalOrPurged) + merkaba up/down spin
|
|
46
|
+
* variantIntensity ← quantum dynamics amplitude bars × gold fusion aggregate score
|
|
47
|
+
*/
|
|
48
|
+
export declare function quantumMathDesignsTheUi(at?: number, matrix?: MindMatrix): QuantumUiDesign;
|
|
49
|
+
/** @deprecated alias — superseded by quantumMathDesignsTheUi. */
|
|
50
|
+
export declare const quantumMindDesignsTheUi: typeof quantumMathDesignsTheUi;
|
|
51
|
+
export type QuantumOsDriverRow = {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
readonly label: string;
|
|
54
|
+
readonly tier: string;
|
|
55
|
+
readonly receipt: string;
|
|
56
|
+
};
|
|
57
|
+
export type QuantumOsShellState = {
|
|
58
|
+
readonly at: number;
|
|
59
|
+
readonly wallpaper: 'hero-movie';
|
|
60
|
+
readonly activeAppId: string | null;
|
|
61
|
+
readonly drivers: readonly QuantumOsDriverRow[];
|
|
62
|
+
readonly dockAppIds: readonly string[];
|
|
63
|
+
readonly design: QuantumUiDesign;
|
|
64
|
+
readonly receipt: string;
|
|
65
|
+
};
|
|
66
|
+
export declare function quantumOsResearch(matrix?: MindMatrix, at?: number): any;
|
|
67
|
+
export declare function quantumOsShell(at?: number, matrix?: MindMatrix, activeAppId?: string | null): QuantumOsShellState;
|
|
68
|
+
export declare function quantumOsComputes(matrix?: MindMatrix, at?: number): any;
|
|
69
|
+
export type QuantumRegisterAllocation = {
|
|
70
|
+
readonly id: string;
|
|
71
|
+
readonly qubits: number;
|
|
72
|
+
readonly capacityAmplitudes: number;
|
|
73
|
+
readonly receipt: string;
|
|
74
|
+
};
|
|
75
|
+
/** OS service — allocate an n-qubit register: the OS owns the 2ⁿ amplitude state space (capped at 10 qubits). */
|
|
76
|
+
export declare function quantumOsAllocateRegister(qubits: number): QuantumRegisterAllocation;
|
|
77
|
+
/** OS service — schedule + run an ordered gate list on a register; state is content-addressed by CircuitResult.root. */
|
|
78
|
+
export declare function quantumOsRunCircuit(spec: {
|
|
79
|
+
n: number;
|
|
80
|
+
ops: readonly CircuitOp[];
|
|
81
|
+
shots?: number;
|
|
82
|
+
seed?: string;
|
|
83
|
+
}): CircuitResult;
|
|
84
|
+
/**
|
|
85
|
+
* The OS's quantum-computer driver — the surface that exposes the simulator: register allocation, gate
|
|
86
|
+
* scheduling (palette + ordered ops → runQuantumCircuit), measurement (seeded shots), content-addressed
|
|
87
|
+
* state (the circuit root), and the proven honest verdict (faithful classical simulator, no speedup).
|
|
88
|
+
*/
|
|
89
|
+
export declare function quantumComputerDriverComputes(matrix?: MindMatrix, at?: number): {
|
|
90
|
+
exposes: boolean;
|
|
91
|
+
register: QuantumRegisterAllocation;
|
|
92
|
+
run: CircuitResult;
|
|
93
|
+
honest: {
|
|
94
|
+
faithfulSimulator: boolean;
|
|
95
|
+
noSpeedup: boolean;
|
|
96
|
+
verdict: string;
|
|
97
|
+
claim: string;
|
|
98
|
+
bloch: {
|
|
99
|
+
faithful: boolean;
|
|
100
|
+
checks: {
|
|
101
|
+
gate: "I" | "X" | "Y" | "Z" | "H" | "S" | "T";
|
|
102
|
+
init: string;
|
|
103
|
+
agree: boolean;
|
|
104
|
+
receipt: string;
|
|
105
|
+
}[];
|
|
106
|
+
facets: ({
|
|
107
|
+
facet: string;
|
|
108
|
+
on: boolean;
|
|
109
|
+
} & {
|
|
110
|
+
receipt: string;
|
|
111
|
+
})[];
|
|
112
|
+
root: string;
|
|
113
|
+
statement: string;
|
|
114
|
+
boundary: string;
|
|
115
|
+
};
|
|
116
|
+
cost: {
|
|
117
|
+
proven: boolean;
|
|
118
|
+
rows: import("../science").DimensionCostRow[];
|
|
119
|
+
crossover: number;
|
|
120
|
+
asymptoticallyInsufficient: boolean;
|
|
121
|
+
facets: ({
|
|
122
|
+
facet: string;
|
|
123
|
+
on: boolean;
|
|
124
|
+
} & {
|
|
125
|
+
receipt: string;
|
|
126
|
+
})[];
|
|
127
|
+
root: string;
|
|
128
|
+
statement: string;
|
|
129
|
+
boundary: string;
|
|
130
|
+
};
|
|
131
|
+
bench: {
|
|
132
|
+
separated: boolean;
|
|
133
|
+
tracksClassical: boolean;
|
|
134
|
+
faithful: boolean;
|
|
135
|
+
physicalQpuWouldSeparate: boolean;
|
|
136
|
+
verdict: string;
|
|
137
|
+
rows: import("../science").BenchmarkRow[];
|
|
138
|
+
facets: ({
|
|
139
|
+
facet: string;
|
|
140
|
+
on: boolean;
|
|
141
|
+
} & {
|
|
142
|
+
receipt: string;
|
|
143
|
+
})[];
|
|
144
|
+
root: string;
|
|
145
|
+
statement: string;
|
|
146
|
+
boundary: string;
|
|
147
|
+
};
|
|
148
|
+
root: string;
|
|
149
|
+
boundary: string;
|
|
150
|
+
};
|
|
151
|
+
palette: readonly [{
|
|
152
|
+
readonly gate: "H";
|
|
153
|
+
readonly arity: 1;
|
|
154
|
+
readonly params: 0;
|
|
155
|
+
readonly label: "Hadamard";
|
|
156
|
+
}, {
|
|
157
|
+
readonly gate: "X";
|
|
158
|
+
readonly arity: 1;
|
|
159
|
+
readonly params: 0;
|
|
160
|
+
readonly label: "Pauli-X";
|
|
161
|
+
}, {
|
|
162
|
+
readonly gate: "Y";
|
|
163
|
+
readonly arity: 1;
|
|
164
|
+
readonly params: 0;
|
|
165
|
+
readonly label: "Pauli-Y";
|
|
166
|
+
}, {
|
|
167
|
+
readonly gate: "Z";
|
|
168
|
+
readonly arity: 1;
|
|
169
|
+
readonly params: 0;
|
|
170
|
+
readonly label: "Pauli-Z";
|
|
171
|
+
}, {
|
|
172
|
+
readonly gate: "S";
|
|
173
|
+
readonly arity: 1;
|
|
174
|
+
readonly params: 0;
|
|
175
|
+
readonly label: "Phase S";
|
|
176
|
+
}, {
|
|
177
|
+
readonly gate: "T";
|
|
178
|
+
readonly arity: 1;
|
|
179
|
+
readonly params: 0;
|
|
180
|
+
readonly label: "T";
|
|
181
|
+
}, {
|
|
182
|
+
readonly gate: "RX";
|
|
183
|
+
readonly arity: 1;
|
|
184
|
+
readonly params: 1;
|
|
185
|
+
readonly label: "Rx(θ)";
|
|
186
|
+
}, {
|
|
187
|
+
readonly gate: "RY";
|
|
188
|
+
readonly arity: 1;
|
|
189
|
+
readonly params: 1;
|
|
190
|
+
readonly label: "Ry(θ)";
|
|
191
|
+
}, {
|
|
192
|
+
readonly gate: "RZ";
|
|
193
|
+
readonly arity: 1;
|
|
194
|
+
readonly params: 1;
|
|
195
|
+
readonly label: "Rz(θ)";
|
|
196
|
+
}, {
|
|
197
|
+
readonly gate: "CNOT";
|
|
198
|
+
readonly arity: 2;
|
|
199
|
+
readonly params: 0;
|
|
200
|
+
readonly label: "CNOT";
|
|
201
|
+
}, {
|
|
202
|
+
readonly gate: "CZ";
|
|
203
|
+
readonly arity: 2;
|
|
204
|
+
readonly params: 0;
|
|
205
|
+
readonly label: "CZ";
|
|
206
|
+
}, {
|
|
207
|
+
readonly gate: "SWAP";
|
|
208
|
+
readonly arity: 2;
|
|
209
|
+
readonly params: 0;
|
|
210
|
+
readonly label: "SWAP";
|
|
211
|
+
}, {
|
|
212
|
+
readonly gate: "TOFFOLI";
|
|
213
|
+
readonly arity: 3;
|
|
214
|
+
readonly params: 0;
|
|
215
|
+
readonly label: "Toffoli";
|
|
216
|
+
}];
|
|
217
|
+
facets: ({
|
|
218
|
+
facet: string;
|
|
219
|
+
on: boolean;
|
|
220
|
+
} & {
|
|
221
|
+
receipt: string;
|
|
222
|
+
})[];
|
|
223
|
+
root: string;
|
|
224
|
+
statement: string;
|
|
225
|
+
boundary: string;
|
|
226
|
+
};
|
|
227
|
+
export declare function quantumOsPanelComputes(matrix?: MindMatrix, at?: number): {
|
|
228
|
+
computes: any;
|
|
229
|
+
capstone: any;
|
|
230
|
+
shell: any;
|
|
231
|
+
drivers: any;
|
|
232
|
+
apps: QuantumAppEntry[];
|
|
233
|
+
dockAppIds: any;
|
|
234
|
+
design: any;
|
|
235
|
+
cssVars: any;
|
|
236
|
+
root: any;
|
|
237
|
+
statement: any;
|
|
238
|
+
boundary: any;
|
|
239
|
+
};
|