Skip to content

Commit 922e80a

Browse files
committed
[docs] minor fixes
1 parent f11e8de commit 922e80a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The syntax works analog to Qiskit. Available gates are `x`, `y`, `z`, `h`, `s`,
8080

8181
Also like Qiskit, all qubit arguments support ranges, e.g., `tq.h(range(5))` adds a Hadamard gate on the first five qubits and `tq.cx((0, 1), (1, 2))` adds two #smallcaps[cx] gates: one from qubit 0 to 1 and one from qubit 1 to 2.
8282

83-
With Tequila, it is easy to build templates for quantum circuits and to compose circuits of various building blocks. For this purpose, `tq.build()` and the build-in templates all feature optional `x` and `y` arguments to allow placing a subcircuit at an arbitrary position of the circuit.
83+
With Tequila, it is easy to build templates for quantum circuits and to compose circuits of various building blocks. For this purpose, `tq.build()` and the built-in templates all feature optional `x` and `y` arguments to allow placing a subcircuit at an arbitrary position of the circuit.
8484
As an example, Tequila provides a `tq.graph-state()` template for quickly drawing graph state preparation circuits. The following example demonstrates how to compose multiple subcircuits.
8585

8686

docs/guide/quill-guide.typ

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
= Introduction
2222

23-
#pad(x: 1cm)[_@gate-gallery features a gallery of many gates and symbols and how to create them. In @demo, you can find a variety of example figures along with the code. _]
23+
#pad(x: 1cm)[_@gate-gallery features a gallery of many gates and symbols and how to create them. In @demo, you can find a variety of example figures along with the code. @tequila introduces an alternative model for creating and composing circuits._]
2424

2525
Would you like to create quantum circuits directly in Typst? Maybe a circuit for quantum teleportation?
2626
#figure[#include("../../examples/teleportation.typ")]
@@ -586,7 +586,7 @@ All built-in gates are drawn with a dedicated `draw-function` and you can also t
586586

587587
colbreak()
588588

589-
[== Tequila]
589+
heading(outlined: false)[Tequila]
590590
v(2mm)
591591
show-outline(docs-tequila)
592592
show-module(docs-tequila)
@@ -653,7 +653,7 @@ The following two circuits reproduce figures from Exercise 10.66 and 10.68 on co
653653

654654

655655

656-
= Tequila
656+
= Tequila <tequila>
657657

658658
_Tequila_ is a submodule of *Quill* that adds a completely different way of building circuits.
659659

@@ -677,7 +677,7 @@ The syntax works analog to Qiskit. Available gates are `x`, `y`, `z`, `h`, `s`,
677677

678678
Also like Qiskit, all qubit arguments support ranges, e.g., `tq.h(range(5))` adds a Hadamard gate on the first five qubits and `tq.cx((0, 1), (1, 2))` adds two #smallcaps[cx] gates: one from qubit 0 to 1 and one from qubit 1 to 2.
679679

680-
With Tequila, it is easy to build templates for quantum circuits and to compose circuits of various building blocks. For this purpose, `tq.build()` and the build-in templates all feature optional `x` and `y` arguments to allow placing a subcircuit at an arbitrary position of the circuit.
680+
With Tequila, it is easy to build templates for quantum circuits and to compose circuits of various building blocks. For this purpose, `tq.build()` and the built-in templates all feature optional `x` and `y` arguments to allow placing a subcircuit at an arbitrary position of the circuit.
681681
As an example, Tequila provides a `tq.graph-state()` template for quickly drawing graph state preparation circuits. The following example demonstrates how to compose multiple subcircuits.
682682

683683
#example(scale: 74%,

docs/guide/template.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
set text(font: "Linux Libertine", lang: "en")
2121
set heading(numbering: "I.a")
2222
show heading.where(level: 1): it => block(smallcaps(it), below: 1em)
23+
show link: underline.with(offset: 1.2pt)
2324

2425
v(4em)
2526

@@ -67,7 +68,6 @@
6768
show raw.where(block: true) : set par(justify: false)
6869

6970

70-
show link: underline.with(offset: 1.2pt)
7171
show link: set text(fill: purple.darken(30%))
7272

7373
body

0 commit comments

Comments
 (0)