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/ โ// momentum
// 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.