MCP.so
登录

Quantum Simulator

@YuChenSSR

关于 Quantum Simulator

for quantum computing

基本信息

分类

其他

许可证

MIT

传输方式

stdio

发布者

YuChenSSR

提交者

Yu Chen

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "quantum-simulator": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/tmp:/data/quantum_simulator_results",
        "-e",
        "HOST_OUTPUT_DIR=/tmp",
        "ychen94/quantum-simulator-mcp:latest"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Quantum Simulator?

A Docker image that provides a quantum circuit simulator implementing the Model Context Protocol (MCP) for integration with MCP clients like Claude for Desktop. It simulates quantum circuits with noise models using Qiskit.

How to use Quantum Simulator?

Pull the Docker image (docker pull ychen94/quantum-simulator-mcp:latest), then run the container with docker run -i --rm -v /tmp:/data/quantum_simulator_results -e HOST_OUTPUT_DIR=/tmp ychen94/quantum-simulator-mcp:latest. Configure the container as an MCP server in your Claude for Desktop configuration file (claude_desktop_config.json).

Key features of Quantum Simulator

  • Quantum computing simulator with noise models
  • Support for OpenQASM 2.0 quantum circuits
  • Quantum circuit simulation using Qiskit
  • Various noise models (depolarizing, thermal relaxation, readout error)
  • Multiple result types (counts, statevector, histograms)
  • Pre-configured example circuits

Use cases of Quantum Simulator

  • Run a Bell state circuit and inspect the results
  • Simulate Grover's algorithm with configurable noise
  • Explore available noise models and their descriptions
  • Generate and visualize histogram output files

FAQ from Quantum Simulator

What architectures are supported?

The image supports linux/amd64 and linux/arm64 (confirmed on Mac M-series). It has not been tested on Windows but should work with proper Docker Desktop configuration.

How do I access histogram files from the host?

Histogram PNG files are generated inside the container at /data/quantum_simulator_results and made available on the host through the volume mapping. Ensure HOST_OUTPUT_DIR matches the host path in your -v mapping.

Why does the Docker container exit immediately?

The container requires the -i flag to keep stdin open for MCP STDIO transport. Without it, the container will exit immediately.

What environment variables control the output directory?

QUANTUM_OUTPUT_DIR sets the output directory inside the container (default /data/quantum_simulator_results), and HOST_OUTPUT_DIR sets the corresponding host path (default /tmp).

评论

其他 分类下的更多 MCP 服务器