Skip to content

Commit

Permalink
[refactor] move circuit code to quantum-circuit.typ
Browse files Browse the repository at this point in the history
Also, remove old circuit code
  • Loading branch information
Mc-Zen committed May 14, 2024
1 parent a2d7c2d commit 8ea91c1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 428 deletions.
2 changes: 1 addition & 1 deletion docs/guide/quill-guide.typ
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ All built-in gates are drawn with a dedicated `draw-function` and you can also t
)
let show-outline = tidy.styles.default.show-outline
let docs = parse-module(read("/src/quill.typ"))
let docs = parse-module(read("/src/quantum-circuit.typ"))
let docs-gates = parse-module(read("/src/gates.typ"))
let docs-decorations = parse-module(read("/src/decorations.typ"))
Expand Down
14 changes: 0 additions & 14 deletions src/quill2.typ → src/quantum-circuit.typ
Original file line number Diff line number Diff line change
Expand Up @@ -527,17 +527,3 @@

})
}

#let help(..args) = {
import "@local/tidy:0.3.0"

let namespace = (
".": (
read.with("/src/quill2.typ"),
read.with("/src/gates.typ"),
read.with("/src/decorations.typ"),
),
"gates": read.with("/src/gates.typ"),
)
tidy.generate-help(namespace: namespace, package-name: "quill")(..args)
}
Loading

0 comments on commit 8ea91c1

Please sign in to comment.