ruvector-consciousness — SOTA Consciousness Metrics
Ultra-optimized Rust implementation of consciousness computation:
| Module | Algorithm | Complexity |
|---|---|---|
[phi] |
IIT Φ (exact) | O(2^n · n²) |
[phi] |
IIT Φ (spectral) | O(n² log n) |
[phi] |
IIT Φ (stochastic) | O(k · n²) |
[emergence] |
Causal emergence / EI | O(n³) |
[collapse] |
Quantum-inspired MIP search | O(√N · n²) |
Features
- SIMD-accelerated KL-divergence, entropy, dense matvec (AVX2)
- Zero-alloc hot paths via bump arena
- Sublinear partition search via spectral and quantum-collapse methods
- Auto-selecting algorithm based on system size
Example
use ;
use auto_compute_phi;
// 4-state system (2 binary elements)
let tpm = new;
let result = auto_compute_phi.unwrap;
println!;