TensorNetwork is a high-level library for building and contracting tensor networks—graphical factorizations of large tensors that underpin many algorithms in physics and machine learning. It abstracts networks as nodes and edges, then compiles efficient contraction orders across multiple numeric backends so users can focus on model structure rather than index bookkeeping. Common network families (MPS/TT, PEPS, MERA, tree networks) are expressed with concise APIs that encourage experimentation and comparison. The library provides automatic path finding and cost estimation, exposing when contractions will explode in memory and suggesting better orders. Because it supports backends such as NumPy, TensorFlow, PyTorch, and JAX, the same model can run on CPUs, GPUs, or TPUs with minimal code changes. Tutorials and visualization helpers make it easier to understand how network topology affects expressive power and computational cost.

Features

  • Graph-based API for nodes, edges, and contractions
  • Automatic path finding and contraction-cost estimation
  • Ready-made builders for MPS/TT, PEPS, MERA, and tree networks
  • Pluggable backends: NumPy, TensorFlow, PyTorch, JAX
  • Visualization utilities for network structure and flows
  • GPU/TPU acceleration with identical high-level code

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow TensorNetwork

TensorNetwork Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TensorNetwork!

Additional Project Details

Programming Language

Python

Related Categories

Python Neural Network Libraries

Registered

2025-10-10