From b2f16b811423557cdfb98e72dfa85bedc1875365 Mon Sep 17 00:00:00 2001 From: Allaun Silverfox <28494262+allaunthefox@users.noreply.github.com> Date: Sat, 16 May 2026 13:17:24 -0500 Subject: [PATCH] Add example FAMM Hessian receipt config --- .../famm_hessian_receipt_config.example.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 shared-data/examples/famm_hessian_receipt_config.example.json diff --git a/shared-data/examples/famm_hessian_receipt_config.example.json b/shared-data/examples/famm_hessian_receipt_config.example.json new file mode 100644 index 00000000..76a556e1 --- /dev/null +++ b/shared-data/examples/famm_hessian_receipt_config.example.json @@ -0,0 +1,42 @@ +{ + "seed": 0, + "operator": { + "kind": "diagonal", + "dtype": "float64", + "device": "cpu", + "diagonal": [ + 12.0, + 7.5, + 3.0, + 0.000001, + 0.0, + -0.25, + -1.5, + 2.0 + ] + }, + "lanczos": { + "k": 5, + "max_iter": 8, + "tol": 1e-8, + "which": "LM" + }, + "trace": { + "enabled": true, + "num_matvecs": 12, + "method": "hutch++" + }, + "spectral_density": { + "enabled": true, + "num_runs": 2, + "lanczos_steps": 8, + "num_grid_points": 128 + }, + "route_thresholds": { + "lambda_max": 10.0, + "negative_eigenvalue_tol": -1e-6, + "flat_abs_tol": 1e-5, + "flat_ratio_min": 0.3, + "trace_max": 50.0 + } +}