HUB
Sign inSign up
tensornetwork-lab logo

credkellar/tensornetwork-lab

By credkellar

•Updated 8 days ago

Reproducible tensor network lab: DMRG, MPS, PEPS & TEBD with Python, Jupyter, and GPU support.

Image
Languages & frameworks
Developer tools
Data science
1

219

credkellar/tensornetwork-lab repository overview

⁠tensornetwork-lab

A ready-to-run environment for tensor network research, teaching, and prototyping. Pull the image and start simulating quantum many-body systems without installing anything.

⁠What's inside

  • Python 3 with NumPy, SciPy, JAX, and PyTorch
  • Tensor network libraries: TensorNetwork, quimb, TeNPy, opt_einsum
  • JupyterLab with example notebooks
  • Algorithms: DMRG, TEBD, MPS/MPO operations, PEPS, and tensor contraction ordering
  • Plotting tools: Matplotlib, entanglement spectra, and correlation functions

⁠Quick start

docker pull <your-username>/tensornetwork-lab:latest
docker run -it --rm -p 8888:8888 -v $(pwd):/workspace <your-username>/tensornetwork-lab:latest

Open the JupyterLab URL printed in the terminal.

⁠With GPU support
docker run -it --rm --gpus all -p 8888:8888 -v $(pwd):/workspace <your-username>/tensornetwork-lab:latest

Requires the NVIDIA Container Toolkit on the host.

⁠Example workflows

  • Ground-state search for the 1D Heisenberg and transverse-field Ising chains with DMRG
  • Real-time evolution of quantum quenches with TEBD
  • Entanglement entropy scaling and central charge extraction
  • 2D PEPS contraction experiments
  • Automatic differentiation through tensor networks

⁠Tags

TagDescription
latestMost recent stable build (CPU)
gpuCUDA-enabled build
x.y.zPinned release versions

⁠Volumes and ports

Path / PortPurpose
/workspaceMount your notebooks and data here
8888JupyterLab

⁠Source and support

  • Source code: https://github.com/⁠/tensornetwork-lab
  • Issues and feature requests: use the GitHub issue tracker

⁠License

MIT (update to match your repository).

Tag summary
Recent tags
Content type
Image
Digest
sha256:347a45b95…
Size
41.3 MB
Last updated
8 days ago
docker pull credkellar/tensornetwork-lab:latest