{"uid":"cap_RTaxSeOH14CGCuDCFKLBO","slug":"rqm-simulation-anomaly-diagnostic-a4b0fc7d","name":"RQM Simulation Anomaly Diagnostic","description":"Simulation Anomaly Diagnostic: Compare this bounded simulation result with the supplied expectation and anomaly rules. Use when: Use when a bounded request matches rqm.studio.simulation-anomaly-diagnostic-request.v1 and the caller needs... Returns: L1 and bin deltas, violating outcomes, anomaly verdict. Boundaries: Deterministic bounded local software evidence only; no QPU, provider, physical, formal-proof, certificati...","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/quantum.simulation-anomaly-diagnostic.v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"SimulationAnomalyRequest","required":["observed_probabilities","expected_probabilities","maximum_l1_error","maximum_bin_error"],"properties":{"observed_shots":{"anyOf":[{"type":"integer","maximum":10000000,"minimum":1},{"type":"null"}],"title":"Observed Shots","default":null},"symmetry_pairs":{"type":"array","items":{"type":"array","maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}]},"title":"Symmetry Pairs","maxItems":256},"maximum_l1_error":{"type":"number","title":"Maximum L1 Error","maximum":2,"minimum":0},"maximum_bin_error":{"type":"number","title":"Maximum Bin Error","maximum":1,"minimum":0},"confidence_z_score":{"type":"number","title":"Confidence Z Score","default":1.96,"maximum":8,"exclusiveMinimum":0},"impossible_outcomes":{"type":"array","items":{"type":"string"},"title":"Impossible Outcomes","maxItems":256},"expected_probabilities":{"type":"object","title":"Expected Probabilities","maxProperties":256,"minProperties":1,"additionalProperties":{"type":"number"}},"observed_probabilities":{"type":"object","title":"Observed Probabilities","maxProperties":256,"minProperties":1,"additionalProperties":{"type":"number"}}},"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_N148jnZ8XXjX2JQrFpeUn","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":"Compares bounded quantum simulation observed probabilities against expected probabilities using configurable L1 and per-bin error thresholds to detect anomalies","exampleAgentPrompt":"Check whether my quantum simulation output matches the expected distribution — observed probabilities are {00: 0.48, 01: 0.02, 10: 0.03, 11: 0.47} and expected are {00: 0.5, 01: 0.0, 10: 0.0, 11: 0.5}, with a maximum L1 error of 0.1 and a maximum per-bin error of 0.05.","exampleUseCases":[{"title":"Validating Bell state simulation fidelity","prompt":"My quantum circuit for a Bell state returned observed probabilities {00: 0.49, 11: 0.49, 01: 0.01, 10: 0.01} but I expected {00: 0.5, 11: 0.5}. Can you diagnose whether this is within acceptable bounds using a max L1 error of 0.05 and max bin error of 0.02?"},{"title":"Detecting noise-induced simulation drift","prompt":"After running a noisy simulator I got these observed probabilities across 8 bitstring bins and I want to compare them against my ideal noiseless expected distribution — flag any anomalies if the total L1 error exceeds 0.15 or any single bin error exceeds 0.08."},{"title":"Regression testing simulation output","prompt":"I updated my circuit transpiler and want to confirm the simulation output hasn't drifted — compare the new observed probabilities {000: 0.12, 001: 0.38, 010: 0.25, 011: 0.25} against the previous baseline expected values {000: 0.125, 001: 0.375, 010: 0.25, 011: 0.25} with max L1 error 0.04 and max bin error 0.02."}],"resultDescription":"Returns a structured anomaly diagnostic report indicating whether the observed probability distribution matches the expected distribution within the supplied L1 and per-bin error tolerances, including which bins (if any) are flagged as anomalous and the computed error metrics.","failureModes":["Observed or expected probability maps have no entries (minProperties: 1 violated)","Probability maps exceed 256 bins (maxProperties: 256 violated)","maximum_l1_error outside [0, 2] or maximum_bin_error outside [0, 1]","Malformed idempotency_key not matching required pattern","Insufficient USDC balance or max_total_price too low to cover $0.01 fee","Schema version mismatch (must be rqm.jobs.bazaar-buyer-job-request.v1)"],"whenToPreferThis":"Use this endpoint when you need to statistically validate a quantum simulation result against a known reference probability distribution using explicit L1 and per-bin error thresholds. It is purpose-built for quantum simulation anomaly detection and is preferred over generic statistical comparison tools when working within the RQM ecosystem. Do not use for hardware-error attribution, provider quality ranking, or classical (non-quantum) statistical comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:59.132Z","isFirstParty":false}