using-tenpy

Execute tensor network simulations with TeNPy for quantum many-body systems.

60|92|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-tenpy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-tenpy
Source: https://github.com/QuantumBFS/quantum.harness/tree/main/skills/using-tenpy
Command: npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-tenpy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires physics-tenpy, matplotlib, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a robust, expert-curated environment for performing Tensor Network Python (TeNPy) simulations, specifically addressing the complexities of setting up MPS calculations, managing memory-intensive quantum states, and ensuring numerical convergence.

Core Features & Use Cases

  • Advanced Algorithms: Access to iTEBD, iDMRG, VUMPS, and finite-temperature purification for quantum many-body systems.
  • Numerical Verification: Built-in tools for tangent-space gradient norm testing and symmetry-protected sector validation.
  • Use Case: Researchers can use this skill to simulate the ground state of a 1D spin chain or perform real-time evolution of quantum systems while ensuring the correct handling of numpy ABI and threading environments.

Quick Start

Use the using-tenpy skill to initialize a SpinChain model and run an iTEBD simulation with the specified bond dimension and truncation parameters.

Frequently Asked Questions about using-tenpy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run tensor network simulations for quantum many-body systems using TeNPy?

Tensor network simulations for quantum many-body systems are executed using the TeNPy library, supporting complex workflows like iTEBD, VUMPS, and DMRG for both finite and infinite lattice geometries.

Can I simulate ground states and real-time evolution of a 1D spin chain?

Yes, you can simulate the ground state of a 1D spin chain or perform real-time evolution of quantum systems while ensuring correct handling of numpy ABI and threading environments.

What numerical verification methods are available for MPS quantum simulations?

MPS quantum simulations include built-in numerical verification tools for tangent-space gradient norm testing and symmetry-protected sector validation to ensure numerical convergence.

Does running high-performance MPS simulations require isolated virtual environment management?

Yes, high-performance MPS simulations require isolated virtual environment management and precise configuration of bond dimensions, symmetry sectors, and Trotter evolution schedules.

Are finite-temperature purification and iDMRG algorithms supported for infinite lattice geometries?

Yes, finite-temperature purification and iDMRG algorithms are fully supported alongside iTEBD and VUMPS for both finite and infinite lattice geometries.

Why do I need to configure Trotter evolution schedules and bond dimensions for tensor network calculations?

Configuring Trotter evolution schedules and bond dimensions is required to manage memory-intensive quantum states and ensure numerical convergence during tensor network calculations.