uniqc.visualization.circuit_render.options module

Render option container shared by all circuit-drawing modes.

class uniqc.visualization.circuit_render.options.RenderOptions(mode=None, style='quantikz', fold='auto', orientation='h', qubit_order='asc', theme='light', param_mode='pi', show_clbits=False, charset='ascii', scale=100)[source]

Bases: object

Drawing options; defaults follow the design-review decisions.

  • style: quantikz (default) | qiskit | modern | print

  • fold: gates per row — "auto" (terminal width for text, 16 for graphical modes), an int, or 0/None-ish to disable

  • orientation: "h" (time flows right) or "v" (time flows down)

  • qubit_order: "asc" (q0 on top) or "desc"

  • theme: "light" | "dark"

  • param_mode: "pi" (π/4 form) | "decimal" | "symbol" | "hidden"

  • show_clbits: draw classical double-line wires (default off)

  • charset: "ascii" (default) | "unicode" for the text mode

  • scale: percent scaling for graphical modes

charset = 'ascii'
fold = 'auto'
mode = None
orientation = 'h'
param_mode = 'pi'
qubit_order = 'asc'
scale = 100
show_clbits = False
style = 'quantikz'
theme = 'light'
property vertical