Tenax

JAX-based tensor network library with symmetry-aware block-sparse tensors.

Tenax provides label-based tensor contraction (Cytnx-style), abelian symmetry support (U(1), Z_n), and production-ready implementations of DMRG, TRG, HOTRG, and iPEPS algorithms.

Key Features

  • Label-based contraction – shared labels between tensors are automatically contracted; no manual einsum subscripts needed.

  • Symmetry-aware tensorsSymmetricTensor stores only symmetry-allowed charge sectors, reducing memory and FLOPs.

  • JAX integration – all tensor types are registered as JAX pytrees for seamless jit, grad, and vmap.

  • Optimised contraction pathsopt_einsum finds the best contraction order before JAX executes.

  • Batteries-included algorithms – DMRG, TRG, HOTRG, iPEPS with simple configuration dataclasses.

Getting Started

Algorithm Tutorials

Tools

Reference

Additional Resources