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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free 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