Phase Aware Rewrite
Phase Aware Rewrite: Rewrite this supported circuit under the supplied phase-equivalence and target constraints. Use when: Use when a bounded request matches rqm.studio.phase-aware-rewrite-request.v1 and the caller needs the decla... Returns: rewritten operation or original, candidate withholding, verification status. Boundaries: Deterministic bounded local software evidence only; no QPU, provider, physical, formal-proof, certificati...
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://jobs.rqmtechnologies.com/x402/buyer-jobs/quantum.phase-aware-rewrite.v1
| Category | Everything else |
|---|---|
| Provider host | jobs.rqmtechnologies.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.01 | 521 ms |
Example input (from the provider)
{
"body": {
"idempotency_key": "example-quantum.phase-aware-rewrite.v1",
"max_total_price": "0.010000",
"request": {
"operation": {
"gate": "s",
"targets": [
0
]
},
"phase_context": "exact",
"target_gate": "rz"
},
"schema_version": "rqm.jobs.bazaar-buyer-job-request.v1"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"idempotency_key": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"max_total_price": {
"pattern": "^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$",
"type": "string"
},
"request": {
"additionalProperties": false,
"properties": {
"circuit": {
"items": {
"additionalProperties": false,
"properties": {
"angle_radians": {
"default": 0,
"maximum": 6.283185307179586,
"minimum": -6.283185307179586,
"title": "Angle Radians",
"type": "number"
},
"gate": {
"enum": [
"x",
"y",
"z",
"h",
"s",
"sdg",
"t",
"tdg",
"rx",
"ry",
"rz",
"cx",
"cz"
],
"title": "Gate",
"type": "string"
},
"targets": {
"items": {
"type": "integer"
},
"maxItems": 2,
"minItems": 1,
"title": "Targets",
"type": "array"
}
},
"required": [
"gate",
"targets"
],
"title": "PhaseOperation",
"type": "object"
},
"maxItems": 4096,
"title": "Circuit",
"type": "array"
},
"operation": {
"additionalProperties": false,
"properties": {
"angle_radians": {
"default": 0,
"maximum": 6.283185307179586,
"minimum": -6.283185307179586,
"title": "Angle Radians",
"type": "number"
},
"gate": {
"enum": [
"x",
"y",
"z",
"h",
"s",
"sdg",
"t",
"tdg",
"rx",
"ry",
"rz",
"cx",
"cz"
],
"title": "Gate",
"type": "string"
},
"targets": {
"items": {
"type": "integer"
},
"maxItems": 2,
"minItems": 1,
"title": "Targets",
"type": "array"
}
},
"required": [
"gate",
"targets"
],
"title": "PhaseOperation",
"type": "object"
},
"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"
},
"target_gate": {
"enum": [
"rz",
"s",
"sdg",
"t",
"tdg"
],
"title": "Target Gate",
"type": "string"
}
},
"required": [
"operation",
"target_gate",
"phase_context"
],
"title": "PhaseRewriteRequest",
"type": "object"
},
"schema_version": {
"const": "rqm.jobs.bazaar-buyer-job-request.v1"
}
},
"required": [
"schema_version",
"idempotency_key",
"max_total_price",
"request"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"artifact_names": {
"items": {
"type": "string"
},
"type": "array"