Commit 3e46557
feat(quantum+forge): Quantum-to-FPGA integration — quantum weights on silicon
Quantum VM CLI (src/quantum/main.zig):
- `zig build quantum -- chsh --sacred` — CHSH correlation test
- `zig build quantum -- demo` — gate demonstrations
- `zig build quantum -- bench` — 142M Hadamard ops/sec
- `zig build quantum -- weights` — generate quantum-derived FPGA weights
Quantum-derived weights in ternary_dot.v:
- Generated via |0> -> H3 -> Sacred_Phase -> Measure circuit
- Seed 137 (fine structure constant), golden angle phase
- WEIGHTS = 32'h86692A15 embedded in FPGA dot product
FORGE improvements:
- MUXF7/MUXF8 support (mapped to LUT3 with INIT=0xCA)
- 201 cells, 6195 FASM features, 102ms synthesis
Pipeline: Quantum VM -> weights -> Verilog -> Yosys -> FORGE -> bitstream
phi^2 + 1/phi^2 = 3 = TRINITY
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5bb8b4d commit 3e46557
6 files changed
Lines changed: 2168 additions & 2499 deletions
File tree
- fpga/openxc7-synth
- src
- forge
- quantum
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1217 | 1217 | | |
1218 | 1218 | | |
1219 | 1219 | | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1220 | 1241 | | |
1221 | 1242 | | |
1222 | 1243 | | |
| |||
Binary file not shown.
0 commit comments