qcc_kplugin.valuesview

The Values tab and the layout annotations of qcc_kplugin.instance_values.

Tick Show values in the layout and every qubit and resonator with a value gets its f_q / α (or f_r / κ / χ) written beside it, green / amber / red by |value − target| / tolerance. Selecting an instance (KLayout’s select tool) shows its values in the tab; clicking a row selects the instance. Markers only: the layout and design.json are not touched. The values refresh after every rebuild, Run LOM and Import results.

Attributes

Classes

Functions

build_tab(tabs) → ValuesTab

draw([vals]) → int

(Re)draw the annotations; returns the number of markers. Nothing is drawn while the toggle is off.

select(name) → bool

Select instance or route name with KLayout's select tool and zoom to it.

selected() → list[str]

values() → dict

The collected values of the open design ({element: rows}); empty without a design.

Module Contents

class qcc_kplugin.valuesview.ValuesTab(tabs)
on_selection()
refresh()

After a rebuild, Run LOM or Import results: collect again, refill, redraw.

set_on(on: bool)
items
readout
toggle
tree
vals
qcc_kplugin.valuesview.build_tab(tabs) → ValuesTab
qcc_kplugin.valuesview.draw(vals: dict | None = None) → int

(Re)draw the annotations; returns the number of markers. Nothing is drawn while the toggle is off.

qcc_kplugin.valuesview.select(name: str) → bool

Select instance or route name with KLayout’s select tool and zoom to it.

qcc_kplugin.valuesview.selected() → list[str]
qcc_kplugin.valuesview.values() → dict

The collected values of the open design ({element: rows}); empty without a design.

qcc_kplugin.valuesview.STATE