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
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm_template | No | ||
| logical_counts | No | ||
| qsharp_code | No | ||
| qubit_models | No | ||
| compare_all_models | No | ||
| qec_scheme | No | surface_code | |
| error_budget | No | ||
| configurations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||