Summary¶
The summary module generates wiring summary tables in multiple formats.
Formats¶
| Format | Method | Output |
|---|---|---|
| Terminal | cooldown.summary() |
Rich table |
| Markdown | cooldown.summary(fmt="markdown") |
str |
| HTML | cooldown.summary(fmt="html") |
str |
Usage¶
cooldown = CooldownBuilder(num_qubits=8).control_module(...).build()
# Print to terminal (requires `rich`)
cooldown.summary()
# Get Markdown string
md = cooldown.summary(fmt="markdown")
# Get HTML string
html = cooldown.summary(fmt="html")
Filtering by line type¶
cooldown.summary(line_type="control")
cooldown.summary(line_type="readout_send")
cooldown.summary(line_type="readout_return")
Standalone functions¶
For use with WiringConfig objects directly: