Thriving Thriving LE TE
โ†‘ 53
TNLean LionSR/TNLean

Tensor-network theory, formalized in Lean 4: the fundamental theorem of matrix product states, canonical forms, parent Hamiltonians, matrix-product density operators, and projected entangled pair states, building on the QICLean quantum-information library

https://sirui-lu.com/TNLean/ โ†—
HEALTH 99 / Healthy
// hidden gem formalizationlean4mathlibmatrix-product-statestensor-networks

// momentum

+30โ˜… ยท 0 issues ยท 3w

// why it's here

  • Active: last commit today
  • Health 99/100 with only 50 stars

// how to help

// readme

TNLean is a Lean 4 library built on Mathlib (Lean v4.36.0-rc1) and the companion quantum-information library QICLean. It formalizes the mathematical theory of one- and two-dimensional tensor networks: matrix product states (MPS) and their canonical forms and gauge structure, parent Hamiltonians and spectral gaps, symmetries and topological phases, matrix-product density operators (MPDO) and unitaries (MPU/QCA), quantum circuit state preparation, projected entangled pair states (PEPS), and entanglement area laws with tensor-network approximations in 1D and 2D. Blueprint tensor diagrams are rendered by tenkz, pinned in tenkz.toml.

Read the full README on GitHub โ†—

Health score

Is the project alive and maintained right now? A 0โ€“100 pulse recomputed nightly from commit recency, rhythm, how fast issues close, and how quickly PRs get merged.

How it's calculated

Undervalued score

Activity relative to attention (stars + watchers). Above 50 means a lot of activity for a project its size. Recomputed nightly from commit velocity, contributor effort, issue resolution, fork utility, release cadence, and project maturity โ€” divided by a logarithmic reach factor.

How it's calculated

Tags

Tags are independent behavioral signals computed nightly. A project can hold multiple at once. They drive the home page sections.

How it's calculated