σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
Skills›SIMD
∥

SIMD Skill

LiveStart here

This is the simulator edition of the skill: there is no compiler, no CPU flag and no stopwatch. You write a Python machine with vector registers of 4 or 8 lanes that counts every instruction it runs, so a speedup is a ratio of counts you can print and check. Each lecture teaches one idea with small examples and their output, then a graded lab extends the same machine. You learn why one instruction on many lanes beats a loop, what stops a compiler from vectorizing, how loads, masks and reductions work, and how to report an honest speedup for a rolling mean and a dot product over real returns.

4 modules11 graded labs~10 hoursIntermediate → Advanced
Start skill

Prerequisites

Comfort with Python functions, lists and loops is enough; no C or C++ is needed, because the vector machine is a simulator you write. The cache-locality skill helps with the load and alignment ideas but is not required.

  • Python
  • L1Cache locality

Syllabus

11 topics · open any topic, in any order
  1. 1Data parallelism and vector registersNot startedRequires Python45 minStart
  2. 2NumPy as SIMD: why vectorization winsNot startedRequires Python50 minStart
  1. 3Auto-vectorization: which loops a compiler can vectorizeNot startedRequires Python55 minStart
  2. 4Intrinsics: writing the vector code by handNot startedRequires Python1 hr 10 minStart
  1. 5Alignment and the scalar tailNot startedRequires Python50 minStart
  2. 6Masks and branchless codeNot startedRequires Python55 minStart
  3. 7Horizontal operations and reductionsNot startedRequires Python50 minStart
  4. 8Gather and scatterNot startedRequires Python45 minStart
  1. 9Portable SIMD: one kernel and any widthNot startedRequires Python50 minStart
  2. 10Runtime dispatch by CPU featureNot startedRequires Python50 minStart
  3. 11Capstone: a SIMD moving average and dot product with a speedup reportNot startedRequires Python1 hr 30 minStart

Completion

Pass all 11 labs with a score of 70+ to complete the skill and earn the SIMD badge on your profile.

0 / 110%

Prerequisites

Comfort with Python functions, lists and loops is enough; no C or C++ is needed, because the vector machine is a simulator you write. The cache-locality skill helps with the load and alignment ideas but is not required.

  • Python
  • L1Cache locality

Tools you'll use

PythonNumPypytest

What you'll learn

  • Build a vector machine with 4 or 8 lanes in Python and add two arrays lane by lane
  • Explain by counting instructions why NumPy and vectorized code beat a Python loop
  • Tell which loops a compiler can vectorize and write the same loop with intrinsics
  • Handle the loop tail, branches with masks and blends, sums across lanes and scattered indexes
  • Write one kernel for any width, pick a version by CPU feature, and report an honest speedup on real returns

Next skill

AxBLAS and LAPACKLive
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
LoginJoin ↗
Login