quantcore_circuits.sim_tools.aedt_project¶
Read an AEDT project file (.aedt) without AEDT: designs, materials, parts, boundaries, nets, setups, sweeps.
The .aedt format is a tree of $begin 'Name' … $end 'Name' blocks holding Key=Value lines and
Name(args) calls (e.g. Objects(6, 84), VariableProp('Lj_1', 'UD', '', '1.2e-08H')). parse_aedt()
builds that tree; project_info() extracts what a qcc render must contain; check_settings() compares a
job’s solver settings (job.json settings) with the setup that landed in the project.
Attributes¶
Classes¶
Functions¶
|
Rows |
|
Parse an |
|
Designs (type, name, solution type, variables, parts, boundaries, nets, setups/sweeps) and materials. |
Module Contents¶
- class quantcore_circuits.sim_tools.aedt_project.Block¶
-
- flat(prefix: str = '') dict¶
attrs of this block and its children as
{"Child.Key": value}(one dict, nested names joined).
- attrs: dict¶
- calls: list = []¶
- children: list = []¶
- name: str¶
- quantcore_circuits.sim_tools.aedt_project.check_settings(project, analysis: str, settings: dict, setup: str = 'Setup1') list[dict]¶
Rows
{"key", "expected", "found", "ok", "where"}: every job setting read back from the AEDT setup.okis None for a setting that is not an AEDT setup field (e.g.integrate_energies).
- quantcore_circuits.sim_tools.aedt_project.parse_aedt(source) Block¶
Parse an
.aedtfile (path) or its text into aBlocktree (root name"").
- quantcore_circuits.sim_tools.aedt_project.project_info(project) dict¶
Designs (type, name, solution type, variables, parts, boundaries, nets, setups/sweeps) and materials.
- quantcore_circuits.sim_tools.aedt_project.DESIGN_BLOCKS¶
- quantcore_circuits.sim_tools.aedt_project.NOT_IN_SETUP¶
- quantcore_circuits.sim_tools.aedt_project.SETTING_KEYS¶