The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>Quantum Studio — see the invisible</title>
<style>
:root{color-scheme:dark;--bg:#101820;--panel:#16212b;--line:#ffffff15;--ink:#e8edf1;--muted:#8596a5;--orange:#ffb26b;--blue:#8abadd;--mint:#bce5c5;--mono:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.5 system-ui,-apple-system,sans-serif}button,select,input{font:inherit}button,select{cursor:pointer;color:inherit}button{touch-action:manipulation}button{background:transparent;border:1px solid #ffffff25;border-radius:6px;padding:7px 10px}button:hover{background:#ffffff08;border-color:#ffffff55}button:disabled{opacity:.3;cursor:default}select{background:var(--panel);border:1px solid #ffffff25;border-radius:5px;padding:7px;font-size:11px}input{accent-color:var(--orange)}:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.eyebrow{font:var(--mono);text-transform:uppercase;letter-spacing:1.6px;color:var(--muted)}[hidden]{display:none!important}
header{height:68px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:600;letter-spacing:-.5px}.brand-mark{font:28px Georgia,serif;color:var(--orange)}.header-actions{display:flex;gap:8px;align-items:center}.header-actions button{font-size:11px}.save{background:var(--orange);color:#342718;border-color:var(--orange)}.save:hover{background:#ffca93;color:#342718}.edited{font:var(--mono);font-size:10px;color:var(--muted);margin-right:8px}
main{max-width:1560px;padding:28px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}h1{font-size:clamp(27px,3vw,42px);line-height:1.13;letter-spacing:-1.4px;font-weight:450;margin:9px 0 10px}h1 em{font:italic 1.08em Georgia,serif;color:var(--orange)}.intro p{margin:0;color:var(--muted);max-width:650px;font-size:12px;line-height:1.7}.norm{font:var(--mono);text-align:right;color:var(--muted);white-space:nowrap}.norm strong{display:block;font-size:21px;font-weight:400;color:var(--mint);margin-bottom:3px}
.presets{display:flex;gap:9px;margin-bottom:23px;flex-wrap:wrap}.preset{display:flex;gap:9px;align-items:center;text-align:left;font-size:12px;background:var(--panel);padding:11px 15px;border-color:var(--line)}.preset small{font:var(--mono);color:var(--muted);font-size:10px}.preset[aria-pressed=true]{border-color:#ffb26b88;background:#ffb26b09}.preset b{font-weight:500}.preset .symbol{font:17px Georgia,serif;color:var(--orange)}
.workbench{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:18px}.left{min-width:0;display:flex;flex-direction:column;gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:10px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;padding:19px 21px 12px;gap:10px}.card-head h2{font-size:13px;font-weight:550;letter-spacing:-.1px;margin:0}.card-head .eyebrow{font-size:9px;letter-spacing:1px}.edit-tools{display:flex;gap:5px}.edit-tools button{font-size:10px;padding:4px 7px}
.circuit{overflow-x:auto;padding:17px 21px 10px;background:radial-gradient(#91a6b117 .6px,transparent .6px) 0 0/16px 16px;min-height:154px}.lane{display:flex;align-items:center;height:61px;width:max-content;min-width:100%;position:relative}.qlabel{width:62px;flex-shrink:0;font:var(--mono);color:var(--blue);overflow:hidden;text-overflow:ellipsis;padding-right:8px}.wire{width:62px;height:61px;position:relative;flex-shrink:0;display:grid;place-items:center}.wire::before{content:'';height:1px;background:#91a6b13d;position:absolute;left:0;right:0;top:50%}.wire.past::before{background:#ffb26b55}.wire .gate{position:relative;z-index:1;width:35px;height:35px;display:grid;place-items:center;padding:0;border:1px solid #d8a36a91;background:#332b24;color:var(--orange);font:12px ui-monospace,monospace;box-shadow:0 0 0 5px var(--panel)}.wire .gate.selected{background:var(--orange);color:#302211}.wire.future{opacity:.35}.wire .connector{position:absolute;z-index:1;top:50%;width:1px;background:#dfa069;pointer-events:none}.wire .control-gate{border-radius:50%;width:12px;height:12px;background:var(--orange);padding:0;box-shadow:0 0 0 4px var(--panel);position:relative;z-index:2}.wire .target-gate{border-radius:50%;font-size:20px;background:var(--panel)}.wire .step-number{position:absolute;bottom:0;font:9px ui-monospace,monospace;color:var(--muted)}
.timeline{display:flex;align-items:center;gap:12px;padding:13px 21px;border-bottom:1px solid var(--line);border-top:1px solid var(--line)}.timeline button{width:29px;height:27px;padding:0;font-size:15px}.timeline input{flex:1;min-width:40px;height:3px}.timeline output{font:var(--mono);color:var(--orange);min-width:76px;text-align:right}.composer{padding:15px 21px 17px;display:flex;gap:9px;align-items:end;flex-wrap:wrap}.field{display:grid;gap:5px}.field label{font:var(--mono);font-size:9px;color:var(--muted)}.composer button{font-size:11px;padding:8px 12px;background:#2c3c45;border-color:#425c69}.composer #theta-wrap{max-width:125px;flex:1;min-width:95px}.composer input{height:28px;width:100%;margin:0}.step-story{padding:0 21px 18px;font-size:11px;color:var(--muted);min-height:33px}
.spheres{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));padding:0 12px 16px;gap:5px}.sphere{min-width:0;text-align:center}.sphere canvas{display:block;width:100%;max-width:250px;aspect-ratio:1;margin:auto;cursor:grab;touch-action:none}.sphere .qubit-name{font:var(--mono);color:var(--blue)}.sphere .purity{font:var(--mono);font-size:10px;color:var(--muted)}.sphere .purity b{font-weight:400;color:var(--mint)}.sphere .values{font:9px/1.7 ui-monospace,monospace;color:var(--muted);margin-top:8px}.state-note{padding:13px 21px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.7}.state-note strong{color:var(--orange);font-weight:500}
.right{display:flex;flex-direction:column;gap:18px;min-width:0}.probabilities{padding:2px 21px 14px;max-height:340px;overflow:auto}.prob-row{display:grid;grid-template-columns:54px 1fr 58px;gap:12px;align-items:center;margin:17px 0;font:var(--mono)}.prob-row .ket{color:var(--blue)}.prob-row .value{text-align:right;color:var(--ink)}.bar{height:17px;background:#ffffff06;position:relative;border-radius:3px}.bar .expected{height:100%;border-radius:3px;background:var(--orange);min-width:0}.bar .observed{position:absolute;top:5px;height:7px;border-radius:2px;background:#f4f3df;left:0}.prob-row small{color:var(--muted);font-size:9px}.sample{padding:15px 21px;border-top:1px solid var(--line)}.sample-controls{display:flex;gap:8px;align-items:center}.sample-controls label{font-size:11px;color:var(--muted)}.sample-controls button{margin-left:auto;background:#243a35;border-color:#4d7663;color:var(--mint);font-size:11px}.sample-status{margin:11px 0 0;font:var(--mono);font-size:10px;color:var(--muted)}.phase-list{padding:0 21px 18px;max-height:240px;overflow:auto}.amplitude{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font:var(--mono);font-size:10px}.amplitude .phase{display:flex;align-items:center;gap:8px;color:var(--muted)}.phase svg{flex-shrink:0}.note{font-size:11px;line-height:1.7;color:var(--muted);padding:17px 21px}.note h3{font-size:12px;color:var(--ink);font-weight:500;margin:0 0 7px}.note p{margin:0}.basis-order{padding:0 21px 15px;font:var(--mono);font-size:9px;color:var(--muted)}.error{padding:12px 16px;margin-bottom:18px;border:1px solid #e38b6c70;color:#ffc4a8;background:#e38b6c0a;border-radius:7px;font-size:12px}.footer{display:flex;justify-content:space-between;gap:12px;padding:18px 0 0;font:var(--mono);font-size:10px;color:var(--muted)}
@media(max-width:1050px){.workbench{grid-template-columns:1fr 340px}.norm{display:none}main{padding:23px}.spheres{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}}
@media(max-width:780px){.workbench{grid-template-columns:1fr}.spheres{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.right{display:grid;grid-template-columns:1fr 1fr}.right>.card:first-child{grid-row:span 2}.edited{display:none}.intro p{max-width:100%}.presets .preset{flex:1;justify-content:center}.preset small{display:none}}
@media(max-width:540px){header{height:60px;padding:0 16px}.brand{font-size:15px}.header-actions{gap:5px}.header-actions button{font-size:10px;padding:6px 8px}main{padding:22px 16px}.intro{margin-bottom:19px}h1{font-size:30px}.intro p{font-size:11px}.presets{gap:6px}.preset{padding:9px 8px;font-size:10px}.preset .symbol{font-size:13px}.card-head,.composer{padding-left:16px;padding-right:16px}.card-head h2{font-size:12px}.right{display:flex}.footer{font-size:9px}.footer span:last-child{display:none}.timeline{padding-left:16px;padding-right:16px}.composer{gap:7px}.qlabel{width:42px}.circuit{padding-left:16px}}
</style>
</head>
<body>
<header><div class="brand"><span class="brand-mark" aria-hidden="true">ψ</span>Quantum Studio</div><div class="header-actions"><span id="edited" class="edited">From circuit.json</span><button id="import">Open circuit</button><button id="download" class="save">Save circuit ↗</button><input id="upload" type="file" accept=".json,application/json" aria-label="Choose circuit JSON" hidden></div></header>
<main>
<div class="intro"><div><span class="eyebrow">A laboratory for the curious</span><h1>Make the invisible <em>visible.</em></h1><p id="description">Build a circuit. Follow a qubit. Watch possibilities become probabilities.</p></div><div class="norm"><strong id="norm">1.0000</strong>Total probability · normalized</div></div>
<nav class="presets" aria-label="Circuit presets"><button class="preset" data-preset="bell"><span class="symbol">↔</span><b>Bell pair</b><small>Entanglement</small></button><button class="preset" data-preset="ghz"><span class="symbol">⋈</span><b>GHZ state</b><small>Three become one</small></button><button class="preset" data-preset="phase"><span class="symbol">∿</span><b>Interference</b><small>Phase becomes probability</small></button><button class="preset" data-preset="source"><span class="symbol">⌘</span><b>Your circuit</b></button></nav>
<div id="error" class="error" role="alert" hidden></div>
<div class="workbench">
<div class="left">
<section class="card">
<div class="card-head"><h2 id="circuit-name">Circuit</h2><div class="edit-tools"><button id="undo" title="Undo edit">Undo</button><button id="redo" title="Redo edit">Redo</button><button id="remove" disabled>Delete gate</button></div></div>
<div id="circuit" class="circuit" aria-label="Circuit diagram"></div>
<div class="timeline"><button id="back" aria-label="Previous step">‹</button><input id="step" type="range" min="0" max="2" value="2" aria-label="Circuit step"><button id="forward" aria-label="Next step">›</button><output id="step-label">Step 2 / 2</output></div>
<div class="composer">
<div class="field"><label for="gate">Gate</label><select id="gate" aria-label="Gate type"></select></div>
<div class="field"><label for="target">Target</label><select id="target" aria-label="Target qubit"></select></div>
<div class="field" id="control-wrap" hidden><label for="control">Control / other</label><select id="control" aria-label="Control qubit"></select></div>
<div class="field" id="theta-wrap" hidden><label for="theta">Angle <output id="theta-label">90°</output></label><input id="theta" type="range" min="-180" max="180" step="5" value="90" aria-label="Rotation angle"></div>
<button id="add">+ Add gate</button>
</div>
<div id="step-story" class="step-story" role="status"></div>
</section>
<section class="card"><div class="card-head"><h2>A window into each qubit</h2><span class="eyebrow">Drag to rotate</span></div><div id="spheres" class="spheres"></div><div id="state-note" class="state-note"></div></section>
</div>
<div class="right">
<section class="card"><div class="card-head"><h2>What could you measure?</h2><span class="eyebrow">Born probabilities</span></div><div id="probabilities" class="probabilities"></div><div id="basis-order" class="basis-order"></div><div class="sample"><div class="sample-controls"><label for="shots">Shots</label><select id="shots"><option>128</option><option selected>1024</option><option>4096</option></select><button id="measure">Sample outcomes</button></div><p id="sample-status" class="sample-status">An ideal simulation. No hardware or noise.</p></div></section>
<section class="card"><div class="card-head"><h2>Under the probabilities</h2><span class="eyebrow">Amplitude · phase</span></div><div id="amplitudes" class="phase-list"></div></section>
<section class="card note"><h3>Try a small experiment</h3><p id="experiment"></p></section>
</div>
</div>
<footer class="footer"><span>Local statevector simulator · up to 8 qubits</span><span id="runtime">Computed in your browser</span></footer>
</main>
<script type="application/json" id="circuit-config"><!--CIRCUIT--></script>
<script>
<!--ENGINE-->
<!--APP-->
</script>
</body>
</html>