Skip to main content
Glama

compare_configurations

Evaluate hardware options for quantum algorithms by comparing physical qubits, runtime, and code distance in a side-by-side table.

Instructions

Compare resource estimates across multiple hardware configurations.

Provide the algorithm as exactly one of algorithm_template, logical_counts, or qsharp_code.

Hardware selection (choose one approach):

  • compare_all_models=True: compare all compatible qubit models

  • qubit_models=['qubit_gate_ns_e3', 'qubit_gate_us_e3']: compare specific models

  • configurations: JSON string of full configs. Each config dict may include the standard qubit_model/qec_scheme/error_budget keys plus the new override keys: qubit_model_overrides (dict), qec_crossing_prefactor, qec_error_correction_threshold, qec_logical_cycle_time, qec_physical_qubits_per_logical. E.g.: '[{"qubit_model": "qubit_gate_ns_e3", "qec_logical_cycle_time": "1000 ns"}]'

  • Default (none specified): compare all 4 gate-based models

Returns a side-by-side comparison table showing physical qubits, runtime, code distance, and T-factory copies for each configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
algorithm_templateNo
logical_countsNo
qsharp_codeNo
qubit_modelsNo
compare_all_modelsNo
qec_schemeNosurface_code
error_budgetNo
configurationsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the return format (side-by-side comparison table with specific columns) and default behavior (compare all 4 gate-based models). No destructive effects or auth needs are mentioned, which is appropriate for a non-mutating tool.

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

Conciseness4/5

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

The description is well-structured with sections for algorithm and hardware selection, and front-loads the main purpose. While slightly verbose, every sentence adds value and the structure aids readability.

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

Completeness4/5

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

Given the complexity of 8 parameters with no schema descriptions or annotations, the description covers algorithm specification, hardware selection methods, and output details. It lacks detail on qec_scheme and error_budget parameters, but the presence of an output schema reduces the need to explain return values.

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 description coverage is 0%, but the description adds significant meaning for algorithm parameters (exactly one of three) and hardware selection parameters (explains four approaches with examples). However, it does not elaborate on qec_scheme or error_budget beyond their defaults.

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 clearly states it compares resource estimates across multiple hardware configurations, with specific verb 'Compare' and resource 'resource estimates.' It distinguishes from siblings like estimate_resources (likely single config) and list_qubit_models (just lists) by focusing on comparative analysis.

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 provides clear context: algorithm must be specified one of three ways, and hardware selection has four explicit options with defaults. While it doesn't explicitly state when not to use it vs alternatives, the guidelines are detailed and practical.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DeDuckProject/quantum-resource-estimator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server