Skip to content
Ahura OS
Get $10 free
All utilities
Quantum Computing Helpers

QUBO graph worker for AI agents

Compiles routing, scheduling, assignment and portfolio problems into Ising models and QAOA circuits, and decodes the answers.

utilities.qc.qubo_graph

What it does

Compiles routing, scheduling, assignment and portfolio problems into Ising models and QAOA circuits, and decodes the answers. It is one of the Quantum Computing Helpers tools in the Ahura Utilities catalogue: a ready-made MCP tool that an agent calls with a typed input and gets a structured result back, with no library to install and no sandbox to start.

How agents use it

Agents use qubo graph worker to turn a business constraint set into JSON a quantum device can run, then read back the route, schedule or allocation. Because it is a plain tool call, it slots into a single agent turn or a step in an Ahura Workflow, and large inputs and outputs are passed by reference using a store:// address from Ahura Store.

Interactive simulation

Run qubo graph worker

Press Run to send the call. The dashboard shows what it would use in a partition. Simulated: nothing is actually executed.

ahura mcp · ptn_demo_7f3a

# Turn a business constraint set into JSON a quantum device can run, then read back the route, schedule or allocation.

→ POST /mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "utilities.qc.qubo_graph",
    "arguments": {
      "op": "compile",
      "payload": {
        "domain": "logistics",
        "format": "distance_matrix",
        "data": [
          [
            0,
            1,
            5,
            1
          ],
          [
            1,
            0,
            1,
            5
          ],
          [
            5,
            1,
            0,
            1
          ],
          [
            1,
            5,
            1,
            0
          ]
        ],
        "params": {
          "p_steps": 2,
          "shots": 1024
        }
      }
    }
  }
}

Ready. Press Run.

ptn_demo_7f3a

Partition · N. Virginia · created just now

Simulated
Activeus-eastRetention hold
Run time
0.0s
0 calls
Size
2.3MB
0.00 ACU used

Services in this partition

  • Utilities

    0 calls · 0.00 ACU

Spend by service

Ledger

  • No usage yet.

Good to know

  • Billed per call, with the price shown in tools/list. See pricing
  • Runs inside your partition, so inputs and results stay isolated and follow its retention settings.
  • Safe to chain: pair it with Ahura Workflows for retries and approvals.