quantcore_circuits.sim_tools.ansys¶
Locate Ansys Electronics Desktop (AEDT 2024 R1 or newer) and point KQC’s Ansys exporter at it.
Quantcore targets AEDT 2024 (v241 = 2024 R1, installed on the design PC 2026-11-03; v242 = 2024 R2 also
accepted, the newest install wins). Older installs (e.g. 2021 R1) are ignored unless named explicitly through
QCC_ANSYS_EXECUTABLE. Search order:
QCC_ANSYS_EXECUTABLE(explicit override, any version; on the Linux server e.g./ansys_inc/v242/AnsysEM/ansysedt)ANSYSEM_ROOT<ver>set by the AEDT installer, highest version first,ver >= MIN_VERSIONstandard install folders:
%ProgramFiles%\AnsysEM\v<ver>\Win64,%ProgramFiles%\ANSYS Inc\v<ver>\AnsysEM(and...\Electronics\Win64for AEDT installed as part of the unified Ansys installer),/ansys_inc/v<ver>
Attributes¶
Functions¶
|
Three-digit AEDT version (e.g. 242) guessed from the install path, or None. |
|
(version, path) candidates for |
|
Make KQC's |
|
Standard AEDT install location for |
|
Module Contents¶
- quantcore_circuits.sim_tools.ansys.aedt_version(executable: str | pathlib.Path) int | None¶
Three-digit AEDT version (e.g. 242) guessed from the install path, or None.
- quantcore_circuits.sim_tools.ansys.candidate_paths(min_version: int = MIN_VERSION) list[tuple[int, pathlib.Path]]¶
(version, path) candidates for
ansysedt, highest version first (existence not checked).
- quantcore_circuits.sim_tools.ansys.configure_kqc_ansys(executable: str | pathlib.Path | None = None) pathlib.Path¶
Make KQC’s
export_ansyswritesimulation.batwithexecutable, the discovered AEDT >= 2024 R1, or the standard 2024 R1 location (so a job exported on a machine without AEDT still targets 2024).
- quantcore_circuits.sim_tools.ansys.default_executable(version: int = TARGET_VERSION) pathlib.Path¶
Standard AEDT install location for
version(used in job scripts when AEDT is not installed here).
- quantcore_circuits.sim_tools.ansys.find_ansys_executable(min_version: int = MIN_VERSION) pathlib.Path | None¶
- quantcore_circuits.sim_tools.ansys.MIN_VERSION = 241¶
- quantcore_circuits.sim_tools.ansys.TARGET_VERSION = 241¶