mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-24 05:43:58 +00:00
Implements energy-driven computation with Landauer dissipation and Langevin/Metropolis noise. Key components: - State: activation vector + cumulative dissipated-joules counter - EnergyModel trait + Ising (Hopfield) + SoftSpin (double-well) Hamiltonians - Couplings: zeros, ferromagnetic ring, Hopfield memory factories - Params: inverse temperature β, Langevin step η, Landauer cost per irreversible flip - step_discrete: Metropolis-Hastings spin-flip with Boltzmann acceptance - step_continuous: overdamped Langevin (central-difference gradient + FDT noise) - anneal_discrete / anneal_continuous: traced annealing helpers - inject_spikes: Poisson kick noise, clamp-aware - Metrics: magnetisation, Hopfield overlap, binary entropy, free energy, Trace - Motifs: IsingMotif (ring, fully-connected, Hopfield), SoftSpinMotif (random) - 19 correctness tests: energy invariants, Metropolis, Langevin, Hopfield retrieval - 4 Criterion benchmark groups: step, 10k-anneal, Langevin, energy eval - GitHub Actions CI: fmt + clippy + test (ubuntu/macos/windows) + bench compile https://claude.ai/code/session_019Lt11HYsW1265X7jB7haoC |
||
|---|---|---|
| .. | ||
| benchmarks | ||
| workflows | ||