quantcore_circuits.plugins¶
Extension points for tool and solver adapters (Python entry points).
A plugin is a separately installable package (for example the qcc-sonnet adapter) that declares entry points:
quantcore_circuits.analysesan
AnalysisPlugininstance — a newsim_groups.*.analysesname, e.g."sonnet_s". Itsexport(setup, job_dir, **settings)writes the solver input into the job directory; qcc addsjob.json.quantcore_circuits.cellsa module whose KQC Element classes are registered next to the built-in layouts (extra component libraries).
Example pyproject.toml of a plugin:
[project.entry-points."quantcore_circuits.analyses"]
sonnet_s = "qcc_sonnet:SONNET"
Attributes¶
Classes¶
Functions¶
|
|
|
Import |
Module Contents¶
- class quantcore_circuits.plugins.AnalysisPlugin¶
- defaults: dict¶
- description: str = ''¶
- export: collections.abc.Callable¶
- kind: Literal['capacitance', 'eigenmode', 'driven']¶
- name: str¶
- solver: str¶
- quantcore_circuits.plugins.analysis_plugins() dict[str, AnalysisPlugin]¶
- quantcore_circuits.plugins.register_cell_plugins() list[type]¶
Import
quantcore_circuits.cellsentry points and register their PCells in the KQC libraries.
- quantcore_circuits.plugins.ANALYSIS_GROUP = 'quantcore_circuits.analyses'¶
- quantcore_circuits.plugins.CELL_GROUP = 'quantcore_circuits.cells'¶