quantum-resource-estimator

quantum-resource-estimator

Estimates physical quantum resources (qubit count, runtime) for quantum algorithms on fault-tolerant hardware through natural language queries.

Category
访问服务器

README

Quantum Resource Estimator MCP Server

An MCP (Model Context Protocol) server that makes quantum resource estimation accessible through natural language. Built on Microsoft's QDK resource estimator.

What It Does

Estimates physical quantum resources (qubit count, runtime) needed to run quantum algorithms on fault-tolerant hardware. Helps researchers answer questions like:

  • "How many qubits does it take to break RSA-2048 with Shor's algorithm?"
  • "How does a superconducting qubit hardware compare to trapped-ion for this chemistry simulation?"
  • "What's the tradeoff between qubit count and runtime for my algorithm?"

Tools

Tool Description
estimate_resources Run a single resource estimation with defaults or custom params
compare_configurations Side-by-side comparison across hardware architectures
generate_frontier Pareto frontier: qubit-count vs. runtime tradeoff
list_qubit_models Reference data for all 6 predefined qubit models
list_qec_schemes Reference data for QEC schemes (surface_code, floquet_code)
list_algorithm_templates Predefined algorithms with logical resource counts
explain_parameters Domain-specific guidance (cryptography, chemistry, optimization)
custom_qubit_model_estimate Estimation with fully custom qubit parameters

Installation

Requires uv. The qsharp package bundles its own native runtime — no .NET SDK install needed.

Via PyPI (recommended)

No cloning needed. Configure your MCP client directly (see below) — uvx handles installation automatically on first run.

From source

git clone https://github.com/DeDuckProject/quantum-resource-estimator-mcp
cd quantum-resource-estimator-mcp
uv sync

Usage

Configure in Claude Desktop

macOS~/Library/Application Support/Claude/claude_desktop_config.json Windows%APPDATA%\Claude\claude_desktop_config.json Linux~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "quantum-resource-estimator": {
      "command": "/path/to/uvx",
      "args": [
        "--from",
        "quantum-resource-estimator-mcp",
        "qre-mcp"
      ]
    }
  }
}

Replace /path/to/uvx with the output of which uvx.

Configure in Claude Code

claude mcp add quantum-resource-estimator -- /path/to/uvx --from quantum-resource-estimator-mcp qre-mcp

Replace /path/to/uvx with the output of which uvx.

From source (development)

claude mcp add quantum-resource-estimator -- /path/to/uv run --directory /path/to/quantum-resource-estimator-mcp qre-mcp

Inspect with MCP dev tools

uv run mcp dev src/qre_mcp/server.py

Algorithm Input Methods

  1. Template (easiest): algorithm_template="shor_2048" — uses predefined logical counts from published research
  2. Logical counts: logical_counts='{"numQubits": 100, "tCount": 200}' — provide your own circuit counts
  3. Q# code: qsharp_code="..." — provide Q# source with a parameterless entry point

Example Queries

Via an LLM with this MCP server connected:

"Estimate the resources to break RSA-2048 on superconducting hardware"

"Compare all qubit technologies for the FeMo-cofactor chemistry simulation"

"Show me the qubit vs runtime tradeoff for Shor's algorithm on trapped-ion hardware"

"I have a circuit with 500 logical qubits and 10 million T gates — how many physical qubits do I need?"

Example Output

Example output showing a cross-architecture comparison of Shor's algorithm across all 6 hardware models

Predefined Algorithm Templates

ID Algorithm Category
shor_2048 Shor's factoring (RSA-2048) Cryptography
grover_aes128 Grover search (AES-128) Cryptography
chemistry_femo FeMo-cofactor simulation Chemistry
qpe_generic Quantum phase estimation General

Note: Templates are provided for demonstration and system exploration only. Logical counts are sourced from published research but may not capture significant details. For research-grade estimates, provide your own logical_counts sourced directly from primary publications. When using a template, estimate_resources() will include a template_info field in the response with the source citation and relevant caveats.

Logs

The server runs over stdio (MCP protocol), so stdout/stderr are not available for human-readable output. Logs are written to a file you can follow in a separate terminal:

tail -F ~/.local/share/qre-mcp/qre-mcp.log

-F (capital F) handles log rotation — the file is capped at 5 MB with up to 3 backups.

To use a custom log path, set the QRE_MCP_LOG environment variable before starting the server.

Running Tests

uv run pytest

Tests cover validators, result formatting, reference data, and parameter building. Integration tests (requiring qsharp) are skipped if the package is not available.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选