Skip to main content

Susceptibility-based scale selection: disciplined-reader kernel (v4) implementing the foundation paper (Zenodo doi:10.5281/zenodo.20548818) plus multi-adapter applications stack (v1-v3) across Quantum, GPU, Financial, Climate, Seismic, Magnetic, Number Theory, Protein, ML, Edge, and LLM-cost domains.

Project description

Sigma-C Framework v5.0.0

Susceptibility-based scale selection across physical, computational, and data-driven systems.

License: AGPL-3.0-or-later OR Commercial Version DOI Status

Sigma-C Framework now ships in two interoperable layers:

  • v4 disciplined-reader kernel (sigma_c_v4/): the implementation of the foundation paper Operational scale selection: axioms, spectral concentration, and a regime trichotomy (Zenodo DOI 10.5281/zenodo.20548818, JSP submission JOSS-S-26-00346, under review). Every output either cites a theorem from the paper or admits it cannot.
  • v1–v3 multi-adapter applications stack (sigma_c/): the existing domain adapters (Quantum, Finance, Climate, Seismic, Magnetic, GPU, ML, Number Theory, Protein, Edge, LLM cost), public API since v1.0, unchanged in v4 except for additive integration with the v4 kernel.

The two layers consume the same susceptibility-peak idea. The kernel is strict and paper-anchored; the adapters are domain-specific and operationally framed. Choose whichever fits the question.

What is sigma_c?

For any system observed at variable resolution sigma, the susceptibility-peak scale-selection functional is

sigma_c[O] := argmax_sigma |dO / d log sigma|

In words: where does the observable O respond most sharply to a multiplicative change of resolution? The location of the peak, sigma_c, is the characteristic scale; the sharpness of the peak, kappa, quantifies how pronounced the transition is.

Under explicit named hypotheses (positive-noise transfer operator with discrete spectral gap, single-mode faithful observable), sigma_c factors as sigma_c = rho_star * tau with tau = -T_* / log |lambda_2 / lambda_1| the system-intrinsic relaxation scale and rho_star a probe-shape constant. The foundation paper formalises this and proves three load-bearing results: a compatibility theorem, a cross-observable concentration theorem, and a regime trichotomy (single-mode / multi-mode / spectrally-flat).

Install

pip install sigma-c-framework

Optional extras for domain integrations:

pip install sigma-c-framework[quantum]   # Qiskit, Cirq, PennyLane
pip install sigma-c-framework[gpu]       # CuPy
pip install sigma-c-framework[finance]   # QuantLib
pip install sigma-c-framework[all]       # everything

Quick start

v4 disciplined kernel

import numpy as np
from sigma_c_v4 import analyze, gamma_k, Framework

# Bare exponential decay -> regime I, sigma_c = relaxation time
sigma = np.geomspace(0.1, 100, 400)
O = np.exp(-sigma / 5.0)
result = analyze(sigma, O, window="bare")

print(result.summary())
# sigma_c       : 5.003
# tau           : 5.003
# rho_star      : 1   [analytic:bare, analytic]
# regime        : geom=I_geom
# Theorem backing:
#   * paper Def 2.2 (def:sigmac)
#   * paper Prop 4.1 (prop:structural-reduction)
#   * paper Thm 8.3 (thm:trichotomy-geometric)
#   * paper Thm 6.1 (thm:cross-obs-concentration)

result.card("out.png")  # FUSE-style light-theme card

Power-law data (no characteristic scale) returns sigma_c = None honestly, not NaN:

result = analyze(sigma, sigma**0.6, window="bare")
assert result.sigma_c is None        # regime III, bottom value
assert result.regime.geometric == "III_geom"

v3 multi-adapter applications

import numpy as np
from sigma_c import Universe

temperatures = np.linspace(1.5, 3.5, 50)
magnetization = np.where(
    temperatures < 2.269,
    np.abs(2.269 - temperatures)**0.125,
    0.01 * np.random.randn(50),
)
mag = Universe.magnetic()
result = mag.compute_susceptibility(temperatures, magnetization)
print(f"Detected Tc: {result['sigma_c']:.3f}, kappa = {result['kappa']:.1f}")

Examples

