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 tensors –
SymmetricTensorstores only symmetry-allowed charge sectors, reducing memory and FLOPs.JAX integration – all tensor types are registered as JAX pytrees for seamless
jit,grad, andvmap.Optimised contraction paths –
opt_einsumfinds 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¶
Notes