Qiskit IBM Runtime MCP Server
v0.6.2MCP server for IBM Quantum computing services through Qiskit IBM Runtime
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
setup_ibm_quantum_account_tool
Set up IBM Quantum account with credentials. If token is not provided, will attempt to use QISKIT_IBM_TOKEN environment variable or saved credentials from ~/.qiskit/qiskit-ibm.json
| Parameter | Type | Description |
|---|---|---|
channel | string | |
token | string |
list_backends_tool
List available IBM Quantum backends.
least_busy_backend_tool
Find the least busy operational backend.
get_backend_properties_tool
Get detailed properties of a specific backend.
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | Name of the backend (e.g., 'ibm_brisbane') |
get_backend_calibration_tool
Get calibration data for a backend including T1, T2 times and error rates.
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | Name of the backend (e.g., 'ibm_brisbane') |
qubit_indices | Optional list of specific qubit indices to get data for. If not provided, returns data for the first 10 qubits. |
get_coupling_map_tool
Get the coupling map (qubit connectivity) for an IBM Quantum backend. Supports both real backends (requires credentials) and fake backends (no credentials). Use 'fake_' prefix for offline testing without IBM Quantum credentials.
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | Name of the backend. Examples: - Real backends: 'ibm_brisbane', 'ibm_fez' (requires credentials) - Fake backends: 'fake_brisbane', 'fake_sherbrooke' (no credentials needed) |
find_optimal_qubit_chains_tool
Find optimal linear qubit chains for quantum experiments. Algorithmically identifies the best qubit chains based on coupling map connectivity and calibration data. Essential for experiments requiring linear qubit arrangements (e.g., variational algorithms, error correction).
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | Name of the backend (e.g., 'ibm_brisbane') |
chain_length | integer | Number of qubits in the chain (default: 5, range: 2-20) |
metric | string | Scoring metric to optimize: - "two_qubit_error": Minimize sum of CX/ECR gate errors (default) - "readout_error": Minimize sum of measurement errors - "combined": Weighted combination of gate errors, r… |
num_results | integer | Number of top chains to return (default: 5, max: 20) |
find_optimal_qv_qubits_tool
Find optimal qubit subgraphs for Quantum Volume experiments. Unlike linear chains, Quantum Volume benefits from densely connected qubit sets where qubits can interact with minimal SWAP operations. This tool finds connected subgraphs and ranks them by connectivity and calibration quality.
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | Name of the backend (e.g., 'ibm_brisbane') |
metric | string | Scoring metric to optimize: - "qv_optimized": Balanced scoring for QV (connectivity + errors + coherence) - "connectivity": Maximize internal edges and minimize path lengths - "gate_error": Minimize t… |
num_qubits | integer | Number of qubits in the subgraph (default: 5, range: 2-10) |
num_results | integer | Number of top subgraphs to return (default: 5, max: 20) |
list_my_jobs_tool
List user's recent jobs.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_job_status_tool
Get status of a specific job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
get_job_results_tool
Get measurement results from a completed quantum job. Retrieves the measurement outcomes (counts) from a job that has finished execution. The job must be in DONE status to retrieve results. Use this tool after a job submitted with run_sampler_tool has completed. First check the job status with get_job_status_tool, then retrieve results when the job status is DONE.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | ID of the completed job (returned by run_sampler_tool) |
cancel_job_tool
Cancel a specific job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
run_estimator_tool
Run a quantum circuit using the Qiskit Runtime EstimatorV2 primitive. The Estimator primitive computes expectation values of observables for quantum circuits. This is essential for variational quantum algorithms (VQE, QAOA), quantum chemistry simulations, and any application requiring expectation value estimation.
| Parameter | Type | Description |
|---|---|---|
circuit * | string | The quantum circuit to execute. Accepts multiple formats: - OpenQASM 3.0 string (recommended): ``` OPENQASM 3.0; include "stdgates.inc"; qubit[2] q; h q[0]; cx… |
observables * | Observable(s) to measure expectation values. Accepts: - Single Pauli string: "IIXY" (identity on qubits 0,1; X on 2; Y on 3) - List of Pauli strings: ["IIXY", "ZZII", "XXYY"] -… | |
backend_name | Name of the IBM Quantum backend (e.g., 'ibm_brisbane'). If not provided, uses the least busy operational backend. | |
circuit_format | string | Format of the circuit input. Options: - "auto" (default): Automatically detect format - "qasm3": OpenQASM 3.0/2.0 text format - "qpy": Base64-encoded QPY binary format |
optimization_level | integer | Qiskit transpilation optimization level (0-3). Default is 1. Higher levels may produce better circuits but take longer. - 0: No optimization - 1: Light opt… |
parameter_values | Values for parameterized circuits. If the circuit has parameters (e.g., rotation angles), provide a list of float values in the same order as circuit.parameters. Optional if… | |
resilience_level | integer | Error mitigation resilience level (0-2). Default is 1. - 0: No error mitigation - 1: Light error mitigation (default, recommended) - 2: Heavy error mitigation (s… |
zne_mitigation | boolean | Enable Zero Noise Extrapolation (ZNE). Default is True. ZNE extrapolates results to the zero-noise limit for better accuracy. |
zne_noise_factors | Noise amplification factors for ZNE. Default is (1, 1.5, 2). Only used if zne_mitigation is True. |
delete_saved_account_tool
Delete a saved IBM Quantum account from disk. WARNING: This permanently removes credentials from ~/.qiskit/qiskit-ibm.json. The operation cannot be undone. Use list_saved_accounts_tool() first to verify the account name before deletion.
| Parameter | Type | Description |
|---|---|---|
account_name * | string | Name of the saved account to delete (e.g., 'ibm_quantum_platform'). Use list_saved_accounts_tool() to find available names. |
list_saved_accounts_tool
List all IBM Quantum accounts saved on disk. Returns account information from ~/.qiskit/qiskit-ibm.json including account names and channels. Useful for checking available accounts before initializing the service or before deleting an account. Tokens are masked for security.
active_account_info_tool
Get information about the currently active IBM Quantum account. Returns details about the account being used in the current session, including channel, instance, and name. This is the account used for all quantum operations. Tokens are masked for security.
active_instance_info_tool
Get the Cloud Resource Name (CRN) of the currently active instance. Returns the instance identifier determining which quantum backends and resources are accessible. Important for users with access to multiple instances.
available_instances_tool
List all IBM Quantum instances available to the active account. Returns information about all instances (organizations, projects, or service plans) the user has access to, including CRN, plan type, and name. Each instance provides access to different quantum backends with different quotas.
usage_info_tool
Get usage statistics and quota information for the active instance. Returns detailed metrics including job counts, quantum runtime consumption, quota limits, and billing period information. Useful for monitoring resource utilization and planning job submissions.
run_sampler_tool
Run a quantum circuit using the Qiskit Runtime SamplerV2 primitive. The Sampler primitive executes quantum circuits and returns measurement outcome samples. This is the primary way to run quantum circuits on IBM Quantum hardware. Error Mitigation (enabled by default): - Dynamical Decoupling: Suppresses decoherence during idle periods - Twirling: Randomizes errors into stochastic noise for better results
| Parameter | Type | Description |
|---|---|---|
circuit * | string | The quantum circuit to execute. Accepts multiple formats: - OpenQASM 3.0 string (recommended): ``` OPENQASM 3.0; include "stdgates.inc"; qubit[2] q; bit[2] c; h… |
backend_name | Name of the IBM Quantum backend (e.g., 'ibm_brisbane'). If not provided, uses the least busy operational backend. | |
circuit_format | string | Format of the circuit input. Options: - "auto" (default): Automatically detect format - "qasm3": OpenQASM 3.0/2.0 text format - "qpy": Base64-encoded QPY binary format |
dd_sequence | string | Dynamical decoupling pulse sequence. Options: - "XX": Basic X-X sequence - "XpXm": X+/X- sequence - "XY4": 4-pulse XY sequence (default, most robust) |
dynamical_decoupling | boolean | Enable dynamical decoupling to suppress decoherence during idle periods. Default is True (recommended). |
measure_twirling | boolean | Enable twirling on measurements for readout error mitigation. Default is True (recommended). |
shots | integer | Number of measurement shots (repetitions). Default is 4096. Higher values give more statistical accuracy. |
twirling | boolean | Enable Pauli twirling on 2-qubit gates to convert coherent errors into stochastic noise. Default is True (recommended). |