Quantum Simulator

Created By
YuChenSSRa year ago
Overview

What is Quantum Simulator?

Quantum Simulator is a Docker-based quantum circuit simulator that implements the Model Context Protocol (MCP), allowing integration with MCP clients like Claude for Desktop.

How to use Quantum Simulator?

To use Quantum Simulator, pull the Docker image and run the container with the specified command. You can also integrate it with Claude for Desktop by configuring the MCP settings.

Key features of Quantum Simulator?

  • Supports OpenQASM 2.0 quantum circuits
  • Simulates quantum circuits using Qiskit
  • Offers various noise models (depolarizing, thermal relaxation, readout error)
  • Provides multiple result types including counts, statevector, and visualized histograms
  • Includes pre-configured example circuits
  • Seamless integration with MCP clients

Use cases of Quantum Simulator?

  1. Running quantum circuits with specified noise models
  2. Analyzing quantum circuits and retrieving statistics
  3. Generating test histograms for verification

FAQ from Quantum Simulator?

  • Can Quantum Simulator run on Windows?

The image has not been tested on Windows systems yet, but it should work with proper Docker Desktop configuration.

  • How do I troubleshoot if the container exits immediately?

Ensure to use the -i flag to keep stdin open, which is required for the MCP STDIO transport.

  • What should I do if Claude cannot access the histogram files?

Check the volume mapping and ensure the HOST_OUTPUT_DIR environment variable matches the host path.

Server Config

{
  "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"
      ]
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
YuChenSSR
Star
-
Language
-
License
-

Recommend Servers

View All