NVALCHEMY Toolkit Ops (pypi: `nvalchemi-toolkit-ops`) is a Python library providing high-performance NVIDIA Warp primitives for GPU-enabled computational chemistry and atomistic simulation workflows. It leverages NVIDIA Warp for accelerated calculations. As of version 0.3.1, it is under active development with frequent minor and patch releases, often introducing new features and refactorings.
pip install nvalchemi-toolkit-opsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates calculating a bond length using `toolkit_ops.mol_geom.get_bond_length`. It initializes NVIDIA Warp, converts a NumPy array of atomic positions to a Warp array, and then performs the calculation. An NVIDIA GPU and CUDA are required for `wp.init()` to succeed.
Always consult the `CHANGELOG.md` or official documentation when upgrading minor versions. Update import paths and API calls accordingly.
Ensure `pip install nvidia-warp-core` is run and your system has a compatible NVIDIA GPU and CUDA toolkit installed. `wp.init()` must execute successfully before using Warp primitives.
Use a Python environment that satisfies `Python>=3.11,<3.15` to avoid installation and runtime issues.
Convert NumPy arrays to `warp.array` instances with the appropriate `dtype` (e.g., `wp.vec3`, `wp.float32`) before passing them to `toolkit_ops` functions.