Qasmguard for OpenQASM lint, simulation, routing & FTQC

Free OpenQASM lint, profile, sim & Pauli grouping. Metered equiv, routing & FTQC.

사용해야 할까요

품질 및 안전성

A
설명 품질
90%
스키마 완전성
99%
이름 품질
80%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (1)

  • LOWTool 'q_simulate' description lacks action verbq_simulate에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,874토큰 (도구 정의)
~1.9 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.46%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "qasmguard": {
      "url": "https://qasmguard-mcp.raymond-deoliveira.workers.dev/mcp"
    }
  }
}

원격 엔드포인트

https://qasmguard-mcp.raymond-deoliveira.workers.dev/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (7)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢q_lint_qasm(qasm, strict)

Free tier: OpenQASM 2.0/3.0 lexer, AST parser, and 15 static preflight checks (bounds, arity, q0_lsb endianness). Example: {"qasm":"OPENQASM 2.0;\nqreg q[2];\nh q[0];\ncx q[0],q[1];\n"}.

입력 스키마

{
  "type": "object",
  "properties": {
    "qasm": {
      "type": "string",
      "minLength": 1,
      "description": "OpenQASM 2.0 or 3.0 source string (<= 262,144 bytes)."
    },
    "strict": {
      "type": "boolean",
      "description": "When true, warnings mark valid=false (default false)."
    }
  },
  "required": [
    "qasm"
  ],
  "additionalProperties": false
}
🟢q_profile_circuit(qasm, hardwarePreset)

Free tier: Circuit DAG depth, gate histogram, Clifford+T counts, and NISQ survival fidelity for willow-105, sycamore-54, ibm-heron-133, or ionq-forte.

입력 스키마

{
  "type": "object",
  "properties": {
    "qasm": {
      "type": "string",
      "minLength": 1,
      "description": "OpenQASM 2.0 or 3.0 source string."
    },
    "hardwarePreset": {
      "type": "string",
      "enum": [
        "willow-105",
        "sycamore-54",
        "ibm-heron-133",
        "ionq-forte"
      ],
      "description": "Target QPU noise and capacity preset (default willow-105)."
    }
  },
  "required": [
    "qasm"
  ],
  "additionalProperties": false
}
🟢q_simulate(qasm, mode, shots, seed, observables)

Free tier: Exact dense statevector (<=12Q) and bit-packed Clifford stabilizer (<=256Q) simulator with seeded shots and q0_lsb Pauli expectations.

입력 스키마

{
  "type": "object",
  "properties": {
    "qasm": {
      "type": "string",
      "minLength": 1,
      "description": "OpenQASM 2.0 or 3.0 source string."
    },
    "mode": {
      "type": "string",
      "enum": [
        "auto",
        "statevector",
        "stabilizer"
      ],
      "description": "Simulation backend: auto (<=12Q statevector or <=256Q Clifford), statevector, or stabilizer."
    },
    "shots": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000,
      "description": "Shot samples in [0, 100000] (default 1024)."
    },
    "seed": {
      "type": "integer",
      "description": "Deterministic Mulberry32 PRNG seed (default 42)."
    },
    "observables": {
      "type": "array",
      "maxItems": 64,
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Up to 64 Pauli observable strings over {I,X,Y,Z} in q0_lsb order."
    }
  },
  "required": [
    "qasm"
  ],
  "additionalProperties": false
}
🟢q_pauli_group(terms, strategy, totalShots)

Free tier: Symplectic Pauli Hamiltonian grouping (QWC and General Commuting) with Neyman variance-optimal shot allocation.

입력 스키마

{
  "type": "object",
  "properties": {
    "terms": {
      "type": "array",
      "minItems": 1,
      "maxItems": 2048,
      "description": "Pauli Hamiltonian terms (1..2048).",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "pauli",
          "coeff"
        ],
        "properties": {
          "pauli": {
            "type": "string",
            "minLength": 1,
            "description": "Pauli string over I, X, Y, Z."
          },
          "coeff": {
            "type": "number",
            "description": "Real Hamiltonian coefficient."
          }
        }
      }
    },
    "strategy": {
      "type": "string",
      "enum": [
        "qwc",
        "gc"
      ],
      "description": "Grouping strategy: qwc or gc (default qwc)."
    },
    "totalShots": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000000,
      "description": "Neyman shot budget (default 10000)."
    }
  },
  "required": [
    "terms"
  ],
  "additionalProperties": false
}
🟢q_equivalence_check(qasmA, qasmB, seed, tolerance, checkEndianness)

