{"uid":"cap_gnHJRnIwwls_7OBNEOW0W","slug":"rqm-openqasm-3-repair-b1c4da09","name":"RQM OpenQASM 3 Repair","description":"Openqasm3 Repair: Repair this bounded OpenQASM 3 program only with the supplied conservative repair policy. Use when: Use when a bounded request matches rqm.studio.openqasm3-repair-request.v1 and the caller needs the declared... Returns: repaired or withheld source, exact edit list, post-repair validation verdict. Boundaries: Deterministic bounded local software evidence only; no QPU, provider acceptance, certification, formal-pr...","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/openqasm3-repair-v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"RepairRequest","required":["source","allowed_repairs"],"properties":{"source":{"type":"string","title":"Source","minLength":1},"allowed_repairs":{"type":"array","items":{"enum":["add_openqasm3_header","normalize_whitespace","add_stdgates_include","terminate_statements"],"type":"string"},"title":"Allowed Repairs","maxItems":4,"minItems":1}},"additionalProperties":false},"schema_version":{"const":"rqm.jobs.bazaar-buyer-job-request.v1"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","maxLength":128,"minLength":1},"max_total_price":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JIszXy0U6OpC_BG8L3Wd8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Repairs a bounded OpenQASM 3 program using a conservative, caller-specified set of allowed repair operations (e.g. adding headers, normalizing whitespace).","exampleAgentPrompt":"My OpenQASM 3 circuit is missing its version header and has inconsistent whitespace — can you repair it using only 'add_openqasm3_header' and 'normalize_whitespace' as the allowed fixes, without inventing any missing gate logic?","exampleUseCases":[{"title":"Add missing OpenQASM 3 header","prompt":"This OpenQASM 3 file I got from our transpiler is missing the version declaration at the top — can you repair it by adding the openqasm3 header only, leaving everything else untouched?"},{"title":"Clean up circuit whitespace before compilation","prompt":"Before I send this quantum circuit to the compiler, can you normalize the whitespace in this OpenQASM 3 source? Only use the normalize_whitespace repair — don't change any gate semantics."},{"title":"Full conservative repair before downstream pipeline","prompt":"I need to prepare this OpenQASM 3 program for our downstream job — please apply both 'add_openqasm3_header' and 'normalize_whitespace' repairs to fix it up, and don't invent any missing circuit logic."}],"resultDescription":"A repaired OpenQASM 3 program with only the declared conservative repairs applied (add_openqasm3_header and/or normalize_whitespace), returned as a typed work product conforming to rqm.studio.openqasm3-repair-request.v1. No semantic changes or invented circuit logic are introduced.","failureModes":["Missing or invalid source field — returns validation error","allowed_repairs array empty or exceeds maxItems:2 — schema validation failure","Circuit has missing semantics that would require invented logic — endpoint refuses and returns an error (by design)","Source code is not valid OpenQASM 3 at all — may return parse or repair failure","Payment insufficient or max_total_price exceeded — x402 payment rejection"],"whenToPreferThis":"Use this endpoint when you have a bounded OpenQASM 3 program that needs only conservative, non-semantic repairs (header addition and/or whitespace normalization) and you explicitly do not want invented or inferred gate logic. Prefer this over a full rewrite or synthesis endpoint when circuit semantics must be preserved exactly. Pair with the RQM Openqasm3 Preflight endpoint to validate before repair.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:48:21.638Z","isFirstParty":false}