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
Add arbitrary labels to any gate (also derived gates such as meter, ctrl, ...), gategroup or slice that can be anchored to any of the nine 2d alignments.
Add optional gate inputs and outputs for multi-qubit gates (see gallery).
Implicit gates (breaking change ⚠️): a content item automatically becomes a gate, so you can just type $H$ instead of gate($H$) (of course, the gate() function is still important in order to use the many available options).
Other breaking changes ⚠️:
slice() has no dx and dy parameters anymore. Instead, labels are handled through label exactly as in gate(). Also the wires parameter is replaced with n for consistency with other multi-qubit gates.
Swap order of row and column parameters in annotate to make it consistent with built-in Typst functions.
Improvements:
Improve layout (allow row/column spacing and min lengths to be specified in em-lenghts).
Automatic bounds computation, even for labels.
Improve meter (allow multi-qubit gate meters and respect global (per-circuit) gate padding).d