mhtirogla
Home
Systems
API
Pricing
About
Log in
← Back
Home
›
Systems
›
Simulation and scientific computing
qec-decoder
quantum error-correction decoder
Google Willow surface code
System
Techniques · 8
Primitives · 12
qec-decoder
Minimum weight perfect matching
graphs · medium: Edmonds blossom algorithm and sparse blossom for matching syndromes and graphs
Fpga dataflow pipelines
hardware-os · medium: Fully pipelined fixed-latency FPGA logic: initiation interval, HLS, BRAM and DSP budgeting
Belief propagation
machine-learning · medium: Message passing on factor graphs (sum-product, min-sum) for decoding and inference
Stabilizer simulation
numerics · medium: Simulate Clifford circuits in polynomial time with stabilizer tableaus (Gottesman-Knill, Stim)
Surface code
numerics · medium: Surface code stabilizers, syndrome rounds, detector graphs and logical error rates
Instruction scheduling
compilers · medium: List scheduling over dependence DAGs with latency models; software pipelining of loops
Static timing analysis
hardware-os · medium: Propagate latest/earliest arrival forward and required times backward through a DAG; slack = required - arrival, and the minimum-slack path is the critical one.
›
Union-find
graphs · low: Disjoint-set forest with union by size and path compression; merges sets and answers same-set queries in effectively constant time.
›
SIMD programming
hardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.
›
Dijkstra's algorithm
graphs · low: Single-source shortest paths with non-negative edge weights by settling vertices in order of distance with a priority queue.
›
Transformer block
ml-training · low: The decoder-only pre-norm block (attention plus MLP on a residual stream) behind every modern LLM, with exact shapes, parameter, FLOP and KV-cache counts.
›
d-ary heap
data-structures · low: Array heap with d children per node (d = 4 typical): half the binary heap's depth, siblings in one cache line, faster priority queues.
›
BFS and DFS
graphs · low: The two basic graph traversals; BFS gives hop distances and levels, DFS gives discovery/finish order for cycles, components and topological order.
›
Floating-point error
numerics · low: How IEEE 754 rounding error accumulates and how to contain it: compensated (Kahan/Neumaier) and pairwise summation, error-free transformations with FMA, ULP comparisons.
›
Sparse matrices (CSR)
numerics · low: Compressed sparse row stores only nonzeros as row pointers, column indices and values; SpMV streams them once, so it is memory-bandwidth bound.
›
Finite field arithmetic
numerics · low: Prime-field and extension-field arithmetic (Montgomery form, Goldilocks, BabyBear), vectorized
PRNGs (PCG, xoshiro)
numerics · low: Small, fast, statistically strong non-cryptographic generators: PCG32 and xoshiro256**, with seeding, parallel streams and unbiased ranges.
›
Topological sort
graphs · low: Order the vertices of a DAG so every edge points forward; the core of build systems, schedulers and dependency resolution, with cycle detection for free.
›
Instruction pipelining
hardware-os · low: Pipeline stages, hazards, forwarding and stalls in CPU cores
+ 1 more techniques
System
Techniques · 8
Primitives · 12
qec-decoder
Minimum weight perfect matching
graphs · medium: Edmonds blossom algorithm and sparse blossom for matching syndromes and graphs
Fpga dataflow pipelines
hardware-os · medium: Fully pipelined fixed-latency FPGA logic: initiation interval, HLS, BRAM and DSP budgeting
Belief propagation
machine-learning · medium: Message passing on factor graphs (sum-product, min-sum) for decoding and inference
Stabilizer simulation
numerics · medium: Simulate Clifford circuits in polynomial time with stabilizer tableaus (Gottesman-Knill, Stim)
Surface code
numerics · medium: Surface code stabilizers, syndrome rounds, detector graphs and logical error rates
Instruction scheduling
compilers · medium: List scheduling over dependence DAGs with latency models; software pipelining of loops
Static timing analysis
hardware-os · medium: Propagate latest/earliest arrival forward and required times backward through a DAG; slack = required - arrival, and the minimum-slack path is the critical one.
›
Critical path analysis
graphs · medium: Longest dependency chain in a DAG of timed spans or build actions
Union-find
graphs · low: Disjoint-set forest with union by size and path compression; merges sets and answers same-set queries in effectively constant time.
›
SIMD programming
hardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.
›
Dijkstra's algorithm
graphs · low: Single-source shortest paths with non-negative edge weights by settling vertices in order of distance with a priority queue.
›
Transformer block
ml-training · low: The decoder-only pre-norm block (attention plus MLP on a residual stream) behind every modern LLM, with exact shapes, parameter, FLOP and KV-cache counts.
›
d-ary heap
data-structures · low: Array heap with d children per node (d = 4 typical): half the binary heap's depth, siblings in one cache line, faster priority queues.
›
BFS and DFS
graphs · low: The two basic graph traversals; BFS gives hop distances and levels, DFS gives discovery/finish order for cycles, components and topological order.
›
Floating-point error
numerics · low: How IEEE 754 rounding error accumulates and how to contain it: compensated (Kahan/Neumaier) and pairwise summation, error-free transformations with FMA, ULP comparisons.
›
Sparse matrices (CSR)
numerics · low: Compressed sparse row stores only nonzeros as row pointers, column indices and values; SpMV streams them once, so it is memory-bandwidth bound.
›
Finite field arithmetic
numerics · low: Prime-field and extension-field arithmetic (Montgomery form, Goldilocks, BabyBear), vectorized
PRNGs (PCG, xoshiro)
numerics · low: Small, fast, statistically strong non-cryptographic generators: PCG32 and xoshiro256**, with seeding, parallel streams and unbiased ranges.
›
Topological sort
graphs · low: Order the vertices of a DAG so every edge points forward; the core of build systems, schedulers and dependency resolution, with cycle detection for free.
›
Instruction pipelining
hardware-os · low: Pipeline stages, hazards, forwarding and stalls in CPU cores
Copy for AI