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

check_settings(project, analysis, settings[, setup]) → list[dict]

Rows {"key", "expected", "found", "ok", "where"}: every job setting read back from the AEDT setup.

parse_aedt(source) → Block

Parse an .aedt file (path) or its text into a Block tree (root name "").

project_info(project) → dict

Designs (type, name, solution type, variables, parts, boundaries, nets, setups/sweeps) and materials.

Module Contents

class quantcore_circuits.sim_tools.aedt_project.Block
child(name: str) → Block | None
find(name: str) → Block | None

First descendant block called name (depth first).

find_all(name: str) → list[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.

ok is 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 .aedt file (path) or its text into a Block tree (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