Path What it covers
sigma_c_v4/examples/01_coffee_cooling.py Regime I single-mode, sigma_c = relaxation time
sigma_c_v4/examples/02_zipf_wealth.py Regime III, sigma_c = bottom as positive output
sigma_c_v4/examples/03_two_windows.py rho_star separation principle, two windows on one system
sigma_c_v4/examples/04_bimodal_relaxation.py Regime II multi-mode, vector-valued sigma_c
sigma_c_v4/examples/05_ising_chain.py 1D Ising chain anchor, textbook correlation length
sigma_c_v4/adapters/gallery_qmag_audit.png 7-panel audit gallery of the NISQ quantum-magnetism dataset
examples/v4/demo_quantum.py Quantum noise threshold (v3 stack)
examples/v4/demo_finance.py GARCH volatility (v3 stack)
examples/v4/demo_climate.py Atmospheric mesoscale boundary (v3 stack)

Documentation

Version history

Version What changed
4.0.0 v4 disciplined-reader kernel (sigma_c_v4/): foundation paper implementation, three-layer regime trichotomy (geometric / spectral / operational), F1/F2/F3 faithfulness checkers with explicit C_R constants, non-circular two-probe test, paper-theorem-backed Result type, THEOREM_MAP.md, Wurm 2026 NISQ-anchor adapter with paper-convention overlay, 7-panel audit gallery. v1–v3 API preserved.
3.1.1 README header bump.
3.1.0 Linguistics adapter removed (tested and failed; documented).
3.0.0 Contraction Geometry: D and gamma as first-class metrics; four-type classification (D / O / S / R); Number Theory and Protein Stability adapters.
2.1.0 Full feature implementation across all adapters.
2.0.3 Production hardening and the AVS Quantum Science 8, 013804 (2026) reference.
2.0.x Rigor refinement, repository reorganisation, bugfix releases.
2.0.0 22 integrations, IonQ support, complete documentation.
1.2.3 Universal optimisation.
1.2.1 Release notes added.
1.1.0 Multi-domain extensions.
1.0.0 Initial release: sigma_c, kappa, eight domain adapters.

Foundation paper

Wurm, M. C. (2026). Operational scale selection: axioms, spectral concentration, and a regime trichotomy. Zenodo. doi:10.5281/zenodo.20548818 Manuscript JOSS-S-26-00346 under review at Journal of Statistical Physics (Springer).

For the applied validation on real quantum hardware:

Wurm, M. C. (2026). Operational scale detection in quantum magnetism. AVS Quantum Science 8 (1), 013804. doi:10.1116/5.0312410

License

Sigma-C Framework is offered under a dual license:

  1. Open Source / Non-Commercial: GNU Affero General Public License v3.0 or later. Derivative works must also be licensed under AGPL-3.0-or-later.
  2. Commercial: for proprietary use without AGPL obligations, see license_COMMERCIAL.txt or contact nfo@forgottenforge.xyz.

See LICENSE.txt for the dual-license notice.

Contributing

Issue reports and pull requests are welcome. Before opening a PR please read CONTRIBUTING.md and the CODE_OF_CONDUCT.md. Security disclosures go through SECURITY.md.

Acknowledgements

Sigma-C Framework is developed at ForgottenForge by M. C. Wurm.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sigma_c_framework-5.0.0.tar.gz (260.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sigma_c_framework-5.0.0-cp313-cp313-win_amd64.whl (317.9 kB view details)

Uploaded CPython 3.13Windows x86-64

File details

Details for the file sigma_c_framework-5.0.0.tar.gz.

File metadata

  • Download URL: sigma_c_framework-5.0.0.tar.gz
  • Upload date:
  • Size: 260.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for sigma_c_framework-5.0.0.tar.gz
Algorithm Hash digest
SHA256 55da442c8fe54751e06855c9afd949b5c04c1e56d79b747ea7daac1f67e7735f
MD5 1a087e9f1a7be272ab229b1c8b3b9117
BLAKE2b-256 d6400dd3f15b1e36234e95c228ac297a107c1a7a02e999e847cb3ad20b9cb0ea

See more details on using hashes here.

File details

Details for the file sigma_c_framework-5.0.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for sigma_c_framework-5.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f09f263341e256a83223d1dcb1889610ce7489cafc063c6b82b80de3bbff1cae
MD5 010abec15cb3fde315db0083ae6e1f25
BLAKE2b-256 c0e63efb338556c03a3bc22477fde75a34a1a55ce6a8899ea156313d6640ec4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page