Commit graph

3 commits

Author SHA1 Message Date
rUv
161f890ddb fix: apply cargo fmt across workspace and fix CI issues
- Run cargo fmt --all to fix formatting in 362 files across the entire workspace
- Add PGDG repository for PostgreSQL 17 in CI test-all-features and benchmark jobs
- Add missing rvf dependency crates to standalone Dockerfile for domain-expansion
- Add sona-learning and domain-expansion features to standalone Dockerfile build
- Create npu.rs stub for ruvector-sparse-inference (fixes rustfmt resolution error)

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-21 20:56:38 +00:00
rUv
e6d4330008 feat(ruqu): add quantum execution intelligence engine with 5 backends
Transforms ruqu from classical coherence monitor into full-stack quantum execution intelligence engine (~2K to ~24K lines).

New: StateVector, Stabilizer, TensorNetwork, Clifford+T, and Hardware simulation backends. Cost-model planner, surface code decoder (union-find O(n*alpha(n))), QEC scheduler, noise models, OpenQASM 3.0 export, deterministic replay, and cross-backend verification.

PR #161
2026-02-12 12:55:21 -05:00
Claude
9604c01f64 feat: Implement quantum simulation engine (ruqu-core, ruqu-algorithms, ruqu-wasm)
Full Rust implementation of the quantum simulation engine as specified
in ADR-QE-001 through ADR-QE-012:

ruqu-core: State-vector simulator with 2^n complex amplitudes, single
and two-qubit gate kernels (H, X, Y, Z, S, T, Rx, Ry, Rz, CNOT, CZ,
SWAP, Rzz), projective measurement with collapse, expectation values
for Pauli strings and Hamiltonians, gate fusion optimizer, circuit
builder API, and multi-shot simulator with noise model support.

ruqu-algorithms: VQE with hardware-efficient ansatz and parameter-shift
gradients, Grover's search with optimal iteration count, QAOA MaxCut
with Rzz phase separation, and distance-3 rotated surface code with
syndrome extraction and lookup decoder.

ruqu-wasm: WebAssembly bindings via wasm-bindgen exposing circuit
construction, simulation, Grover search, and QAOA to browser clients
with 25-qubit memory limit.

257 tests passing across all crates. Criterion benchmarks included for
gate throughput, bell state preparation, algorithm scaling, and memory
allocation across 4-20 qubit systems.

https://claude.ai/code/session_01B1NkbLDWYPaacS9miKsnvW
2026-02-06 01:24:14 +00:00