- Accepted Paper
Tensor computing application programming interface: An application-oriented, lightweight API for portable high-performance tensor network computations
APS Open Sci. - Accepted 16 October, 2026
DOI: https://doi.org/10.1103/dmx5-95ny
APS Open Sci. - Accepted 16 October, 2026
DOI: https://doi.org/10.1103/dmx5-95ny
Tensor networks (TNs) are a central computational tool in quantum science and artificial intelligence. However, the lack of a unified software interface across tensor-computing frameworks severely limits the portability of TN applications, coupling algorithmic development to specific hardware and software back ends. To address this challenge, we introduce the Tensor Computing Application Programming Interface (TCAPI)—an application-oriented, lightweight API designed to enable framework-independent, high-performance TN applications, currently specified for and . TCAPI provides well-defined type-system conventions that abstract tensor objects, together with a minimal yet expressive set of core functions for essential tensor manipulations and tensor linear-algebra operations, with operation semantics shared across language specifications. Through numerical demonstrations of representative tensor-network applications implemented in using TCAPI, we show that code written against TCAPI can be migrated seamlessly across heterogeneous hardware and software platforms while achieving performance comparable to native framework implementations. We further provide open-source implementations of TCAPI based on and in , and on in , demonstrating its practicality and ease of integration with existing tensor-computing frameworks.
If the author has provided any supplemental materials with this article they will be available upon publication of the version of record.