Code contents for tensor-network simulation from project "Designing Near-Term Spin-Qubit Architectures with Highly Entangled Quantum Many-Body States".