wai-quantum: what is new, what is a known construction found again, and aberrations #495
Loading…
Reference in a new issue
No description provided.
Delete branch "wai/quantum-novelty"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature 9 of the co-design report: a novelty, rediscovery and serendipity ledger.
Engine (
engine::novelty,engine::discover)broke: the gate, or the line), the reason, and the cost, axes and strength it would have. It is never kept.discover::novelty: one archive entry at the largest size, against the other elites.novelty::callis the JSON dispatch for hosts.Command line and MCP
wai-quantum novelty(--against,--reference,--weigh,--input),discover novelty.discover evalanddiscover submitprint an aberration.novelty_qasm,discover_novelty.Studio
novelty_qasm, and may call a program new only when the engine says so.engine_noveltyandengine_discover_noveltyin the page;noveltyanddiscover_noveltyin the desktop app, which now buildsquantum_toolchain(the QFT).CI: wai-web's native engine test count goes from 9 to 10.
Checked on the build host: engine
engine::98 pass; CLI 14 pass, clippy clean; wai-web native engine tests 10 pass; desktop 5 pass, clippy clean; Studio e2e 111 checks pass (14 new). Public-names check clean on every changed file.🤖 Generated with Claude Code
Feature 9 of the co-design report: a novelty, rediscovery and serendipity ledger. - engine::novelty: - the inspiring set: GHZ by a chain, by doubling and by fan-out, the uniform superposition and the toolchain's QFT, at the program's width (to 12 qubits), and programs the caller adds; - a structural distance, 0 to 1: weighted Jaccard over gate tokens (kind, qubits relative to the first) and consecutive pairs of them; - rediscovery: a program proved to make the same state (a preparation) or the same circuit as a known construction, never on random inputs alone, is named for it; built unlike it (distance >= 0.5) it is a different route to a known result; a program that is itself one known construction is not a different route to another; - with a reference, the measures it beats it on that the cost does not weigh; call is the JSON dispatch for hosts. - engine::discover: - an aberration: a candidate that breaks only the specification's rules is judged again without them; verified there, its evaluation carries the rule (broke: the gate, or the line), the reason, and the cost, axes and strength it would have. Never kept. judge returns the rule broken instead of marking the failure text; - novelty: one entry at the largest size against the other elites. - The command line: novelty (--against, --reference, --weigh, --input) and discover novelty; discover eval and submit print an aberration. - MCP: novelty_qasm and discover_novelty. - The Studio: - Alternatives cards say what is new in each, against the known constructions and the draft, and mark a different route; - the Workbench names each kept generator, shows it on the entry with what it beats the reference on unasked, and logs an aberration with "Try without that rule", which loosens the specification; - Found keeps different routes, aberrations and verified entries far from everything compared, to open, save with a note, or dismiss, counting what was flagged and saved; - the assistant has novelty_qasm, and may call a program new only when the engine says so. - Bindings: engine_novelty and engine_discover_novelty in the page; novelty and discover_novelty in the desktop app, which builds quantum_toolchain. - CI: wai-web's native engine tests count 10. Co-Authored-By: Claude Opus 5.5 <[email protected]>