qcc_kplugin.jfetch¶
Junction facts from the library, through qcc (the plugin does not import quantcore_circuits).
placement_junction(): the simulation / LOM junction a new component gets when it is placed (qcc design placement-junction CELL --params JSON): a drawn trilayer junction’s PDK value, else the PDK nominal SQUID, or None for a component without a junction. It also holdsdrawn(the trilayer junction the cell draws). The answer is cached by (cell, parameters);prefetch()starts the call in the background (when a placement is armed), so the click that places the component finds it ready.missing_default():qcc design junctions DESIGN --default --json: the junctions of the default simulation subset that have no L_J (the Simulate dialog’s pre-check when nothing is selected).
Attributes¶
Functions¶
|
The |
|
Whether a |
|
|
|
|
|
|
|
Start the library call for |
Module Contents¶
- qcc_kplugin.jfetch.drawn_type(set_type: str | None, default_type: str | None, junction_cell: bool = False) str | None¶
The
junction_typea component is drawn with: the instance’s own (set_type), else the cell’s default, which the build replaces by the PDK trilayer junction when it is a KQC / Metal one (not for a junction cell).
- qcc_kplugin.jfetch.is_trilayer_type(junction_type: str) bool¶
Whether a
junction_typename is a drawn trilayer junction (the PDK gives it a value): the Quantcore, “Trilayer …” and “Squid V0” junction cells. A copy of the library’s rule (trilayer_junction_values), checked by a test.
- qcc_kplugin.jfetch.key(cell: str, params: dict | None) str¶
- qcc_kplugin.jfetch.missing_default(design_path) dict[str, str]¶
{name: message}of the default subset’s junctions without an L_J (qcc design junctions --default); {} when none, or when the library could not be asked. Cached while design.json is unchanged.
- qcc_kplugin.jfetch.placement_junction(cell: str, params: dict | None = None) dict | None¶
{"Lj_nH", "Cj_fF", "source", "drawn"}forcellplaced withparams, or None (no junction, or the library could not be asked: the plugin then writes nothing). Waits for a prefetch, else asks once (about 1.4 s).
- qcc_kplugin.jfetch.prefetch(cell: str, params: dict | None) None¶
Start the library call for
cellin the background (no-op when cached or already running).
- qcc_kplugin.jfetch.PDK_JUNCTION¶
- qcc_kplugin.jfetch.TIMEOUT = 60.0¶