Tensor Network Simulator
Otherstensor-network-simulatorTensor 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
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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
- Structure Analysis: Identify circuit entanglement structure
- Method Selection: Choose MPS, PEPS, or general tensor network
- Bond Dimension: Set appropriate truncation threshold
- Contraction Ordering: Optimize contraction path for efficiency
- Error Monitoring: Track approximation errors through simulation
Tools/Libraries
- TensorNetwork
- quimb
- ITensor
- cuTensorNet (NVIDIA cuQuantum)
- cotengra