Configuration Reference¶
All MQED-QD simulations are configured through YAML files managed by
Hydra. The configuration tree lives under
configs/ and is organised into five directories, each corresponding to a
stage of the workflow.
configs/
├── Dyadic_GF/ # Green's function computation
├── Lindblad/ # Quantum dynamics solver
├── analysis/ # Post-processing (FE & RET)
├── BEM/ # Boundary-element-method utilities
└── plots/ # Observable plotting
Every CLI command loads its default config automatically. You can override any parameter on the command line using Hydra’s dotlist syntax:
# Override a single key
mqed_GF simulation.energy_eV=2.0
# Override a nested key
mqed_GF simulation.integration.qmax=100
# Use a different config file
mqed_GF --config-name=My_GF
See the Hydra documentation for full override syntax including sweeps and multirun.
Dyadic_GF/ — Green’s Function Computation¶
Files: GF_Sommerfeld.yaml (default), My_GF.yaml
Used by the mqed_GF command (Dyadic Green’s Function via Sommerfeld Integrals).
material¶
Defines the dielectric function of the substrate.
Key |
Type |
Description |
|---|---|---|
|
|
|
|
|
Dielectric constant when |
|
|
Path to the Excel file containing the tabulated dielectric function. |
|
|
Sheet name inside the Excel file. |
simulation¶
Controls the physical parameters and numerical integration.
Key |
Type |
Description |
|---|---|---|
|
|
Human-readable material label (used in output filenames). |
|
|
|
|
|
A single value (e.g. |
|
|
Same as |
|
|
Donor height above the interface (nm). |
|
|
Acceptor height (same units as |
|
|
Lateral donor–acceptor separation sweep:
|
|
|
Upper cutoff for the Sommerfeld integral in-plane momentum. |
|
|
Absolute tolerance for numerical quadrature. |
|
|
Relative tolerance. |
|
|
Maximum number of subintervals. |
|
|
Whether to split the integral at the propagating/evanescent boundary for improved accuracy. |
output¶
Key |
Type |
Description |
|---|---|---|
|
|
Output HDF5 filename template. Supports Hydra interpolation
(e.g. |
Lindblad/ — Quantum Dynamics¶
Files: quantum_dynamics.yaml (default),
quantum_dynamics_disorder.yaml, quantum_dynamics_nhse.yaml
Used by the mqed_QD command (Quantum Dynamics).
greens¶
Key |
Type |
Description |
|---|---|---|
|
|
Path to the cached Green’s function HDF5 file produced by |
simulation¶
Key |
Type |
Description |
|---|---|---|
|
|
Start time (ps). |
|
|
End time (ps). |
|
|
Time step for saved output (ps). |
|
|
Number of molecules in the 1-D chain. |
|
|
Lattice spacing (nm). |
|
|
Transition wavelength (nm). |
|
|
|
|
|
|
|
|
If |
|
|
Maximum hopping range (sites) for the DDI matrix \(V_{\alpha\beta}\). |
|
|
Maximum hopping range (sites) for the dissipation matrix \(\Gamma_{\alpha\beta}\). |
|
|
Strategy for truncating \(\Gamma\) (e.g. |
|
|
Always keep the diagonal (\(\alpha = \beta\)) DDI entries. |
|
|
Always keep the diagonal dissipation entries. |
|
|
Donor transition dipole moment (Debye). |
|
|
Acceptor transition dipole moment (Debye). |
|
|
Polar angle of the dipole orientation (degrees). |
|
|
Azimuthal angle of the dipole orientation (degrees). |
observables¶
A list of observables to compute at each output time step. Each entry has:
Key |
Type |
Description |
|---|---|---|
|
|
Observable label (used in output files). |
|
|
One of |
|
|
Whether to compute this observable. |
|
|
Observable-specific parameters (e.g. |
initial_state¶
Key |
Type |
Description |
|---|---|---|
|
|
Index of the initially excited site. |
solver¶
Key |
Type |
Description |
|---|---|---|
|
|
|
Disorder and NHSE Variants¶
quantum_dynamics_disorder.yaml extends the base config with:
Key |
Type |
Description |
|---|---|---|
|
|
Number of disorder realisations. |
|
|
Random seed for reproducibility. |
|
|
Parallel workers ( |
|
|
Save each realisation individually. |
|
|
Standard deviation of orientational disorder (degrees). |
quantum_dynamics_nhse.yaml adds a height parameter and uses
gf_method: BEM with coupling_limit.enable: false (long-range
coupling) for studying the non-Hermitian skin effect.
analysis/ — Post-Processing¶
Files: FE.yaml, RET.yaml
Used by mqed_FE and mqed_RET
(Field Enhancement).
Both configs share the same structure. The main difference is that FE.yaml
plots the real and imaginary components
(\(V_{\alpha\beta}/V_{0,\alpha\beta}\) and
\(\Gamma_{\alpha\beta}/\Gamma_{0,\alpha\beta}\)) separately, while
RET.yaml plots the single enhancement factor \(\gamma\).
input_file¶
Key |
Type |
Description |
|---|---|---|
|
|
Path to the cached Green’s function HDF5 file. |
orientations¶
Key |
Type |
Description |
|---|---|---|
|
|
Donor dipole polar angle (degrees). |
|
|
Donor dipole azimuthal angle. Use |
|
|
Acceptor dipole polar angle. |
|
|
Acceptor dipole azimuthal angle. |
plot_settings¶
Key |
Type |
Description |
|---|---|---|
|
|
Write the figure to disk. |
|
|
Figure resolution. |
|
|
|
|
|
|
|
|
Axis labels. |
|
|
Title with |
|
|
Legend entry for the real component (FE). |
|
|
Legend entry for the imaginary component (FE). |
|
|
Single legend entry (RET). |
|
|
|
|
|
Axis limits |
|
|
Output filename prefix. |
BEM/ — Boundary Element Method¶
Files: compare_bem_dyadic.yaml, compare.yaml,
compare_silver.yaml, compare_enhancement.yaml,
compute_peff.yaml, reconstruct_GF.yaml
These configs drive the BEM validation and reconstruction utilities.
compute_peff.yaml¶
Compute the effective dipole moment from BEM near-field data.
Key |
Type |
Description |
|---|---|---|
|
|
Path to the BEM Excel export. |
|
|
Output CSV with fitted effective dipoles. |
|
|
Wavelengths to process (single, list, or |
|
|
Minimum lateral distance for fitting. |
|
|
Test dipole moment (C·m). |
|
|
Exclude low-amplitude points from the fit. |
reconstruct_GF.yaml¶
Reconstruct the full dyadic Green’s function from BEM data and effective dipoles.
Key |
Type |
Description |
|---|---|---|
|
|
Photon energy (eV). |
|
|
Corresponding wavelength (nm). |
|
|
Donor / acceptor heights (nm). |
|
|
BEM Excel export. |
|
|
Effective-dipole CSV from |
|
|
Output HDF5 with reconstructed Green’s function. |
compare*.yaml¶
Comparison and validation configs (compare.yaml,
compare_silver.yaml, compare_bem_dyadic.yaml,
compare_enhancement.yaml) share a common pattern:
paths / io — Input files (BEM Excel, Fresnel HDF5, effective-dipole CSV).
dipoles / dipole_frequency — Orientation and transition frequency.
test — Numerical comparison tolerances (
rtol,atol,enabled).plot — Full Matplotlib configuration:
figsize,dpi,rcParams, series definitions with labels, colours, and line styles.
plots/ — Observable Plotting¶
Files: msd.yaml, sqrt_msd.yaml, pr.yaml, ipr.yaml
Used by mqed_plot_msd, mqed_plot_sqrt_msd, mqed_plot_pr, and
mqed_plot_ipr (Plotting & Analysis).
All four configs follow the same pattern.
curves¶
A list of datasets to overlay. Each entry:
Key |
Type |
Description |
|---|---|---|
|
|
Legend label. |
|
|
Glob pattern to find the input HDF5 file (most recent match is used). |
|
|
Matplotlib line style (e.g. |
|
|
Line width. |
|
|
Line colour. |
plot_settings¶
Key |
Type |
Description |
|---|---|---|
|
|
Write figure to disk. |
|
|
Figure resolution. |
|
|
|
|
|
|
|
|
Axis and title labels. |
|
|
|
|
|
Axis limits. |
|
|
If |
|
|
Multiply x-axis values (e.g. for unit conversion). |
|
|
Font settings: |
|
|
Scientific notation formatting for the y-axis
( |