Deep dive

qdiff

Headed for an open-source release

What it does

Diffs that understand circuits

A semantic diff and three-way merge for OpenQASM 2 and 3 quantum circuits. It knows which gates commute, so it can tell a real edit from a harmless reordering.

TypeScript, Bun, zero dependencies. Headed for an open-source release.

Why it matters

Reordering isn't a change

Gates that commute can swap places without changing what a circuit does, so a plain text diff reports edits that aren't real and merges trip over conflicts that aren't there.

A live demo will run on this page once qdiff is released.

Back to the film