|
4 | 4 |
|
5 | 5 | <div align="center"> |
6 | 6 |
|
7 | | -[](https://typst.app/universe/package/quill) |
| 7 | +[](https://typst.app/universe/package/quill) |
8 | 8 | [](https://github.com/Mc-Zen/quill/actions/workflows/run_tests.yml) |
9 | 9 | [](https://github.com/Mc-Zen/quill/blob/main/LICENSE) |
10 | 10 | [][guide] |
@@ -37,7 +37,7 @@ The function `quantum-circuit()` takes any number of positional gates and works |
37 | 37 |
|
38 | 38 | ```typ |
39 | 39 | #{ |
40 | | - import "@preview/quill:0.7.1": * |
| 40 | + import "@preview/quill:0.7.2": * |
41 | 41 |
|
42 | 42 | quantum-circuit( |
43 | 43 | lstick($|0〉$), $H$, ctrl(1), rstick($(|00〉+|11〉)/√2$, n: 2), [\ ], |
@@ -76,7 +76,7 @@ This gallery quickly showcases a large selection of possible gates and decoratio |
76 | 76 | _Tequila_ is a submodule that adds a completely different way of building circuits. |
77 | 77 |
|
78 | 78 | ```typ |
79 | | -#import "@preview/quill:0.7.1" as quill: tequila as tq |
| 79 | +#import "@preview/quill:0.7.2" as quill: tequila as tq |
80 | 80 |
|
81 | 81 | #quill.quantum-circuit( |
82 | 82 | ..tq.build( |
@@ -147,6 +147,11 @@ This package uses [tytanic](https://github.com/tingerrr/tytanic) for running [te |
147 | 147 |
|
148 | 148 | ## Changelog |
149 | 149 |
|
| 150 | +### v0.7.2 |
| 151 | +- Added a paremter `wire-stroke` to all controlled gates such as `mqgate`, `ctrl`, `targ`, `swap`, and `meter` that gives control over the stroke of the control wire(s). |
| 152 | +- Added an optional label to `tequila.measure`. |
| 153 | +- Fixed multiple and manually positioned labels with `meter`. |
| 154 | + |
150 | 155 | ### v0.7.1 |
151 | 156 | - Added the parameter `wires` to `quantum-circuit` that allows defining the number of (qu)bits explicitly. This parameter also accepts an array of wire counts, e.g., `wires: (1,) * qubits + (2,) * clbits` which is useful to avoid having to many `setwire` commands. |
152 | 157 | - Added a `pass-through` parameter to `mqgate` that enables wires to pass through a multi-qubit gate instead of attaching themselves as in- and outputs. |
@@ -236,7 +241,7 @@ Note: Starting with this version, Typst 0.11.0 or higher is required. |
236 | 241 | Initial Release |
237 | 242 |
|
238 | 243 |
|
239 | | -[guide]: https://github.com/Mc-Zen/quill/releases/download/v0.7.1/quill-guide.pdf |
| 244 | +[guide]: https://github.com/Mc-Zen/quill/releases/download/v0.7.2/quill-guide.pdf |
240 | 245 | [examples]: https://github.com/Mc-Zen/quill/tree/main/examples |
241 | 246 | [tidy]: https://github.com/Mc-Zen/tidy |
242 | 247 | [architecture]: https://github.com/Mc-Zen/quill/blob/main/docs/architecture.md |
|
0 commit comments