VERIFICATION, VALIDATION & HARDWARE BENCHMARKS

ASME V&V 20 Benchmarks

Verification, validation, SQuADDS superconducting circuit benchmarks, Roache GCI convergence, and candid disclosures of current solver and GPU limits.

METHODOLOGY · VERIFICATION & VALIDATION

How verification, validation, and uncertainty fit together

01 · VERIFICATIONEQUATIONS & MESH

Checking the discretisation against exact math

Verification tests each solver against problems with closed-form solutions and measures how fast answers converge as a mesh is refined, tracking the numerical discretisation error $u_{\text{num}}$ explicitly.

02 · VALIDATIONMEASUREMENTS & CROSS-CODE

Comparing predictions against real hardware

Validation checks simulated outputs ($S$) against physical lab measurements or independent reference solvers ($D$, such as Ansys Q3D/HFSS, Palace, or NAFEMS) alongside fabrication and measurement uncertainty.

03 · ASME V&V 20COMBINED CRITERION

Bounding both discrepancy and uncertainty

Following ASME V&V 20, passing requires the comparison error $|S - D|$ to stay simultaneously within the domain tolerance ceiling and within the expanded combined uncertainty band ($k\,u_{\text{val}}$).

ASME V&V 20 QUANTITATIVE VALIDATION GATE ✓ EXPLICIT AND RULE

Every benchmark pairs its result with an explicit error budget

In nyx-engine::validated, each suite compares the simulation result $E = S - D$ against the combined validation uncertainty $u_{\text{val}} = \sqrt{u_{\text{num}}^2 + u_{\text{input}}^2 + u_D^2}$. A suite passes only when both conditions hold together (passed: rows_passed && top_passed):

1. $|E| \le k\,u_{\text{val}}$ ($k = 2$ for ~95% coverage) across every tracked scalar & eigenvalue
AND 2. $u_{\text{num}}$ (3-grid Roache GCI or Prager–Synge equilibrated flux bound) stays bounded inside the tolerance ceiling
BASELINE 418-RUN SQUADDS EVALUATION

Verified Parity Scorecard

Seed SHA256("nyx-squadds-v2")
S1.1–S1.3 Electrostatics
1.11%
✓ 60 / 60 ok

Unweighted self-capacitance median error vs. Ansys Q3D (1.04% Horvitz–Thompson; MAE 1.369 fF; p_obs = 2.00).

Prager–Synge Brackets
68 / 69
✓ 98.6% certified

Goal-oriented flux_jump_goal AMR + H(div) flux_bounds strictly bracketing Ansys Q3D across S1.1–S1.4.

WM1 Readout (W1 PEC)
1.32%
✓ 2.3× vs HFSS

Cryogenic RMSRE across Q1..Q6 on MIT-LL 6-qubit WM1 (0.97%–1.69%), vs. 3.0% published SQuADDS HFSS reference.

Kubo TRK Sum Rule
1.000000000000
✓ 12 / 12 ±2.7e-10

Unified 4-way QubitCavity equivalence (Craig–Bampton M1, QEP M2, 3-port Schur BBQ M3) with med |Δα| ≤ 0.0056%.

dfs Thread Determinism
0.000e0
✓ Bitwise exact

NYX_THREADS=1 vs. 8 AMG determinism (3.08×–3.67× speedup at 8 threads; ems direct LU noted in limits below).

