Free OpenQASM lint, profile, sim & Pauli grouping. Metered equiv, routing & FTQC.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Optional Polar license key for circuit equivalence, SWAP routing, and FTQC estimation.
Optional Bearer API key or Payment receipt header for per-call metered tool access.
Optional x402 v2 Base64 payment payload header for per-call USDC settlement.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Metered ($0.005): Exact unitary (<=6Q), multi-probe statevector (<=12Q), and Clifford Heisenberg (<=256Q) circuit equivalence checker with global-phase and endianness-reversal diagnostics.
Reference OpenQASM 2.0/3.0 circuit.
Candidate OpenQASM 2.0/3.0 circuit.
PRNG seed for 7-12Q multi-probe checks (default 42).
Amplitude error tolerance in (0, 1) (default 1e-9).
Detect q[k]<->q[n-1-k] endianness reversal (default true).
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http qasmguard https://qasmguard-mcp.raymond-deoliveira.workers.dev/mcp
Headers
X-Polar-License-Key (optional, not in the config above): Optional Polar license key for circuit equivalence, SWAP routing, and FTQC estimation.Authorization (optional, not in the config above): Optional Bearer API key or Payment receipt header for per-call metered tool access.PAYMENT-SIGNATURE (optional, not in the config above): Optional x402 v2 Base64 payment payload header for per-call USDC settlement.Metered ($0.005): Exact unitary (<=6Q), multi-probe statevector (<=12Q), and Clifford Heisenberg (<=256Q) circuit equivalence checker with global-phase and endianness-reversal diagnostics.
| Argument | Type | Description |
|---|---|---|
| seed | integer | PRNG seed for 7-12Q multi-probe checks (default 42). |
| qasmA* | string | Reference OpenQASM 2.0/3.0 circuit. |
| qasmB* | string | Candidate OpenQASM 2.0/3.0 circuit. |
| tolerance | number | Amplitude error tolerance in (0, 1) (default 1e-9). |
| checkEndianness | boolean | Detect q[k]<->q[n-1-k] endianness reversal (default true). |
{
"type": "object",
"required": [
"qasmA",
"qasmB"
],
"properties": {
"seed": {
"type": "integer",
"description": "PRNG seed for 7-12Q multi-probe checks (default 42)."
},
"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."
},
"tolerance": {
"type": "number",
"description": "Amplitude error tolerance in (0, 1) (default 1e-9).",
"exclusiveMaximum": 1,
"exclusiveMinimum": 0
},
"checkEndianness": {
"type": "boolean",
"description": "Detect q[k]<->q[n-1-k] endianness reversal (default true)."
}
},
"additionalProperties": false
}Metered ($0.020): Qualtran/Willow-calibrated surface-code distance, distillation/cultivation factory sizing, runtime, and Pareto trade-off estimator.
| Argument | Type | Description |
|---|---|---|
| qasm | string | Optional OpenQASM circuit to auto-extract logicalQubits, tCount, tDepth. |
| tCount | integer | Total T-gate count (>= 0). |
| tDepth | integer | Critical-path T-depth (<= tCount). |
| factoryType | string | Magic-state factory architecture (default 15-to-1-distillation). |
| logicalQubits | integer | Logical qubit count (>= 1) if qasm omitted or overridden. |
| hardwareProfile | string | Physical fault-tolerant architecture profile (default willow-superconducting). |
| measurementCount | integer | Logical measurement count (>= 0). |
| targetTotalError | number | Target total algorithm failure probability in (0, 1) (default 0.01). |
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"}.
| Argument | Type | Description |
|---|---|---|
| qasm* | string | OpenQASM 2.0 or 3.0 source string (<= 262,144 bytes). |
| strict | boolean | When true, warnings mark valid=false (default false). |
{
"type": "object",
"required": [
"qasm"
],
"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)."
}
},
"additionalProperties": false
}Free tier: Symplectic Pauli Hamiltonian grouping (QWC and General Commuting) with Neyman variance-optimal shot allocation.
| Argument | Type | Description |
|---|---|---|
| terms* | array | Pauli Hamiltonian terms (1..2048). |
| strategy | string | Grouping strategy: qwc or gc (default qwc). |
| totalShots | integer | Neyman shot budget (default 10000). |
{
"type": "object",
"required": [
"terms"
],
"properties": {
"terms": {
"type": "array",
"items": {
"type": "object",
"required": [
"pauli",
"coeff"
],
"properties": {
"coeff": {
"type": "number",
"description": "Real Hamiltonian coefficient."
},
"pauli": {
"type": "string",
"minLength": 1,
"description": "Pauli string over I, X, Y, Z."
}
},
"additionalProperties": false
},
"maxItems": 2048,
"minItems": 1,
"description": "Pauli Hamiltonian terms (1..2048)."
},
"strategy": {
"enum": [
"qwc",
"gc"
],
"type": "string",
"description": "Grouping strategy: qwc or gc (default qwc)."
},
"totalShots": {
"type": "integer",
"maximum": 10000000,
"minimum": 1,
"description": "Neyman shot budget (default 10000)."
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| qasm* | string | OpenQASM 2.0 or 3.0 source string. |
| hardwarePreset | string | Target QPU noise and capacity preset (default willow-105). |
{
"type": "object",
"required": [
"qasm"
],
"properties": {
"qasm": {
"type": "string",
"minLength": 1,
"description": "OpenQASM 2.0 or 3.0 source string."
},
"hardwarePreset": {
"enum": [
"willow-105",
"sycamore-54",
"ibm-heron-133",
"ionq-forte"
],
"type": "string",
"description": "Target QPU noise and capacity preset (default willow-105)."
}
},
"additionalProperties": false
}Free tier: Exact dense statevector (<=12Q) and bit-packed Clifford stabilizer (<=256Q) simulator with seeded shots and q0_lsb Pauli expectations.
| Argument | Type | Description |
|---|---|---|
| mode | string | Simulation backend: auto (<=12Q statevector or <=256Q Clifford), statevector, or stabilizer. |
| qasm* | string | OpenQASM 2.0 or 3.0 source string. |
| seed | integer | Deterministic Mulberry32 PRNG seed (default 42). |
| shots | integer | Shot samples in [0, 100000] (default 1024). |
| observables | array | Up to 64 Pauli observable strings over {I,X,Y,Z} in q0_lsb order. |
{
"type": "object",
"required": [
"qasm"
],
"properties": {
"mode": {
"enum": [
"auto",
"statevector",
"stabilizer"
],
"type": "string",
"description": "Simulation backend: auto (<=12Q statevector or <=256Q Clifford), statevector, or stabilizer."
},
"qasm": {
"type": "string",
"minLength": 1,
"description": "OpenQASM 2.0 or 3.0 source string."
},
"seed": {
"type": "integer",
"description": "Deterministic Mulberry32 PRNG seed (default 42)."
},
"shots": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Shot samples in [0, 100000] (default 1024)."
},
"observables": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 64,
"description": "Up to 64 Pauli observable strings over {I,X,Y,Z} in q0_lsb order."
}
},
"additionalProperties": false
}Metered ($0.010): Deterministic bidirectional SABRE SWAP router onto willow-105, sycamore-54, ibm-heron-133, ionq-forte, line, ring, or customEdges.
| Argument | Type | Description |
|---|---|---|
| qasm* | string | OpenQASM 2.0/3.0 circuit to route. |
| preset | string | Target coupling map preset (default willow-105). |
| customEdges | array | Optional custom undirected coupling edges [[u, v], ...]. |
| maxIterations | integer | Bidirectional SABRE pass count >= 1 (default 3). |
{
"type": "object",
"required": [
"qasm"
],
"properties": {
"qasm": {
"type": "string",
"minLength": 1,
"description": "OpenQASM 2.0/3.0 circuit to route."
},
"preset": {
"enum": [
"willow-105",
"sycamore-54",
"ibm-heron-133",
"ionq-forte",
"line",
"ring"
],
"type": "string",
"description": "Target coupling map preset (default willow-105)."
},
"customEdges": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 2
},
"description": "Optional custom undirected coupling edges [[u, v], ...]."
},
"maxIterations": {
"type": "integer",
"minimum": 1,
"description": "Bidirectional SABRE pass count >= 1 (default 3)."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 29, 2026.
{
"type": "object",
"properties": {
"qasm": {
"type": "string",
"minLength": 1,
"description": "Optional OpenQASM circuit to auto-extract logicalQubits, tCount, tDepth."
},
"tCount": {
"type": "integer",
"minimum": 0,
"description": "Total T-gate count (>= 0)."
},
"tDepth": {
"type": "integer",
"minimum": 0,
"description": "Critical-path T-depth (<= tCount)."
},
"factoryType": {
"enum": [
"15-to-1-distillation",
"cultivation"
],
"type": "string",
"description": "Magic-state factory architecture (default 15-to-1-distillation)."
},
"logicalQubits": {
"type": "integer",
"minimum": 1,
"description": "Logical qubit count (>= 1) if qasm omitted or overridden."
},
"hardwareProfile": {
"enum": [
"willow-superconducting",
"optimistic-superconducting",
"trapped-ion",
"neutral-atom"
],
"type": "string",
"description": "Physical fault-tolerant architecture profile (default willow-superconducting)."
},
"measurementCount": {
"type": "integer",
"minimum": 0,
"description": "Logical measurement count (>= 0)."
},
"targetTotalError": {
"type": "number",
"description": "Target total algorithm failure probability in (0, 1) (default 0.01).",
"exclusiveMaximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}