quadrants
The Quadrants Programming Language
Decision gist · record as of 2026-08-14
Yes, if you need to write GPU-accelerated physics or robotics simulations in Python without manual kernel programming. The compiler is actively maintained, has no known vulnerabilities, and offers permissive licensing. Install friction is moderate due to compiled wheels, but pre-built binaries cover standard platforms. Verify that the feature set (especially newer additions like fastcache and GPU graphs) meets your stability requirements and that the community ecosystem is sufficient for your use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10–3.13; Mac OS 14+, Windows, or Ubuntu 22.04+ (or compatible); ROCm 5.2+ for AMD GPU support.
- Medium install friction due to compiled wheels for multiple Python versions (3.10–3.13) and platforms, but pre-built binaries are available for macOS, Linux, and Windows.
- Active maintenance with a release 3 days old and recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both open-source and proprietary projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 190 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 172,045 downloads/mo, #10,349 on PyPI
Alternatives
Verify before relying
pip install quadrants
import quadrants as qd
import numpy as np
@qd.kernel
def add_kernel(x: qd.Tensor, y: qd.Tensor, z: qd.Tensor):
for i in range(x.shape[0]):
z[i] = x[i] + y[i]
x = qd.Tensor(np.array([1.0, 2.0]))
y = qd.Tensor(np.array([3.0, 4.0]))
z = qd.Tensor(np.zeros(2))
add_kernel(x, y, z)- Actual performance improvements (4.5× ndarray CPU, 30% GPU overhead vs. fields) on representative user workloads outside Genesis benchmarks.
- Stability and maturity of newer features (fastcache, GPU graphs, perf_dispatch, tile primitives) in production use.
- Backward compatibility guarantees or migration path from upstream Taichi for existing code.
- Community size and third-party ecosystem relative to other physics simulation frameworks.
What it is and what it does
Quadrants is a compiler that accepts Python code decorated with `@qd.kernel` and compiles it into highly optimized parallel code for execution on multiple hardware backends—NVIDIA CUDA, AMD ROCm, Apple Metal, Vulkan, and CPUs. It evolved from Taichi as a fully independent project focused on large-scale physics simulation and robotics workloads. The compiler includes structured data support via dataclasses, a unified tensor API with layout control, autodiff with dynamic loops, GPU graph capture, and SIMT primitives like tile operations and subgroup reductions.
The package ships with pre-built wheels for modern Python versions (3.10–3.13) across macOS, Linux, and Windows, reducing installation friction. It depends on numpy, pydantic, rich, dill, colorama, cffi, and setuptools. Key features include zero-copy interop with PyTorch and NumPy via DLPack, a Python backend for debugging, and optional fastcache for reduced kernel load times. The project is actively maintained, with recent releases and no known security vulnerabilities.
Use it for
- Compile physics simulation kernels for robotics training and control on GPUs without manual CUDA/HIP programming.
- Accelerate large-scale differentiable simulations with autodiff support for gradient-based optimization.
- Deploy cross-platform GPU code (CUDA, Metal, ROCm, Vulkan) from a single Python source without rewriting for each backend.
- Debug compiled kernels using the Python backend to step through code in a standard Python debugger before GPU deployment.
- Integrate GPU-accelerated simulation into PyTorch or NumPy workflows via zero-copy tensor interop.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to write GPU-accelerated physics or robotics simulations in Python without manual kernel programming.
The compiler is actively maintained, has no known vulnerabilities, and offers permissive licensing. Install friction is moderate due to compiled wheels, but pre-built binaries cover standard platforms. Verify that the feature set (especially newer additions like fastcache and GPU graphs) meets your stability requirements and that the community ecosystem is sufficient for your use case.
Install
quadrants on PyPI
Before you install
Medium install friction due to compiled wheels for multiple Python versions (3.10–3.13) and platforms, but pre-built binaries are available for macOS, Linux, and Windows. Active maintenance with a release 3 days old and recent commits.
Requires Python 3.10–3.13; Mac OS 14+, Windows, or Ubuntu 22.04+ (or compatible); ROCm 5.2+ for AMD GPU support.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install quadrants
import quadrants as qd
import numpy as np
@qd.kernel
def add_kernel(x: qd.Tensor, y: qd.Tensor, z: qd.Tensor):
for i in range(x.shape[0]):
z[i] = x[i] + y[i]
x = qd.Tensor(np.array([1.0, 2.0]))
y = qd.Tensor(np.array([3.0, 4.0]))
z = qd.Tensor(np.zeros(2))
add_kernel(x, y, z)
Verify before relying
- Actual performance improvements (4.5× ndarray CPU, 30% GPU overhead vs. fields) on representative user workloads outside Genesis benchmarks.
- Stability and maturity of newer features (fastcache, GPU graphs, perf_dispatch, tile primitives) in production use.
- Backward compatibility guarantees or migration path from upstream Taichi for existing code.
- Community size and third-party ecosystem relative to other physics simulation frameworks.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <3.14,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 7 packagesnumpycoloramadillpydanticrichsetuptoolscffi |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 172,045 / month, #10,349 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Games/Entertainment :: SimulationTopic :: Multimedia :: GraphicsTopic :: Software Development :: Compilers |
Evidence: quadrants-1.3.0-cp310-cp310-macosx_13_0_arm64.whl; quadrants-1.3.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_34_aarch64.whl; quadrants-1.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; quadrants-1.3.0-cp310-cp310-win_amd64.whl; quadrants-1.3.0-cp311-cp311-macosx_13_0_arm64.whl; quadrants-1.3.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_34_aarch64.whl; quadrants-1.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; quadrants-1.3.0-cp311-cp311-win_amd64.whl; quadrants-1.3.0-cp312-cp312-macosx_13_0_arm64.whl; quadrants-1.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_34_aarch64.whl; quadrants-1.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; quadrants-1.3.0-cp312-cp312-win_amd64.whl; quadrants-1.3.0-cp313-cp313-macosx_13_0_arm64.whl; quadrants-1.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_34_aarch64.whl; quadrants-1.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; quadrants-1.3.0-cp313-cp313-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “physics simulation compiler”
- quadrantsQuadrants is a high-performance compiler that translates Python code…
- Box2DBox2D is a Python binding to the Box2D C++ physics engine, providing…
- mujoco-warpGPU-accelerated physics simulation for robotics using NVIDIA Warp,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Graphics packages
Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.
Install it if you need to work with images in Python—it is the de facto standard for this task.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.
PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.
The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.
pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.
Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.
Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.
See also newton · cpm-kernels · warp-lang · nvidia-cutlass-dsl · nvidia-cuda-nvcc · nvidia-mathdx · nvidia-cutlass-dsl-libs-core · pyrsmi · mitsuba · Box2D