-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
468 lines (421 loc) · 17 KB
/
Copy pathindex.html
File metadata and controls
468 lines (421 loc) · 17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Entangled Code — David Coldeira</title>
<meta name="description" content="David Coldeira — a quantum programming language (QRL), a fine-tuned assistant that runs it live (Bell), and the local-first coding agent used to build both (Froe). Also production AI engineering: an agentic assistant over a live laboratory database, an LLM-powered route planner." />
<link rel="canonical" href="https://entangledcode.dev/"/>
<link rel="icon" href="favicon.ico" sizes="any"/>
<link rel="icon" type="image/png" sizes="32x32" href="favicon.png"/>
<link rel="icon" type="image/png" sizes="192x192" href="favicon-192.png"/>
<link rel="icon" type="image/png" sizes="512x512" href="favicon-512.png"/>
<link rel="apple-touch-icon" sizes="192x192" href="favicon-192.png"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://entangledcode.dev"/>
<meta property="og:title" content="Entangled Code — David Coldeira"/>
<meta property="og:description" content="A quantum language, a fine-tuned assistant that runs it live, and the coding agent used to build both. Plus production AI engineering with physics-grade rigour."/>
<meta property="og:image" content="https://entangledcode.dev/og-image.png"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="Entangled Code — David Coldeira"/>
<meta name="twitter:description" content="A quantum language, a fine-tuned assistant that runs it live, and the coding agent used to build both. Plus production AI engineering with physics-grade rigour."/>
<meta name="twitter:image" content="https://entangledcode.dev/og-image.png"/>
<style>
:root {
--bg: #08080f;
--surface: #0f0f1a;
--surface2: #14141f;
--border: #1e1e30;
--primary: #6d28d9;
--primary-glow: rgba(109, 40, 217, 0.25);
--accent: #06b6d4;
--accent-glow: rgba(6, 182, 212, 0.15);
--text: #e2e8f0;
--muted: #64748b;
--muted2: #94a3b8;
--code-bg: #0d1117;
--code-text: #7dd3fc;
--radius: 10px;
--radius-lg: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* ── Nav ── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(8, 8, 15, 0.85);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
padding: 0 2rem;
height: 56px;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-logo {
font-size: 1rem;
font-weight: 700;
letter-spacing: -0.02em;
display: flex;
align-items: center;
gap: 0.5rem;
}
.nav-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}
.nav-links {
display: flex;
align-items: center;
gap: 1.5rem;
font-size: 0.875rem;
}
.nav-links a { color: var(--muted2); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.btn {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.5rem 1.1rem;
border-radius: var(--radius);
font-size: 0.875rem;
font-weight: 500;
transition: all 0.15s;
cursor: pointer;
border: none;
}
.btn-primary {
background: var(--primary);
color: #fff;
}
.btn-primary:hover { background: #5b21b6; }
.btn-outline {
background: transparent;
color: var(--muted2);
border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--text); border-color: var(--muted); }
/* ── Hero ── */
.hero {
max-width: 760px;
margin: 0 auto;
padding: 6rem 2rem 5rem;
text-align: center;
}
.hero-label {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 2rem;
}
.hero h1 {
font-size: clamp(2rem, 6vw, 3.4rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
font-size: 1.1rem;
color: var(--muted2);
max-width: 560px;
margin: 0 auto 2.5rem;
line-height: 1.7;
}
.hero-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
/* ── Sections ── */
.section {
max-width: 760px;
margin: 0 auto;
padding: 4rem 2rem;
border-top: 1px solid var(--border);
}
.section-label {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--primary);
margin-bottom: 1rem;
}
.section h2 {
font-size: 1.75rem;
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 1rem;
}
.section p {
color: var(--muted2);
margin-bottom: 1rem;
line-height: 1.7;
}
.section p:last-child { margin-bottom: 0; }
.meta-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
font-size: 0.85rem;
color: var(--muted);
margin: 1.5rem 0;
}
.meta-row span { display: flex; align-items: center; gap: 0.35rem; }
.links-row {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1.5rem;
}
code {
font-family: "SF Mono", "Fira Code", monospace;
font-size: 0.85em;
background: var(--code-bg);
color: var(--code-text);
padding: 0.15em 0.4em;
border-radius: 4px;
}
/* ── Connected system flow ── */
.flow { display: flex; align-items: stretch; gap: 0.5rem; margin-top: 1.75rem; }
.flow-step {
flex: 1;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 1.35rem 1.35rem 1.25rem;
display: flex;
flex-direction: column;
gap: 0.4rem;
position: relative;
}
.flow-num {
width: 22px; height: 22px;
border-radius: 50%;
background: var(--primary-glow);
color: var(--accent);
font-size: 0.75rem;
font-weight: 700;
display: flex; align-items: center; justify-content: center;
margin-bottom: 0.15rem;
}
.flow-step h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.flow-tag { font-size: 0.7rem; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; }
.flow-step p { font-size: 0.875rem; color: var(--muted2); line-height: 1.6; flex: 1; margin: 0.2rem 0 0; }
.flow-arrow {
display: flex; align-items: center; justify-content: center;
color: var(--muted); font-size: 1.1rem; flex: 0 0 auto; width: 1.5rem;
}
@media (max-width: 720px) {
.flow { flex-direction: column; }
.flow-arrow { transform: rotate(90deg); width: auto; padding: 0.15rem 0; }
}
/* ── Project cards ── */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.5rem; }
.card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.card h3 small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.3rem; }
.card p { font-size: 0.9rem; color: var(--muted2); line-height: 1.6; flex: 1; margin: 0; }
.card-links { font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.card-links a { color: var(--muted2); border-bottom: 1px solid var(--border); }
.card-links a:hover { color: var(--text); border-color: var(--muted); }
.posts { list-style: none; margin-top: 1.25rem; }
.posts li { padding: 0.85rem 0; border-top: 1px solid var(--border); }
.posts li:last-child { border-bottom: 1px solid var(--border); }
.posts a { font-weight: 600; }
.posts a:hover { color: var(--accent); }
.posts span { display: block; font-size: 0.875rem; color: var(--muted2); margin-top: 0.2rem; }
/* ── Footer ── */
footer {
border-top: 1px solid var(--border);
padding: 2rem;
text-align: center;
font-size: 0.85rem;
color: var(--muted);
}
footer a { color: var(--muted2); }
footer a:hover { color: var(--text); }
@media (max-width: 600px) {
.nav-links .hide-mobile { display: none; }
.hero { padding: 4rem 1.5rem 3rem; }
.section { padding: 3rem 1.5rem; }
.cards { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<nav>
<div class="nav-logo">
<div class="nav-dot"></div>
entangled code
</div>
<div class="nav-links">
<a href="#system" class="hide-mobile">QRL · Bell · Froe</a>
<a href="#work" class="hide-mobile">AI engineering</a>
<a href="https://dcoldeira.github.io" class="hide-mobile">Blog</a>
<a href="https://github.com/dcoldeira" class="hide-mobile">GitHub</a>
<a href="mailto:david@entangledcode.dev" class="btn btn-outline">Contact</a>
</div>
</nav>
<!-- Hero -->
<section class="hero">
<div class="hero-label">David Coldeira · Bristol, UK</div>
<h1>A quantum language.<br><span>An assistant that runs it live.</span></h1>
<p>
QRL is a relations-first quantum programming language with a type-level soundness result no
existing quantum language can state. Bell puts it in front of anyone — plain English in, real
QRL code executed, real numbers out, running live today. Froe is the coding agent I built and
use to develop both. Ten years in production software and a physics degree underneath all of it.
</p>
<div class="hero-actions">
<a href="#system" class="btn btn-primary">See how it fits together</a>
<a href="https://bell.entangledcode.dev" class="btn btn-outline">Try Bell</a>
<a href="mailto:david@entangledcode.dev" class="btn btn-outline">Email</a>
</div>
</section>
<!-- The connected system: QRL, Bell, Froe -->
<section class="section" id="system">
<div class="section-label">The connected work</div>
<h2>A language, an assistant for it, and the tool that builds both</h2>
<p>
Three pieces, one practice: describe the physics precisely, make it usable by someone who isn't
its author, and build it all with a tool that respects where the code and the data are allowed
to live.
</p>
<div class="flow">
<div class="flow-step">
<div class="flow-num">1</div>
<h3>QRL</h3>
<div class="flow-tag">Relations-first quantum language</div>
<p>
Causal structure as a type-level primitive. A program that type-checks as <code>Switch(d)</code>
is provably causally nonseparable — a result no existing quantum programming language can state.
</p>
<div class="card-links"><a href="https://github.com/entangledcode/qrl">GitHub</a></div>
</div>
<div class="flow-arrow" aria-hidden="true">→</div>
<div class="flow-step">
<div class="flow-num">2</div>
<h3>Bell</h3>
<div class="flow-tag">Fine-tuned assistant, live now</div>
<p>
Plain English in, real QRL code executed, real numbers out — not the model guessing a number.
Provider-swappable: running on Mistral (EU-hosted) today, a self-hosted fine-tune in standby.
</p>
<div class="card-links"><a href="https://bell.entangledcode.dev">Try it — bell.entangledcode.dev</a></div>
</div>
<div class="flow-arrow" aria-hidden="true">→</div>
<div class="flow-step">
<div class="flow-num">3</div>
<h3>Froe</h3>
<div class="flow-tag">The tool that builds both</div>
<p>
A local-first coding agent in Go. Source never has to leave the machine, the LAN, or the EU.
A single static binary for the terminal and Neovim, dogfooded daily on QRL and Bell themselves.
</p>
<div class="card-links"><a href="mailto:david@entangledcode.dev?subject=Froe%20code">Code on request</a></div>
</div>
</div>
<p style="margin-top:2rem">
QRL implements five foundational papers — process matrices (Oreshkov 2012), causal nonseparability
witnesses (Araújo 2015), quantum causal models (Allen 2017), loophole-free Bell tests (Hensen 2015),
and categorical quantum mechanics (Coecke & Kissinger 2017) — with a full compiler pipeline from
relations to MBQC measurement patterns across four backends (Perceval, PennyLane, graphix, Qiskit),
hardware-verified on Quandela's qpu:belenos photonic QPU (S = 2.61 ± 0.08).
</p>
<div class="meta-row">
<span>~13,600 lines</span>
<span>896 tests passing</span>
<span>31 modules</span>
<span>Preprint on Zenodo</span>
</div>
<div class="links-row">
<a href="https://github.com/entangledcode/qrl" class="btn btn-primary">QRL on GitHub</a>
<a href="https://doi.org/10.5281/zenodo.18292199" class="btn btn-outline">Zenodo DOI</a>
<a href="https://github.com/dcoldeira/qrl-book" class="btn btn-outline">QRL Book</a>
</div>
</section>
<!-- Production AI engineering elsewhere -->
<section class="section" id="work">
<div class="section-label">Production AI engineering</div>
<h2>Language models with a verifier around them, for other people's systems</h2>
<p>
Same pattern as above, applied at a day job and a side project: the model does the concentrated
reasoning, deterministic code checks the result before it reaches a user or a database, and
permissions are enforced by the system rather than by the prompt.
</p>
<div class="cards">
<div class="card">
<h3><small>Day job · Geoquip Marine</small>Gio, an assistant over a live laboratory database</h3>
<p>
LLM tool-use inside GQMLab, the LIMS I built for a UKAS-accredited geotechnical laboratory.
Natural-language SQL, charts and live report-schema introspection, on a read-only database user
with query validation and role-gated access. In production for the lab's engineers.
</p>
<div class="card-links">
<a href="https://dcoldeira.github.io/posts/2026-09-16-llm-production-database/">How the read-only layers work</a>
<a href="https://gqmlab.geoquip-marine.com">GQMLab</a>
</div>
</div>
<div class="card">
<h3><small>Forza7 · SailGenius</small>Marco, an LLM-powered passage planner</h3>
<p>
Reasons over live weather, tide and boat-performance data to propose offshore routes.
Every AI-generated waypoint is validated against real water and depth data before the
sailor sees it. Part of a Flutter sailing suite with a FastAPI/PostgreSQL backend.
</p>
<div class="card-links">
<a href="https://dcoldeira.github.io/posts/2026-09-16-llm-verified-execution/">Why the model does not do the physics</a>
<a href="https://forza7.dev">forza7.dev</a>
</div>
</div>
</div>
</section>
<!-- Writing -->
<section class="section" id="writing">
<div class="section-label">Writing</div>
<h2>Notes from running these in production</h2>
<ul class="posts">
<li>
<a href="https://dcoldeira.github.io/posts/2026-09-16-llm-production-database/">Putting an LLM on a Production Database, Read-Only by Construction</a>
<span>Four independent layers, only one of which actually matters, and why the prompt is the layer you should trust least.</span>
</li>
<li>
<a href="https://dcoldeira.github.io/posts/2026-09-16-llm-verified-execution/">Don't Let the Model Do the Physics</a>
<span>Keep the model to reasoning and let deterministic code own every number that reaches a user.</span>
</li>
</ul>
<div class="links-row">
<a href="https://dcoldeira.github.io" class="btn btn-outline">All posts</a>
</div>
</section>
<footer>
<p>
<a href="https://github.com/dcoldeira">github.com/dcoldeira</a> ·
<a href="https://www.linkedin.com/in/dcoldeira">linkedin.com/in/dcoldeira</a> ·
<a href="https://github.com/entangledcode/qrl">entangledcode/qrl</a> ·
<a href="https://doi.org/10.5281/zenodo.18292199">Zenodo</a> ·
<a href="privacy.html">Privacy</a>
</p>
</footer>
</body>
</html>