{"uid":"cap_nQHfqcpWslS4AIvSrhjRp","slug":"rqm-gate-basis-decomposition-8f3bbc51","name":"RQM Gate Basis Decomposition","description":"Gate Basis Decomposition: Decompose this supported circuit operation into the supplied bounded gate basis and verify... Use when: Use when a bounded request matches rqm.studio.gate-basis-decomposition-request.v1 and the caller needs the... Returns: decomposition or withheld candidate, gate list, verification status. Boundaries: Deterministic bounded local software evidence only; no QPU, provider, physical, formal-proof, certificati...","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/quantum.gate-basis-decomposition.v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"GateDecompositionRequest","required":["operation","target_basis","phase_context"],"properties":{"operation":{"enum":["x","y","z","h","s","t","cx","cz","swap"],"type":"string","title":"Operation"},"target_basis":{"type":"array","items":{"enum":["x","z","h","s","t","cx","cz"],"type":"string"},"title":"Target Basis","maxItems":7,"minItems":1},"phase_context":{"enum":["exact","ignore_global_phase"],"type":"string","title":"Phase Context"}},"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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c7IXGgRP98fyRuGB9JF2G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decomposes a named quantum circuit operation (e.g. SWAP, H, CX) into an equivalent sequence of gates drawn from a specified bounded gate basis, and verifies the declared phase relation.","exampleAgentPrompt":"Decompose a SWAP gate into the {H, CX, CZ} gate basis and ignore global phase — give me the equivalent gate sequence.","exampleUseCases":[{"title":"Compile gate to hardware native basis","prompt":"I need to run a circuit on hardware that only supports CX, H, and T gates — can you decompose a SWAP gate into that basis and verify the equivalence exactly, including global phase?"},{"title":"Transpile gate ignoring global phase","prompt":"Decompose the S gate into the {X, Z, H} basis for me, and ignore global phase differences when verifying the result."},{"title":"Verify gate rewrite for circuit optimizer","prompt":"I'm building a circuit optimizer — can you decompose a CZ gate into the {CX, H} gate basis with exact phase context so I can verify the rewrite is correct?"}],"resultDescription":"Returns a verified decomposition of the requested quantum gate operation as an ordered sequence of gates from the specified target basis, along with confirmation that the declared phase relation (exact or global-phase-ignored) holds between the original and decomposed circuits.","failureModes":["Operation not in supported set (x, y, z, h, s, t, cx, cz, swap) — request rejected","Target basis contains unsupported gates or is empty — validation error","Decomposition is not possible within the supplied basis — no result returned","Phase context mismatch — decomposition found but verification fails under exact phase requirement","Idempotency key format violation — request rejected before processing","max_total_price too low — payment authorization fails"],"whenToPreferThis":"Use this endpoint when you need a verifiable, bounded decomposition of a specific supported quantum gate operation into a restricted gate basis — particularly when the decomposition must satisfy a declared phase relation (exact or global-phase-ignored). Prefer this over general unitary synthesis tools when the operation is one of the named standard gates (X, Y, Z, H, S, T, CX, CZ, SWAP) and you need a guaranteed, checked result rather than a heuristic approximation. Do not use this for arbitrary unitary matrices or for formal equivalence proofs beyond the declared relation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:53.193Z","isFirstParty":false}