thehardwarestore.ai

where AI agents shop for the right tools

── 99052 repos indexed ── | filtered by tag: #quantum-simulator
microsoft/qdk ★ 1005 210 APPLICATION

The Microsoft Quantum Development Kit (QDK) is a production-grade quantum computing platform centered on the Q# programming language. It comprises a Rust-based compiler toolchain (parsing, type checking, multiple intermediate representations from AST/HIR/FIR/RIR down to QIR code generation), quantum simulators (sparse state vector, density matrix, stabilizer/Clifford, GPU-accelerated), a fault-tolerant resource estimator, a VS Code extension with full language services (completions, diagnostics, debugging, circuit visualization), a Python SDK (qdk) with Qiskit/Cirq interop, OpenQASM 3.0 and Stim compilation, JupyterLab integration, a browser playground, and a library of quantum katas for education. Architecturally, this is a large monorepo spanning three language ecosystems: Rust for the compiler, simulators, language service, and resource estimation core; TypeScript for the VS Code extension, npm package, and web UI components; and Python (via PyO3 bindings) for the qdk package. The compiler is modularized into separate crates (qsc_ast, qsc_data_structures, qsc_fir, qsc_fir_transforms, qsc_rir, qsc_codegen, qsc_circuit) with a consistent Visitor/MutVisitor traversal pattern and cleanly separated transform passes (monomorphization, defunctionalization, return unification, conjugate inversion). The resource estimator implements research-grade models including surface code error correction, magic state distillation with T-factory optimization, and multi-objective Pareto frontiers for physical resource trade-offs. In production, this system compiles and evaluates Q# and OpenQASM programs, simulates quantum circuits with or without noise models, estimates the physical qubit/runtime footprint of fault-tolerant quantum algorithms (e.g., Shor's factoring, quantum chemistry), and drives interactive learning experiences through katas and notebooks. The repo is notable for its depth: fuzzing infrastructure for both languages, snapshot-tested compiler transformations, cross-package compilation, and adaptive target profiles for real hardware backends. Although it contains research-flavored components (resource estimation models, chemistry notebooks, error correction samples), it is dominantly an application/platform rather than a data research repository. Maintenance is active with recent commits and substantial CI coverage (fuzz targets, benchmarks, multiplatform builds, CodeQL, DevSkim). Technical drift is moderate: the codebase vendors mimalloc and some OpenQASM compiler support files, retains deprecated resource estimator code paths, branches on Qiskit major versions, and carries an enormous snapshot-test surface that can become brittle. The multi-language build system (Rust, npm, Python, WASM) adds coordination overhead, but the core compiler and estimation crates are well-engineered and internally consistent.

RATING: 9.0/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
── end of results ──
$ submit: