Skip to main content
Glama

Quantum Expectations

Compute Quantum Volume Rate

compute_quantum_volume_rate
Read-onlyIdempotent

Compute the Quantum Volume Rate (QV/second): QVR = V_Q / (log2(V_Q) * t_2Q + t_meas). First-order estimate of how fast a device prepares one QV-sized square circuit (one native 2Q gate per QV layer + one end-of-circuit measurement). OVERSTATES achievable rate: real compilation inflates the 2Q-gate count per layer; omits reset/SPAM, mid-circuit measurement, and classical-control latency. For a production throughput metric, see IBM's CLOPS (arXiv:2110.14108).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
t2QSecondsYesNative 2-qubit gate time in seconds (e.g. 60e-9 for a 60 ns CZ).
quantumVolumeYesQuantum volume V_Q (integer ≥ 2, e.g. 64 for a depth-log2=6 square circuit).
tMeasurementSecondsYesEnd-of-circuit measurement/readout time in seconds (e.g. 5e-3 for 5 ms).

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate read-only, idempotent, non-destructive behavior; the description complements them by disclosing the estimate's limitations: it omits reset/SPAM, mid-circuit measurement, and classical-control latency, and overstates achievable rates. This adds meaningful context beyond the bare annotation flags, though it doesn't describe response/error behavior or edge cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact: a formula sentence, a precise interpretation sentence, and a caveat/alternative sentence. It includes no filler and front-loads the purpose before the limitations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a pure calculation tool with three fully documented required parameters and no side effects, the description provides enough context to select and invoke it correctly: formula, units, underlying assumptions, and known overstatement. No output schema is present, but the expected return value (QV/second) is clear from the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description goes slightly beyond the schema by explaining how each parameter participates in the model: one native 2Q gate per QV layer and one end-of-circuit measurement. This helps an agent map t2QSeconds and tMeasurementSeconds into the stated formula, though the parameter names and schema descriptions also carry this reasonably well.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Compute the Quantum Volume Rate (QV/second)' and states the exact formula. It clearly distinguishes itself from sibling compute_* tools by naming a unique performance metric and explains what one QV-sized square circuit means.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly frames the tool as a 'first-order estimate' and explicitly warns that it 'OVERSTATES achievable rate' due to omitted real-world factors. It also points to IBM's CLOPS as a production-throughput alternative, giving a when-not-to-use hint, though it does not explicitly mention sibling compute tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Every tool has a clearly distinct role: compute_expectation and compute_required_error_rate are forward/inverse pairs, compare_hardware_scenarios is a batch wrapper for compute_expectation, and the list_* and get_* tools each target a different data category (hardware, timing, historic, examples, codes). The fit_historic_series tool is distinct from get_historic_series (analysis vs. retrieval). No two tools appear ambiguous.

Naming Consistency5/5

All tool names follow a strict lower_snake_case verb_noun pattern: compute_*, get_*, list_*, fit_*, compare_*. The verbs precisely indicate the action (computation, retrieval, fitting, comparison) and are used consistently across the set.

Tool Count5/5

With 12 tools, the server is well within the ideal 3-15 range. Each tool serves a distinct purpose in the quantum resource estimation workflow: data listing, forward/inverse expectation calculations, fault-tolerant resource estimation, rate computation, historic analysis, and context retrieval. No tool feels redundant or unnecessary.

Completeness5/5

The tool surface comprehensively covers the domain: current hardware data (list_current_quantum_computers, list_hardware_timings), historical trends (get_historic_series, fit_historic_series), algorithm resource examples (list_example_algorithms), error correction codes (list_qldpc_codes), forward and inverse error calculations (compute_expectation, compute_required_error_rate), batch comparison (compare_hardware_scenarios), deep resource estimation (compute_fault_tolerant_resources), a throughput metric (compute_quantum_volume_rate), and the agent brief. There are no obvious missing operations for the stated purpose.

Resources