EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

The Cytnx library for tensor networks

Kai-Hsin Wu, Chang-Teng Lin, Ke Hsu, Hao-Ti Hung, Manuel Schneider, Chia-Min Chung, Ying-Jer Kao, Pochung Chen

SciPost Physics Codebases · 13.03.2025

DOI: 10.21468/scipostphyscodeb.53 ↗

Kurz gefasst

Fachartikel in der Zeitschrift SciPost Physics Codebases, online erschienen am 13.03.2025. Verfasst von Kai-Hsin Wu und 7 weiteren Autor:innen. Die Arbeit wurde bisher 4-mal zitiert (Crossref) und nennt 64 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Ministry of Education, National Science and Technology Council.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

We introduce a tensor network library designed for classical and quantum physics simulations called Cytnx (pronounced as sci-tens). This library provides an almost identical interface and syntax for both C++ and Python, allowing users to effortlessly switch between the two languages. Aiming at a quick learning process for new users of tensor network algorithms, the interfaces resemble the popular Python scientific libraries like NumPy, Scipy, and PyTorch. Not only multiple global Abelian symmetries can be easily defined and implemented, Cytnx also provides a new tool called Network that allows users to store large tensor networks and perform tensor network contractions in an optimal order automatically. With the integration of cuQuantum, tensor calculations can also be executed efficiently on GPUs. We present benchmark results for tensor operations on both devices, CPU and GPU. We also discuss features and higher-level interfaces to be added in the future.

Förderung

  • Ministry of Education
  • National Science and Technology Council

Zitieren

APA

Wu, K., Lin, C., Hsu, K., Hung, H., Schneider, M., Chung, C., Kao, Y., & Chen, P. (2025). The Cytnx library for tensor networks. SciPost Physics Codebases. https://doi.org/10.21468/scipostphyscodeb.53

Vancouver

Wu K, Lin C, Hsu K, Hung H, Schneider M, Chung C, et al. The Cytnx library for tensor networks. SciPost Physics Codebases. 2025. doi:10.21468/scipostphyscodeb.53

BibTeX
@article{Wu2025,
  author = {Wu, Kai-Hsin and Lin, Chang-Teng and Hsu, Ke and Hung, Hao-Ti and Schneider, Manuel and Chung, Chia-Min and Kao, Ying-Jer and Chen, Pochung},
  title = {The Cytnx library for tensor networks},
  journal = {SciPost Physics Codebases},
  year = {2025},
  doi = {10.21468/scipostphyscodeb.53}
}
Kostenlos starten →