| Crates.io | metatron-qso-rs |
| lib.rs | metatron-qso-rs |
| version | 0.1.0 |
| created_at | 2025-11-18 20:39:45.148871+00 |
| updated_at | 2025-11-18 20:39:45.148871+00 |
| description | Metatron Quantum State Operator - A quantum computing framework based on 13-dimensional sacred geometry |
| homepage | |
| repository | https://github.com/LashSesh/qso |
| max_upload_size | |
| id | 1938976 |
| size | 754,858 |
An idiomatic Rust reimagination of the Metatron Quantum State Operator, evolving the original Python system into a modular, high-performance hybrid quantum-classical framework. The library couples a 13-dimensional Hilbert space, the Metatron Cube graph, Dynamic Tripolar Logic (DTL) resonator networks, and symmetry-aware Hamiltonian dynamics.
nalgebra
for dense linear algebra and rayon ready for future
parallel extensions.petgraph
interoperability.src/
├── dtl/ # Dynamic Tripolar Logic (states, operations, resonators)
├── graph/ # Metatron Cube structure and analytics
├── hamiltonian.rs # Tight-binding Hamiltonian and spectral tooling
├── params.rs # Global configuration (J, ε, ω, κ)
├── qso.rs # High-level orchestrator and reporting
├── quantum/ # Quantum states and operators on H₁₃
└── quantum_walk/ # Continuous-time walks, benchmarks, Krylov & scattering
Supplementary documentation lives in docs/ARCHITECTURE.md.
cargo test
For exploratory usage, run the provided example:
cargo run --example basic
cargo run --example quantum_walk
The basic example constructs the full QSO stack, evolves a basis state, and
prints an analysis report. The quantum_walk example exercises the high-end
benchmarking harness (mixing time, hitting time, Krylov, scattering).
To generate the consolidated benchmark suite used in CI, run:
# Option 1: Write to file directly (recommended)
cargo run --release --bin quantum_walk_bench target/quantum_walk_bench.json
# Option 2: Write to stdout and redirect
cargo run --release --bin quantum_walk_bench > target/quantum_walk_bench.json
# Compare against baseline
cargo run --release --bin quantum_walk_bench_compare \
../ci/quantum_walk_baseline.json target/quantum_walk_bench.json
The first command emits a JSON report capturing mixing-time and hitting-time
statistics; the second ensures the results stay within the expected tolerance
window captured in ci/quantum_walk_baseline.json.
Rust 1.78 (edition 2024) or later is recommended.
petgraph + Schreier-Sims).benches/ for quantum-walk performance
studies.