diff --git a/README.md b/README.md index 657d393..f747c68 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ The following example demonstrates how to compose multiple subcircuits. #import tequila as tq #quantum-circuit( - ..tq.graph-state((0, 1), (1,2)), + ..tq.graph-state((0, 1), (1, 2)), ..tq.build(y: 3, tq.p($pi$, 0), tq.cx(0, (1, 2)), diff --git a/docs/guide/quill-guide.typ b/docs/guide/quill-guide.typ index fefc14e..fbc4833 100644 --- a/docs/guide/quill-guide.typ +++ b/docs/guide/quill-guide.typ @@ -3,9 +3,10 @@ #let version = toml("/typst.toml").package.version +#show link: set text(fill: rgb("#1e8f6f")) #show: project.with( - title: "Guide for the Quill Package ", + title: "Quill", authors: ("Mc-Zen",), abstract: [Quill is a library for creating quantum circuit diagrams in #link("https://typst.app/", [Typst]). ], date: datetime.today().display("[month repr:long] [day], [year]"), @@ -561,7 +562,7 @@ All built-in gates are drawn with a dedicated `draw-function` and you can also t show-outline: false, style: tidy.styles.default ) - let show-outline = tidy.styles.default.show-outline + let show-outline = tidy.styles.default.show-outline.with(style-args: (enable-cross-references: true)) let docs = parse-module(read("/src/quantum-circuit.typ")) let docs-gates = parse-module(read("/src/gates.typ")) @@ -687,7 +688,7 @@ The following example demonstrates how to compose multiple subcircuits. #import tequila as tq #quantum-circuit( - ..tq.graph-state((0, 1), (1,2)), + ..tq.graph-state((0, 1), (1, 2)), ..tq.build(y: 3, tq.p($pi$, 0), tq.cx(0, (1, 2)), diff --git a/examples/fault-tolerant-toffoli2.typ b/examples/fault-tolerant-toffoli2.typ index 1105da5..5bb66db 100644 --- a/examples/fault-tolerant-toffoli2.typ +++ b/examples/fault-tolerant-toffoli2.typ @@ -8,8 +8,8 @@ group(2, 1),ctrl(1), 1, group(3, 1), ctrl(2), $X$, 1, rstick($|x〉$), [\ ], lstick($|0〉$), $H$, ctrl(0), 1, ctrl(3), 2, $Z$, $X$, 2, group(2, 1), ctrl(1), rstick($|y〉$), [\ ], - lstick($|0〉$), 1, targ(), 2, targ(), 1, mqgate($Z$, target: -1, wire-count: 2), 1, targ(fill: auto), 1, targ(fill: auto), - rstick($|z plus.circle x y〉$), [\ ], + lstick($|0〉$), 1, targ(), 2, targ(), 1, mqgate($Z$, target: -1, wire-count: 2), 1, + targ(fill: auto), 1, targ(fill: auto), rstick($|z plus.circle x y〉$), [\ ], lstick($|x〉$), 2, targ(), 6, meter(target: -3), setwire(2), ctrl(-1, wire-count: 2), [\ ], lstick($|y〉$), 3, targ(), 3, meter(target: -3), setwire(2), ctrl(-2, wire-count: 2), [\ ], lstick($|z〉$), 4, ctrl(-3), $H$, meter(target: -3)