{"uid":"cap_MlJ1A9IKtEW3sd3kdg5fQ","slug":"randomized-benchmarking-fit-dea062be","name":"Randomized-Benchmarking Fit","description":"Fit supplied randomized-benchmarking decay observations with residuals and protocol-bound error estimates. Not a platform-independent quantum-computer ranking. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/compute/quantum/randomized-benchmarking-fit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"offset":{"type":"number","maximum":1,"minimum":0},"lengths":{"type":"array","maxItems":128,"minItems":1},"survival":{"type":"array","maxItems":128,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"dimension":{"type":"integer","maximum":256,"minimum":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.100014","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.100014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.100014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.100014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yLc-Zp5JfvvYZLyhyyPBq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.100014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fits randomized-benchmarking decay observations to extract fidelity estimates, residuals, and protocol-bound error bounds for quantum gate characterization.","exampleAgentPrompt":"Fit my randomized benchmarking data for a dimension-4 system: sequence lengths [1, 2, 4, 8, 16, 32] with corresponding survival probabilities [0.98, 0.95, 0.89, 0.80, 0.65, 0.43], offset 0.25, using synthetic data class — give me the decay fit, residuals, and error estimates.","exampleUseCases":[{"title":"Single-qubit gate fidelity extraction","prompt":"I ran a single-qubit randomized benchmarking experiment and got survival probabilities [0.97, 0.93, 0.85, 0.74, 0.58] at sequence lengths [1, 5, 10, 20, 40]. Can you fit the decay curve for a dimension-2 system with offset 0.25 using public data class and give me the fidelity and residuals?"},{"title":"Two-qubit RB protocol error estimation","prompt":"Fit my two-qubit randomized benchmarking results: lengths [2, 4, 8, 16, 32, 64] and survival probabilities [0.96, 0.91, 0.83, 0.71, 0.55, 0.38], dimension 4, no offset, public data — I need the error-per-gate estimate with protocol-bound error bars."},{"title":"Synthetic RB data validation for simulator","prompt":"I have synthetic randomized benchmarking data for a 16-dimensional system: sequence lengths [1, 3, 10, 30, 100] and survival probabilities [0.99, 0.97, 0.91, 0.78, 0.52], offset 0.5, data class synthetic. Fit the decay and return residuals so I can validate my quantum simulator's noise model."}],"resultDescription":"Returns a fitted decay model for the supplied randomized-benchmarking survival probability observations, including fit parameters (e.g. depolarizing rate, SPAM offset), per-point residuals, and protocol-bound error estimates on the extracted gate fidelity or average error per gate.","failureModes":["Mismatched array lengths between 'lengths' and 'survival' — returns validation error","'dimension' outside [2, 256] — rejected with parameter bounds error","'offset' outside [0, 1] — rejected with range validation error","'survival' values outside physically valid probability range may degrade fit quality","'dataClass' enum not matching 'public' or 'synthetic' — schema rejection","Fewer than 3 data points may cause underdetermined fit with unreliable error bounds"],"whenToPreferThis":"Use this endpoint when you have raw randomized-benchmarking experimental or synthetic sequence-length/survival-probability data and need a rigorous curve fit with residuals and protocol-bound error estimates. Prefer this over general curve-fitting tools when you need quantum-protocol-aware error bounds rather than generic statistical fits, and when your data is already in the RB decay format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:46.981Z","isFirstParty":false,"canonicalSlug":"randomized-benchmarking-fit-dea062be"}