Metered ($0.005): Exact unitary (<=6Q), multi-probe statevector (<=12Q), and Clifford Heisenberg (<=256Q) circuit equivalence checker with global-phase and endianness-reversal diagnostics.

입력 스키마

{
  "type": "object",
  "properties": {
    "qasmA": {
      "type": "string",
      "minLength": 1,
      "description": "Reference OpenQASM 2.0/3.0 circuit."
    },
    "qasmB": {
      "type": "string",
      "minLength": 1,
      "description": "Candidate OpenQASM 2.0/3.0 circuit."
    },
    "seed": {
      "type": "integer",
      "description": "PRNG seed for 7-12Q multi-probe checks (default 42)."
    },
    "tolerance": {
      "type": "number",
      "exclusiveMinimum": 0,
      "exclusiveMaximum": 1,
      "description": "Amplitude error tolerance in (0, 1) (default 1e-9)."
    },
    "checkEndianness": {
      "type": "boolean",
      "description": "Detect q[k]<->q[n-1-k] endianness reversal (default true)."
    }
  },
  "required": [
    "qasmA",
    "qasmB"
  ],
  "additionalProperties": false
}
🟢q_transpile_route(qasm, preset, customEdges, maxIterations)

Metered ($0.010): Deterministic bidirectional SABRE SWAP router onto willow-105, sycamore-54, ibm-heron-133, ionq-forte, line, ring, or customEdges.

입력 스키마

{
  "type": "object",
  "properties": {
    "qasm": {
      "type": "string",
      "minLength": 1,
      "description": "OpenQASM 2.0/3.0 circuit to route."
    },
    "preset": {
      "type": "string",
      "enum": [
        "willow-105",
        "sycamore-54",
        "ibm-heron-133",
        "ionq-forte",
        "line",
        "ring"
      ],
      "description": "Target coupling map preset (default willow-105)."
    },
    "customEdges": {
      "type": "array",
      "description": "Optional custom undirected coupling edges [[u, v], ...].",
      "items": {
        "type": "array",
        "minItems": 2,
        "maxItems": 2,
        "items": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "maxIterations": {
      "type": "integer",
      "minimum": 1,
      "description": "Bidirectional SABRE pass count >= 1 (default 3)."
    }
  },
  "required": [
    "qasm"
  ],
  "additionalProperties": false
}
🟢q_ftqc_estimate(qasm, logicalQubits, tCount, tDepth, measurementCount, ...)

Metered ($0.020): Qualtran/Willow-calibrated surface-code distance, distillation/cultivation factory sizing, runtime, and Pareto trade-off estimator.

입력 스키마

{
  "type": "object",
  "properties": {
    "qasm": {
      "type": "string",
      "minLength": 1,
      "description": "Optional OpenQASM circuit to auto-extract logicalQubits, tCount, tDepth."
    },
    "logicalQubits": {
      "type": "integer",
      "minimum": 1,
      "description": "Logical qubit count (>= 1) if qasm omitted or overridden."
    },
    "tCount": {
      "type": "integer",
      "minimum": 0,
      "description": "Total T-gate count (>= 0)."
    },
    "tDepth": {
      "type": "integer",
      "minimum": 0,
      "description": "Critical-path T-depth (<= tCount)."
    },
    "measurementCount": {
      "type": "integer",
      "minimum": 0,
      "description": "Logical measurement count (>= 0)."
    },
    "targetTotalError": {
      "type": "number",
      "exclusiveMinimum": 0,
      "exclusiveMaximum": 1,
      "description": "Target total algorithm failure probability in (0, 1) (default 0.01)."
    },
    "hardwareProfile": {
      "type": "string",
      "enum": [
        "willow-superconducting",
        "optimistic-superconducting",
        "trapped-ion",
        "neutral-atom"
      ],
      "description": "Physical fault-tolerant architecture profile (default willow-superconducting)."
    },
    "factoryType": {
      "type": "string",
      "enum": [
        "15-to-1-distillation",
        "cultivation"
      ],
      "description": "Magic-state factory architecture (default 15-to-1-distillation)."
    }
  },
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 7개