You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ The syntax works analog to Qiskit. Available gates are `x`, `y`, `z`, `h`, `s`,
80
80
81
81
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.
82
82
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.
84
84
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.
Copy file name to clipboardExpand all lines: docs/guide/quill-guide.typ
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@
20
20
21
21
= Introduction
22
22
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._]
24
24
25
25
Would you like to create quantum circuits directly in Typst? Maybe a circuit for quantum teleportation?
@@ -586,7 +586,7 @@ All built-in gates are drawn with a dedicated `draw-function` and you can also t
586
586
587
587
colbreak()
588
588
589
-
[== Tequila]
589
+
heading(outlined: false)[Tequila]
590
590
v(2mm)
591
591
show-outline(docs-tequila)
592
592
show-module(docs-tequila)
@@ -653,7 +653,7 @@ The following two circuits reproduce figures from Exercise 10.66 and 10.68 on co
653
653
654
654
655
655
656
-
= Tequila
656
+
= Tequila<tequila>
657
657
658
658
_Tequila_ is a submodule of *Quill* that adds a completely different way of building circuits.
659
659
@@ -677,7 +677,7 @@ The syntax works analog to Qiskit. Available gates are `x`, `y`, `z`, `h`, `s`,
677
677
678
678
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.
679
679
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.
681
681
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.
0 commit comments