OpenParable
Skip to content
← Back to skills

Tensor Network Simulator

Others
tensor-network-simulator

Tensor Network Simulator is an Agent Skill for general use published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Tensor network-based simulation skill for large circuit approximation

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/quantum-computing/skills/tensor-network-simulator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tensor-network-simulator, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Tensor Network Simulator

Purpose

Provides expert guidance on tensor network-based quantum circuit simulation for approximate evaluation of circuits beyond state vector limits.

Capabilities

  • MPS (Matrix Product State) simulation
  • PEPS simulation for 2D circuits
  • Contraction path optimization
  • Truncation error control
  • GPU-accelerated contraction
  • Circuit cutting support
  • Entanglement-limited approximation
  • Memory-time tradeoff tuning

Usage Guidelines

  1. Structure Analysis: Identify circuit entanglement structure
  2. Method Selection: Choose MPS, PEPS, or general tensor network
  3. Bond Dimension: Set appropriate truncation threshold
  4. Contraction Ordering: Optimize contraction path for efficiency
  5. Error Monitoring: Track approximation errors through simulation

Tools/Libraries

  • TensorNetwork
  • quimb
  • ITensor
  • cuTensorNet (NVIDIA cuQuantum)
  • cotengra