qciconnect-mcp
v0.1.0MCP server exposing the DLR QCI Connect quantum computing platform to LLM agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_qpus
Lists the real quantum hardware available on the platform. Statevector simulators and digital twins are left out - call `list_simulators` for those. An entry carries a `hint` when the platform has a usage note for that QPU.
list_simulators
Lists the statevector simulators and digital twins available on the platform. These are submitted to exactly like hardware, via `submit_qpu_job`. For a circuit small enough to run on this machine, `simulate_circuit` needs no platform connection at all. An entry carries a `hint` when the platform has a usage note for that device.
list_apus
Lists all APUs (analog processing units) available on the platform.
list_compiler_methods
Lists available compiler passes, as `<pass_alias>_<compiler_alias>` names. Pass one of these names as `method_name` to `submit_compiler_job`.
submit_qpu_job
Submits an OpenQASM circuit to a QPU, simulator or digital twin and waits for the result. Some backends (e.g. QSea digital twins and QPUs) REQUIRE explicit `measure` statements into classical bits; check the `hint` field from `list_qpus`/`list_simulators`. This runs a real job on the platform and may consume QPU time or HPC allocation. Args: qpu_alias: Alias of the QPU, as returned by `list_qpus` or `list_simulators`. circuit: OpenQASM 2 or 3 circuit source. primitive: Execution mode: "sampling" or "quantum_state". shots: Number of shots (used for "sampling"). name: Huma…
| Parameter | Type | Description |
|---|---|---|
circuit * | string | |
primitive * | string | |
qpu_alias * | string | |
comment | string | |
hpc_cost_bearer | ||
name | string | |
project_cost_bearer | ||
shots | integer |
submit_apu_job
Submits code to an APU (analog processing unit) and waits for the result. This runs a real job on the platform and may consume HPC allocation. Whether the job compiles, runs, or does both is inferred from which arguments are given: `source_code` alone only compiles; add `operation_duration_seconds`/`sampling_rate_hertz` (with either `source_code` or `compiled_code`) to also run it. Args: apu_alias: Alias of the APU, as returned by `list_apus`. source_code: Source code to compile (differential equations, not OpenQASM). compiled_code: Previously compiled code to run directly. o…
| Parameter | Type | Description |
|---|---|---|
apu_alias * | string | |
comment | string | |
compiled_code | ||
hpc_cost_bearer | ||
name | string | |
operation_duration_seconds | ||
project_cost_bearer | ||
sampling_rate_hertz | ||
source_code |
submit_compiler_job
Submits circuits to a compiler pass and waits for the compiled result. Args: method_name: Full method name as returned by `list_compiler_methods` (`<pass_alias>_<compiler_alias>`). input_circuits: Dictionary mapping circuit names to OpenQASM source. options: Compiler-pass-specific options.
| Parameter | Type | Description |
|---|---|---|
input_circuits * | object | |
method_name * | string | |
options |
list_recent_jobs
Lists job IDs of recently completed jobs (successful jobs only).
get_result
Fetches a previously completed job's result by job ID. Only successfully completed jobs are available this way - for a job just submitted via `submit_qpu_job`/`submit_apu_job`/`submit_compiler_job`, use that call's own return value. Args: job_id: Job ID, as returned by `list_recent_jobs` or a `submit_*_job` call.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
simulate_circuit
Simulates a measurement-free OpenQASM circuit locally and returns the histogram. Do NOT include `measure`/`reset` statements: all qubits are sampled from the final state. Runs locally through ALF's statevector simulator: no platform connection, no credentials and no QPU time. Use `submit_qpu_job` to run on real hardware instead. Samples all qubits from the final state. Explicit measurements are unsupported by the local statevector backend and return an error with the exception type and message. For final-state sampling, supply a circuit without measurement statements. Args: circuit: Op…
| Parameter | Type | Description |
|---|---|---|
circuit * | string | |
name | string | |
shots | integer |
estimate_observables
Estimates expectation values of Pauli observables on a locally simulated circuit. Like `simulate_circuit`, this runs entirely on this machine and needs no credentials. Args: circuit: OpenQASM 3 circuit source. observables: Pauli observables in ALF's string form, e.g. `["Z0 Z1", "X0 + 2 Y1"]`. shots: Number of shots used per estimation. name: Name for the circuit, echoed back in the result.
| Parameter | Type | Description |
|---|---|---|
circuit * | string | |
observables * | array | |
name | string | |
shots | integer |