Closed clarkmiyamoto closed 1 year ago
Also side note. I noticed other pieces of code aren't yapf formatted, should I be running this or have it routed to only my code? I wouldn't want to break anything.
yapf --in-place --recursive --style ./.style.yapf .
I currently modify it to run only the sections I've changed.
yapf --in-place --recursive --style ./.style.yapf ./qiskit_metal/renderers/renderer_ansys_pyaedt
What are the issues this pull addresses (issue numbers / links)?
https://github.com/Qiskit/qiskit-metal/issues/950
Did you add tests to cover your changes (yes/no)?
No - unsure how to add tests to ANSYS level code... Please advise.
Did you update the documentation accordingly (yes/no)?
Yes
Did you read the CONTRIBUTING document (yes/no)?
Yes
Summary
Added energy-participation ratio analysis using
QHFSSEigenmodePyaedt
renderer by usingpyEPR
. Nice temporary fix until someone implements pyEPR only using pyAEDT.Details and comments
Changes in
QHFSSPyaedt
set_variable
. Allows front-end users to set a project-level variable in ANSYS.Changes in
QHFSSEigenmodePyaedt
default_pyepr_options
for default settings associated w/ EPR analysisadd_hfss_em_setup
to returnSetupHFSS
objectanalyze_setup
. Allows front-end users to analyze the setup they created inadd_hfss_em_setup
.run_epr
. Allows front-end users to run EPR analysis on their designs.setup_jjs_for_epr
: Automatically finds rendered Josephson Junctions in ANSYS, sets them up inpyEPR.ProjectInfo.junctions
.setup_dielectric_for_epr
: Find names of specified dielectrics, sets them up inpyEPR.ProjectInfo.dissipative['dielectric_surfaces']
.epr_spectrum_analysis
: Runs EPR analysis.epr_report_hamiltonian
: Generates .md compatible report of results from EPR analysis.Added tutorial on how to
QHFSSEigenmodePyaedt
.