qcc_kplugin.actions

qcc menu actions (GUI only; geometry/JSON logic lives in design_io / geometry, building in qcc).

Attributes

Functions

check_design()

Quantcore > Check and LOM > Check design: the DRC tab plus the full check (netlist) in the background.

configure()

delete_instance()

delete_route()

Quantcore > Edit > Delete route...: a route chosen from the list, failed ones first (they have no cell to select

duplicate_selected()

A copy of the selected component (same cell, parameters, rotation, mirror, junction) follows the mouse in

edit_selected()

PCell parameters + rotation of the component selected with KLayout's own select tool (or under the

mirror_selected()

Mirror the selected component (about its own x axis, before its rotation or snap).

new_design()

A blank PDK die as a new design.json, opened and built: then place components from the Quantcore panel.

open_design()

path_to_route()

Selected path(s) → routes: ends snap to ports, corners become waypoints bent to the route radius.

place_component()

Place the component selected in the Quantcore panel (with the parameters shown there); without a selection,

rebuild()

redo()

run_lom()

Quantcore > Check and LOM > Run LOM: export the circuit and simulate it in a background process; the LOM tab

screenshot()

selected_component() → str | None

The component selected with KLayout's own select tool, else the one under the Move/Snap cursor.

selected_route() → str | None

The route selected with KLayout's own select tool (a route cell carries its design name in id).

set_live_pcells(on) → None

Settings > live PCells on / off (on: the library loads in the background; off: the next build is static).

show_dock()

stop_lom()

Quantcore > Check and LOM > Stop LOM simulation: stop the running LOM (the process this panel started), drop its

sync_placements()

Instances moved with KLayout's own move tool → place.at (snap-placed ones become absolute).

toggle_live()

undo()

Module Contents

qcc_kplugin.actions.check_design()

Quantcore > Check and LOM > Check design: the DRC tab plus the full check (netlist) in the background.

qcc_kplugin.actions.configure()
qcc_kplugin.actions.delete_instance()
qcc_kplugin.actions.delete_route()

Quantcore > Edit > Delete route…: a route chosen from the list, failed ones first (they have no cell to select and delete with KLayout’s own Delete).

qcc_kplugin.actions.duplicate_selected()

A copy of the selected component (same cell, parameters, rotation, mirror, junction) follows the mouse in Move/Snap; a click drops it.

qcc_kplugin.actions.edit_selected()

PCell parameters + rotation of the component selected with KLayout’s own select tool (or under the Move/Snap cursor): the same dialog as double-clicking it in Move/Snap.

qcc_kplugin.actions.mirror_selected()

Mirror the selected component (about its own x axis, before its rotation or snap).

qcc_kplugin.actions.new_design()

A blank PDK die as a new design.json, opened and built: then place components from the Quantcore panel.

qcc_kplugin.actions.open_design()
qcc_kplugin.actions.path_to_route()

Selected path(s) → routes: ends snap to ports, corners become waypoints bent to the route radius.

qcc_kplugin.actions.place_component()

Place the component selected in the Quantcore panel (with the parameters shown there); without a selection, open the panel to pick one.

qcc_kplugin.actions.rebuild()
qcc_kplugin.actions.redo()
qcc_kplugin.actions.run_lom()

Quantcore > Check and LOM > Run LOM: export the circuit and simulate it in a background process; the LOM tab of the panel shows modes, parameters against targets, netlist values and the circuit drawing.

qcc_kplugin.actions.screenshot()
qcc_kplugin.actions.selected_component() → str | None

The component selected with KLayout’s own select tool, else the one under the Move/Snap cursor.

qcc_kplugin.actions.selected_route() → str | None

The route selected with KLayout’s own select tool (a route cell carries its design name in id).

qcc_kplugin.actions.set_live_pcells(on: bool) → None

Settings > live PCells on / off (on: the library loads in the background; off: the next build is static).

qcc_kplugin.actions.show_dock()
qcc_kplugin.actions.stop_lom()

Quantcore > Check and LOM > Stop LOM simulation: stop the running LOM (the process this panel started), drop its partial output and show the state from before the run.

qcc_kplugin.actions.sync_placements()

Instances moved with KLayout’s own move tool → place.at (snap-placed ones become absolute).

qcc_kplugin.actions.toggle_live()
qcc_kplugin.actions.undo()
qcc_kplugin.actions.COLUMNS_TEXT = 'Long dialogs in two columns (every dialog scrolls and fits the screen)'
qcc_kplugin.actions.LABEL_TEXT = 'Instance name labels in the layout: height µm (0 = none)'