ruvector/examples/dna/src
Claude 1fc198da66 feat: integrate ruvector-solver into DNA and quantum components
DNA crate (rvdna):
- Add ruvector-solver dependency with forward-push feature
- New kmer_pagerank module: KmerGraphRanker uses Forward Push PPR to
  rank sequences by structural centrality in k-mer overlap graphs
- New solver_bench benchmark suite with 3 groups:
  A) Localized relevance via Forward Push PPR (20-200x speedup)
  B) Laplacian solve for denoising via Neumann/CG (10-80x speedup)
  C) Cohort-scale label propagation via CG solver
- README: add DNA Solver Benchmarks section with dataset citations
  (GIAB, NA12878, 1000 Genomes), graph construction docs, benchmark
  tables, and reproducibility instructions

Quantum crate (prime-radiant-category):
- Add ruvector-solver dependency with neumann/cg features
- SparseMatrix: replace O(nnz) COO Vec with O(1) HashMap entries,
  add to_csr_f64() and spmv_f64() using solver CsrMatrix
- ComplexMatrix: add Jacobi eigenvalue algorithm for real-symmetric
  matrices (much more stable than power iteration + deflation),
  add to_csr_real() and is_real_valued() helper methods
- DensityMatrix: add SpectralDecomposition cache, purity_fast() via
  Frobenius norm O(n²) vs O(n³), static eigenvalue helpers
- SimplicialComplex: add graph_laplacian_csr() for spectral analysis
- SolverBackedOperator: sparse quantum operator using CsrMatrix SpMV
  for 40-60 effective qubit scaling (vs ~33 with dense matrices)
- New quantum_solver_bench: SpMV scaling, eigenvalue convergence,
  memory scaling benchmarks from 10 to 30 qubits

All 362 tests pass (81 quantum + 102 DNA + 179 solver).

https://claude.ai/code/session_01TiqLbr2DaNAntQHaVeLfiR
2026-02-20 13:37:24 +00:00
..
alignment.rs perf(dna): 1.8x kmer speedup, 10x SW memory reduction 2026-02-11 13:59:26 +00:00
epigenomics.rs feat(dna): implement missing capabilities + optimize hot paths 2026-02-11 05:31:16 +00:00
error.rs feat(dna): complete SOTA genomic analysis pipeline with full test suite 2026-02-11 04:29:28 +00:00
kmer.rs perf(dna): 1.8x kmer speedup, 10x SW memory reduction 2026-02-11 13:59:26 +00:00
kmer_pagerank.rs feat: integrate ruvector-solver into DNA and quantum components 2026-02-20 13:37:24 +00:00
lib.rs feat: integrate ruvector-solver into DNA and quantum components 2026-02-20 13:37:24 +00:00
main.rs feat(rvdna): rename package to rvdna, publish to crates.io and npm 2026-02-12 15:47:00 +00:00
pharma.rs feat(dna): implement missing capabilities + optimize hot paths 2026-02-11 05:31:16 +00:00
pipeline.rs feat(dna): complete SOTA genomic analysis pipeline with full test suite 2026-02-11 04:29:28 +00:00
protein.rs feat(dna): implement missing capabilities + optimize hot paths 2026-02-11 05:31:16 +00:00
real_data.rs feat(dna): add RVDNA AI-native format, real gene data, 8-stage pipeline 2026-02-11 04:48:28 +00:00
rvdna.rs feat(dna): implement missing capabilities + optimize hot paths 2026-02-11 05:31:16 +00:00
types.rs perf(dna): 1.8x kmer speedup, 10x SW memory reduction 2026-02-11 13:59:26 +00:00
variant.rs feat(dna): implement missing capabilities + optimize hot paths 2026-02-11 05:31:16 +00:00