Published registry snapshot. Checking the current listing…
Run through Relay · mcp / x402
Phase Aware Rewrite
Rewrite this supported circuit under the supplied phase-equivalence and target constraints.
RQM-operated service.
Version: 1.0.0 · Registry observed: 2026-08-23T20:01:22.843Z · current
- Supported Relay purchase route; check current admission before paying
- RQM-operated service
Price and connection
0.010000 USD per request, provider price. Supported Relay purchases add max(0.002 USDC, 5% of provider price). Your fresh quote supplies the exact total.
Authentication: x402 payment for purchases; discovery is free. Never paste keys into this website.
Inputs and outputs
Input contract
{
"$defs": {
"PhaseOperation": {
"additionalProperties": false,
"properties": {
"gate": {
"enum": [
"x",
"y",
"z",
"h",
"s",
"sdg",
"t",
"tdg",
"rx",
"ry",
"rz",
"cx",
"cz"
],
"title": "Gate",
"type": "string"
},
"angle_radians": {
"default": 0,
"maximum": 6.283185307179586,
"minimum": -6.283185307179586,
"title": "Angle Radians",
"type": "number"
},
"targets": {
"items": {
"type": "integer"
},
"maxItems": 2,
"minItems": 1,
"title": "Targets",
"type": "array"
}
},
"required": [
"gate",
"targets"
],
"title": "PhaseOperation",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"operation": {
"$ref": "#/$defs/PhaseOperation"
},
"circuit": {
"items": {
"$ref": "#/$defs/PhaseOperation"
},
"maxItems": 4096,
"title": "Circuit",
"type": "array"
},
"target_gate": {
"enum": [
"rz",
"s",
"sdg",
"t",
"tdg"
],
"title": "Target Gate",
"type": "string"
},
"phase_context": {
"enum": [
"exact",
"ignore_global_phase"
],
"title": "Phase Context",
"type": "string"
},
"require_same_targets": {
"const": true,
"default": true,
"title": "Require Same Targets",
"type": "boolean"
}
},
"required": [
"operation",
"target_gate",
"phase_context"
],
"title": "PhaseRewriteRequest",
"type": "object"
}Output contract
{
"additionalProperties": false,
"properties": {
"outcome": {
"enum": [
"rewritten",
"original_retained"
],
"title": "Outcome",
"type": "string"
},
"candidate_withheld": {
"title": "Candidate Withheld",
"type": "boolean"
},
"rewritten_operation": {
"additionalProperties": true,
"title": "Rewritten Operation",
"type": "object"
},
"verification": {
"enum": [
"supported_phase_identity",
"no_supported_rewrite"
],
"title": "Verification",
"type": "string"
},
"global_phase_radians": {
"default": 0,
"title": "Global Phase Radians",
"type": "number"
},
"verification_residual": {
"default": 0,
"title": "Verification Residual",
"type": "number"
},
"rewritten_circuit": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Rewritten Circuit",
"type": "array"
},
"operation_verification": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Operation Verification",
"type": "array"
},
"phase_context_satisfied": {
"default": false,
"title": "Phase Context Satisfied",
"type": "boolean"
},
"result_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Result Digest",
"type": "string"
}
},
"required": [
"outcome",
"candidate_withheld",
"rewritten_operation",
"verification",
"result_digest"
],
"title": "RewriteResult",
"type": "object"
}Registry source · Buyer instructions and recovery · Public support