diff --git a/tests/decorations/midstick/ref/1.png b/tests/decorations/midstick/ref/1.png new file mode 100644 index 0000000..9eb9e56 Binary files /dev/null and b/tests/decorations/midstick/ref/1.png differ diff --git a/tests/decorations/midstick/ref/2.png b/tests/decorations/midstick/ref/2.png new file mode 100644 index 0000000..df27baf Binary files /dev/null and b/tests/decorations/midstick/ref/2.png differ diff --git a/tests/decorations/midstick/ref/3.png b/tests/decorations/midstick/ref/3.png new file mode 100644 index 0000000..ca65d12 Binary files /dev/null and b/tests/decorations/midstick/ref/3.png differ diff --git a/tests/decorations/midstick/test.typ b/tests/decorations/midstick/test.typ new file mode 100644 index 0000000..232b2d7 --- /dev/null +++ b/tests/decorations/midstick/test.typ @@ -0,0 +1,19 @@ +#set page(width: auto, height: auto, margin: 0pt) +#import "/src/quill.typ": * + +#quantum-circuit( + 1, $H$, midstick($ρ$), $X$ +) + +#pagebreak() + +#quantum-circuit( + 1, $H$, midstick($ρ$, fill: blue, label: ("label")), $X$ +) + +#pagebreak() +#quantum-circuit( + baseline: .6fr, + 1, ctrl(1), targ(), ctrl(1), midstick("=", n: 2), swap(1), 1, [\ ], + 1, targ(), ctrl(-1), targ(), 1, swap(0), 1, +) \ No newline at end of file