Code and notebooks for density matrix renormalization group (DMRG) and related tensor-network simulations. Scripts implement DMRG/cooling routines, circuit utilities, and experiment helpers; notebooks capture exploratory runs and diagnostics.
algo_dmrg.py,algo_boundary.py,algo_cooling.py: core DMRG and boundary/cooling routines.dmrg.py,svd.py: runnable scripts for DMRG workflows and SVD-based variants.circuits.py: circuit construction and Qiskit helpers.quf.py,register_.py: utilities (partitioning, contractions, registration) used across scripts.dmrg*.ipynb,mps_*.ipynb,plot.ipynb,prac.ipynb: experiments and visualizations.cash/: local cache/artifacts (ignored).store/,z2_exact/: reference data and helper modules.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# For GPU JAX/PyTorch, install vendor wheels as needed..gitattributestreats notebooks as binary to avoid noisy diffs; usenbdiffor screenshots for review..gitignoreexcludes checkpoints, caches,cash/, andnohup.out. Keep transient data there or outside the repo.- Large generated data should stay out of version control or use Git LFS if required.