42digest首页
TensorKit.jl:一个用于大规模张量计算的 Julia 包,带有些许范畴论色彩

TensorKit.jl: A Julia package for large-scale tensor computations, with a hint of category theory

Lukas Devos and Jutho Haegeman

arXiv
2025年8月13日

TensorKit.jl 是一个基于 Julia 的张量计算软件包,特别关注具有内部对称性的张量。本文介绍了其设计理念、核心功能和独特特性,包括如何通过"TensorMap"类型处理阿贝尔、非阿贝尔和任意子对称性。我们重点展示了该软件的灵活性、性能以及扩展到新张量类型和对称性的能力,并通过精选案例研究说明了其实际应用。

TensorKit.jl is a Julia-based software package for tensor computations, especially focusing on tensors with internal symmetries. This paper introduces the design philosophy, core functionalities, and distinctive features, including how to handle abelian, non-abelian, and anyonic symmetries through the "TensorMap" type. We highlight the software's flexibility, performance, and its capability to extend to new tensor types and symmetries, illustrating its practical applications through select case ...