Skip to content
@planckeon

planckeon labs

R&D in <fast|intelligent> software tooling for theoretical physics
Planckeon Labs

Planckeon Labs

R&D in high-performance computational physics

GitHub nufast ITN


When physics meets systems programming


What We Build

High-performance software tools for computational physics. The goal: make software go zoom, then use it to understand the universe.

Flagship Projects

nufast — Neutrino Oscillations at the Speed of Light

Fast three-flavor neutrino oscillation probabilities in Rust, Zig, and WebAssembly.

Port of the NuFast algorithm by P.B. Denton, used in production by T2K and JUNO.

Feature What it does
~25 ns/calc Zig SIMD beats the original by 4×
PREM Earth model Variable density for atmospheric neutrinos
NSI support Non-Standard Interactions with complex ε matrix
Sterile neutrinos 3+1 model with exact 4-flavor vacuum
WASM (13 KB) Runs in the browser at 20M calculations/sec
const nufast = @import("nufast");
const dune = nufast.experiments.dune;
const probs = nufast.matterProbability(dune.toMatterParams(), dune.L, dune.E);
// P(νμ → νe) at DUNE baseline in ~25 ns

Imagining the Neutrino — See Oscillations Happen

▶ Launch Demo

Interactive 3-flavor neutrino oscillation visualization. Fly through space with a neutrino as its flavor evolves.

  • 11 experiment presets (DUNE, T2K, NOvA, KamLAND, IceCube...)
  • Real-time probability plots, ternary diagrams, PMNS matrix display
  • δCP slider, matter effects, mass ordering toggle
  • 7 languages, keyboard shortcuts, URL state sharing
  • Powered by nufast WASM (~13 KB, 60 fps)

Built in React + TypeScript + Canvas 2D. 166 tests passing.


More Projects

Project Description Stack
attn-as-bilinear-form Transformer attention via tensor calculus, statistical mechanics, and differential geometry Zola
pauliz Zero-dependency quantum computing simulation Zig
autograv Numerical relativity meets automatic differentiation JAX
pytrino Neutrino oscillations at the speed of C (Python/Cython) Python

The Story

I'm a physics grad who fell into systems programming. My undergrad thesis was on neutrino oscillation phenomenology—specifically, using the Eigenvalue-Eigenvector Identity (EEI) to derive analytic expressions for oscillation probabilities. That work became pytrino, published on PyPI.

Later, I emailed Peter Denton about extending EEI to 4-flavor oscillations (sterile neutrinos). His reply: "analytically much much worse, and also numerically somewhat unstable." But he pointed me to NuFast—his ~100 ns algorithm. I thought: can I beat that?

The Zig port of NuFast runs at 21 ns per calculation (SIMD f32). That's 4.7× faster than the original.

Not because I'm smarter—because Zig gives you explicit control over everything LLVM cares about. No hidden allocations, no borrow checker overhead, comptime everything.


Why "Planckeon"?

Planckeons are theoretical entities at the Planck scale (~10⁻³⁵ m) where quantum mechanics and gravity merge. Recent work models them as wormhole mouths that realize the ER=EPR conjecture—the idea that entanglement is geometry.

Just as planckeons bridge quantum and gravitational physics, we build software that bridges theoretical physics and practical computation.


Philosophy

  • Speed matters. If your simulation takes hours, you'll run it once. If it takes milliseconds, you'll explore the parameter space.
  • Systems programming is underrated in physics. Most physicists default to Python. That's fine for prototypes. But production tools should be fast.
  • The best abstractions are zero-cost. Zig and Rust let you write high-level code that compiles to what you'd write by hand.
  • Open source is the way. All our tools are MIT licensed.

"The universe is not only queerer than we suppose, but queerer than we can suppose." — J.B.S. Haldane

planckeon.github.io

Popular repositories Loading

  1. itn itn Public

    Interactive 3-flavor neutrino oscillation visualization using NuFast algorithm • React + TypeScript + Anime.js

    TypeScript 1

  2. attn-as-bilinear-form attn-as-bilinear-form Public

    Attention as Bilinear Form: A Physicist's Guide to Transformer Attention via Tensor Calculus, Statistical Mechanics, and Differential Geometry

    Python 1

  3. pytrino pytrino Public

    Use Python to compute neutrino oscillation probabilities in vacuum and matter at the speed of C!

    Python

  4. fortron fortron Public

    [WIP] A Rust-based binary orchestrator (and eventual toolchain manager) for compiled Fortran binaries.

    Rust

  5. discrete-symmetries-in-qft discrete-symmetries-in-qft Public

    notes on discrete symmetries (C, P, T) in quantum field theory

  6. nufast nufast Public

    Fast & accurate three-flavor neutrino oscillation probabilities in Rust/Zig. Port of NuFast by Denton & Parke. ~60ns vacuum, ~95ns matter.

    Zig

Repositories

Showing 10 of 12 repositories

Top languages

Loading…

Most used topics

Loading…