Expand description
§roqollage
Typst interface for qoqo.
Translates qoqo operations and circuits to Typst operations via the interface, and Create a Typst file with TypstBackend.
Structs§
- Typst
Backend - Typst Backend
Enums§
- Initialization
Mode - What to display at the left of the circuit.
- Render
Pragmas - Choose how to render Pragmas operations.
Functions§
- add_
gate - Adds a gate to the circuit’s typst representation.
- circuit_
into_ typst_ str - Converts a qoqo circuit to a typst string.
- circuit_
to_ image - Converts a qoqo circuit to an image.
- render_
typst_ str - Uses the Typst compiler to generate an image from the given typst string.