Scaffold
1 program
Added 2026-02-13T09:12:57+00:00
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: ScaffCC
Provenance: commit 36b14b401c · authored 2026-02-13T10:13:49+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Bell State Preparation
Provenance: commit 36b14b401c · authored 2026-02-13T10:13:49+01:00 · agent claude-code · model sonnet · WebSearch disabled
// Bell state preparation in Scaffold
// Prepares the state |00⟩ + |11⟩
module bell_state (qbit q0, qbit q1) {
// Apply Hadamard gate to first qubit
H(q0);
// Apply CNOT gate with q0 as control and q1 as target
CNOT(q0, q1);
}
// Main scaffold module
scaffold main {
qbit q[2];
bell_state(q[0], q[1]);
}