Crate roqollage

Crate roqollage 

Source
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§

TypstBackend
Typst Backend

Enums§

InitializationMode
What to display at the left of the circuit.
RenderPragmas
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.