Validation in nyx lives inside repeatable integration tests (crates/nyx-engine/tests/validation_*.rs) backed by versioned JSON targets under benchmarks/validation/*.json. Reporting both passing regimes and unresolved bottlenecks keeps the numbers useful for real design decisions.

ASME V&V 20 Explicit AND Rule

Every validation target pairs an experimental or cross-code reference value $D$, input parameter uncertainty $u_{\text{input}}$, reference uncertainty $u_D$, tolerance ceiling $\mathrm{tol} = \mathrm{tol}_{\mathrm{rel}} |D| + \mathrm{tol}_{\mathrm{abs}}$, and coverage factor $k$ (typically $k = 2.0$). Numerical discretisation uncertainty $u_{\text{num}}$ comes directly from two- or three-grid Roache Grid Convergence Index refinement. A suite passes only when both criteria hold together:

$$|S - D| \le \mathrm{tol}_{\mathrm{rel}} |D| + \mathrm{tol}_{\mathrm{abs}} \qquad \text{AND} \qquad |S - D| \le k \sqrt{u_{\text{num}}^2 + u_{\text{input}}^2 + u_D^2}$$

Where nyx supplies deterministic Prager–Synge complementary capacitance brackets $[S_{\text{low}}, S_{\text{up}}]$, the epistemic half-width $\delta_{\text{ep}} = \frac{1}{2}(S_{\text{up}} - S_{\text{low}})$ is never folded into Gaussian variance; instead the test checks $|S_{\text{mid}} - D| \le \delta_{\text{ep}} + k \sqrt{u_{\text{input}}^2 + u_D^2}$.

SQuADDS cQED Comprehensive Benchmark (418 Runs)

An unmodified baseline was evaluated across 418 runs against Ansys Q3D, Ansys HFSS, FasterCap, and three fabricated cryogenic multi-qubit chips (WM1, MUNINN, and Dissipator), completing 410 of 418 runs overall (98.1%) and 100.0% across Phase 0 Smoke (32/32), Phase 1 Cryogenic Hardware (30/30), and Phase 2 Core (164/164) within a 19.71 GiB peak memory ceiling:

  • Planar cQED electrostatics (S1.1–S1.3, 60/60 ok): dfs::electro (order = 2, quarter-point edge grading plus spherical-harmonic far field) reaches 1.11% unweighted (1.04% Horvitz–Thompson) median self-capacitance error against Ansys Q3D (0.67% on NCap, 0.59% on CapNInterdigitalTee, 1.53% on TransmonCross), with 1.369 fF mean absolute error, −0.06% signed bias, and bitwise-exact (0.000e0) multi-threaded AMG determinism at 3.08×–3.67× speedup on 8 threads.
  • Certified Prager–Synge bounds & 3-layer planar BEM: Equilibrated H(div) flux_bounds brackets 68 of 69 Q3D matrix entries (98.6%) across S1.1–S1.4. On narrow-gap S1.4 geometries, planar_bem solves stratified wafers 76× faster (1.03 s) at 4.04% self-capacitance median error.
  • Cryogenic hardware (WM1, MUNINN, Dissipator): With mask-verified +0.9 µm lithographic etch bias, ems::cavity PEC (WM1 W1) predicts all six readout resonators to 1.32% RMSRE (compared with 3.0% for the published HFSS reference). MUNINN reproduces the measured coherence ordering (Ancilla 12.82 ms > Qubit 11.22 ms > Env 8.19 ms) and solves the 1,085,076-tet (1.402M-DOF) 3-qubit chip in 82.55 s. Dissipator executes a 100-point DC-SQUID flux sweep (675-dim Craig–Bampton Hilbert space) in 1.10 s.
  • 4-way QubitCavity equivalence (12/12 ok): Closed Craig–Bampton (M1), passive-port QEP (M2), and 3-port driven Schur BBQ + two-pole Kubo (M3) agree to 1.38e-6% median frequency difference (M2) and 5.0e-6% (M3), with Thomas–Reiche–Kuhn oscillator-strength sum rules satisfied to $1.000000000000 \pm 2.7\times 10^{-10}$.

Honest Disclosures: Known Limitations

  1. Opt-in GPU kernels use wgpu / WGSL today (ADR 146): Default builds execute strictly in Rust on CPU with zero GPU dependencies. Enabling --features gpu activates cross-vendor wgpu compute kernels (femcore::linalg::gpu, fdtd::gpu, dgtd_gpu) whose shaders are currently authored in WGSL rather than Rust on the GPU; long-term, the backend-agnostic Vector trait layer is designed to migrate to Rust-native GPU toolchains (CubeCL or rust-gpu) once portable f64 support matures.
  2. Finite-die FR-11 thickness guard: crates/nyx-analysis/src/tls.rs can misclassify vertical Si|Vac outer die sidewalls as etched trenches when sub_box sits inside a larger vacuum box, blocking metal_thickness_m edge corrections on finite-die stacks.
  3. Refined rank1 port exclusion trade-off: Refining rank1 lumped port/JJ sheets places interior port vertices into cond_vertices, dropping zero-gradient columns and stalling krylov_schur. An unrefined 30 µm port-exclusion box prevents hangs (163/163 EM ok) at the cost of coarse P1 port capacitance (kappa HT median 435.75% vs 41.59% in hybrid mode).
  4. Multi-layer z_coarsen & narrow-gap Steiner locking: Enabling z_coarsen in sheet3d.rs can collapse exterior boundary labels; dense 200–300 nm GDS fillets across 2–3 µm gaps exhaust max_steiner_multiplier = 20 in Ruppert 2D refinement (365.6% volumetric error on S1.4, avoided cleanly by planar_bem at 4.04%).
  5. 3D ems parallel faer thread drift: Whereas dfs AMG is bitwise deterministic (0.000e0), 3D ems parallel faer direct factorisation exhibits 3.59e-10 to 1.15e-7 relative drift between 1 and 8 threads.
BENCHMARK REGISTRY · benchmarks/validation/*.json

Validation Targets

29 / 29
Target ID Suite Quantity Reference Tol / uval Description
cavity_te101_freq cqed_palace_q3d_squadds f_TE101 6245676208.333 Hz tolrel=0.01 (k=2.0) TE101 rectangular cavity fundamental frequency c0/2 * sqrt(1/a^2 + 1/c^2)
cavity_te101_q0 cqed_palace_q3d_squadds Q0_TE101 10806.04 1 tolrel=0.05 (k=2.0) TE101 rectangular copper cavity unloaded surface-loss quality factor Q_0 (Pozar Eq. 6.51)
coax_c_exact cqed_palace_q3d_squadds C_coax 5.924749696966e-14 F tolrel=0.015 (k=2.0) Exact cylindrical coaxial capacitance 2*pi*eps0*eps_r*L / ln(b/a) with Prager-Synge dual flux bounds
squadds_0554_ec cqed_palace_q3d_squadds E_C 110305299.505 Hz tolrel=0.005 (k=2.0) SQuADDS q3d_cap_0554 Xmon Eq. (17) charging energy E_C
park2026_cpw_f_pec cqed_park2026 f_PEC 7064000000.0 Hz tolrel=0.015 (k=2.0) 100 nm Nb CPW resonator lossless PEC reference frequency (Fig. 1d)
park2026_cpw_f_10mk cqed_park2026 f_0(10mK) 6910000000.0 Hz tolrel=0.015 (k=2.0) 100 nm Nb CPW resonator at T = 10 mK with BCS kinetic inductance (Fig. 1d)
park2026_cpw_df_kin cqed_park2026 delta_f_kin -154000000.0 Hz tolrel=0.1 (k=2.0) Kinetic inductance frequency pull f_0(10mK) - f_PEC (Fig. 1d)
scq_flux0_f01 cqed_scqubits_tls f_01 5423392000.0 Hz tolrel=0.005 (k=2.0) Bare Fluxonium (EC=EL=1 GHz, EJ=4 GHz) f01 at Phi_ext = 0
scq_flux0_f02 cqed_scqubits_tls f_02 9721834000.0 Hz tolrel=0.005 (k=2.0) Bare Fluxonium f02 at Phi_ext = 0
scq_flux025_f01 cqed_scqubits_tls f_01 4922216000.0 Hz tolrel=0.005 (k=2.0) Bare Fluxonium f01 at Phi_ext = 0.25 Phi_0
scq_flux025_f02 cqed_scqubits_tls f_02 7024157000.0 Hz tolrel=0.005 (k=2.0) Bare Fluxonium f02 at Phi_ext = 0.25 Phi_0
scq_flux05_f01 cqed_scqubits_tls f_01 581849000.0 Hz tolrel=0.005 (k=2.0) Bare Fluxonium f01 at half-flux sweet spot Phi_ext = 0.5 Phi_0
scq_flux05_f12 cqed_scqubits_tls f_12 3388587000.0 Hz tolrel=0.005 (k=2.0) Bare Fluxonium f12 at half-flux sweet spot Phi_ext = 0.5 Phi_0
scq_transmon_f01 cqed_scqubits_tls f_01 6256996000.0 Hz tolrel=0.0005 (k=2.0) Exact Cooper-pair-box Transmon f01 (EC=0.30 GHz, EJ=18.0 GHz)
scq_transmon_alpha cqed_scqubits_tls alpha -339523000.0 Hz tolrel=0.0005 (k=2.0) Exact Cooper-pair-box Transmon anharmonicity alpha (EC=0.30 GHz, EJ=18.0 GHz)
soi_500x220_te0_neff photonics_benchmarks n_eff_TE0 2.444 1 tolrel=0.002 (k=2.0) 500x220 nm Chrostowski & Hochberg (2015) SOI TE0 n_eff at 1550 nm (fixed-n Lumerical MODE)
soi_500x220_te0_ng photonics_benchmarks n_g_TE0 4.19 1 tolrel=0.005 (k=2.0) 500x220 nm Chrostowski & Hochberg (2015) SOI TE0 group index n_g (dispersionless n) cross-check
soi_500x300_te0_neff photonics_benchmarks n_eff_TE0 2.67179 1 tolrel=0.001 (k=2.0) 500x300 nm SOI strip TE0 effective index at 1550 nm (Lumerical/MPB cross-code)
soi_500x300_tm0_neff photonics_benchmarks n_eff_TM0 2.33374 1 tolrel=0.001 (k=2.0) 500x300 nm SOI strip TM0 effective index at 1550 nm (Lumerical/MPB cross-code)
aln_baw_fp solid_mems_piezo_benchmarks f_p 2823449000.0 Hz tolrel=0.01 (k=2.0) 1D AlN BAW open-circuit anti-resonant (parallel) frequency f_p = sqrt(c33^D/rho)/(2d)
aln_baw_fs solid_mems_piezo_benchmarks f_s 2747672000.0 Hz tolrel=0.01 (k=2.0) 1D AlN BAW short-circuit series resonant frequency f_s from Mason tan(phi)/phi = 1/kt^2
aln_baw_kt2 solid_mems_piezo_benchmarks k_t2 0.06448175 1 tolrel=0.03 (k=2.0) 1D AlN BAW electromechanical coupling factor k_t^2 = e33^2/(c33^D * eps33^S)
disk_contour_f0 solid_mems_piezo_benchmarks f_0 450155249.0 Hz tolrel=0.01 (k=2.0) Polysilicon radial-contour free-disk closed-form frequency (lambda*c/(2*pi*R), lambda=1.99765060)
bimorph_tip_deflection thermal_nafems_benchmarks u_z(L) 0.0005855334 m tolrel=0.01 (k=2.0) Timoshenko (1925) coupled Si/Al bimorph tip deflection w(L) at deltaT=100 K (kappa=2.927667/m -> 0.585533 mm)
nafems_t1_sigma_yy_d thermal_nafems_benchmarks sigma_zz_D 50500000.0 Pa tolrel=0.025 (k=2.0) NAFEMS T1 hoop/direct stress sigma_zz at outer hot-spot boundary Point D (finite-plate b/a=10 Lame = 50.50 MPa; NAFEMS infinite target = 50.0 MPa)
nafems_t1_sigma_interior thermal_nafems_benchmarks sigma_xx_in -49500000.0 Pa tolrel=0.025 (k=2.0) NAFEMS T1 compressive biaxial stress inside hot spot r < a (-50.0 MPa infinite; -49.50 MPa finite b/a=10)
nafems_t2_t_b thermal_nafems_benchmarks T_B 927.007606 K tolrel=0.005 (k=2.0) NAFEMS T2 radiating tip temperature T_B solved via Newton linearized convection in dfs::heat
nafems_t3_x008_t32 thermal_nafems_benchmarks T(0.08, 32) 36.603045 degC tolrel=0.005 (k=2.0) NAFEMS T3 Rev. 3 temperature at x=0.08 m, t=32 s (exact Duhamel series 36.6030 C)
nafems_t4_point_e thermal_nafems_benchmarks T_E(0.6, 0.2) 18.253757 degC tolrel=0.005 (k=2.0) NAFEMS T4 steady 2D convective plate temperature at E=(0.6, 0.2) m (Fourier series 18.2538 C; NAFEMS 18.3 C)