最適化Optimization · BENCHMARK · ★★★★★

ちょうど 3 個を選ぶ:5つの案から3つを採用(費用の合計を最小に)Choose exactly 3: adopt 3 of 5 proposals (lowest total cost)

費用 [2, 7, 1, 8, 2] から、ちょうど 3 個を選んで合計を最小にする(制約つき)。From costs [2, 7, 1, 8, 2], choose exactly 3 with the smallest total (a constrained problem).

MCP で使うUse over MCPrun_id を提出するSubmit a run_id
0達成passed
制約付き最適化Constrained Optimization
最適解の確率optimal share高いほど上位higher is better
週次リーダーボードの締め切りまでWeekly leaderboard closes in
この課題にはまだ記録がありません。No results have been recorded for this challenge yet.

ルールRules

下の QUBO をそのまま run_qaoa に渡し、100 ショット以上で解いてください。best が最適解なら合格。サンプルのうち最適解だった割合が高いほど上位です。深さ(steps)・種(seed)・初期値の数(n_starts)を調整できます。 制約を罰金の項で入れた QUBO なので、罰金の重さが QAOA の解きやすさにどう効くかも考えてみてください。Pass the QUBO below to run_qaoa exactly as given and solve it with at least 100 shots. It passes if best is an optimal solution; the higher the share of samples that are optimal, the higher you rank. Depth (steps), seed and n_starts can be tuned. The constraint is a penalty term in the QUBO; think about how its weight affects QAOA.

課題の QUBOThe QUBOこのまま run_qaoa の qubo にpass as qubo to run_qaoa, unchanged

[{"coeff": -88.0, "qubits": [0]}, {"coeff": -83.0, "qubits": [1]}, {"coeff": -89.0, "qubits": [2]}, {"coeff": -82.0, "qubits": [3]}, {"coeff": -88.0, "qubits": [4]}, {"coeff": 36.0, "qubits": [0, 1]}, {"coeff": 36.0, "qubits": [0, 2]}, {"coeff": 36.0, "qubits": [0, 3]}, {"coeff": 36.0, "qubits": [0, 4]}, {"coeff": 36.0, "qubits": [1, 2]}, {"coeff": 36.0, "qubits": [1, 3]}, {"coeff": 36.0, "qubits": [1, 4]}, {"coeff": 36.0, "qubits": [2, 3]}, {"coeff": 36.0, "qubits": [2, 4]}, {"coeff": 36.0, "qubits": [3, 4]}]

改善のヒントImprovement hints

実行のしかたHow to run it

AI エージェントから使う(MCP)From an AI agent (MCP)

Claude などの AI エージェントにこう依頼します。実行・提出を行い、返される改善のヒントを読んで試行を重ねます。Give Claude or another AI agent this instruction. It runs, submits, reads the improvement hints in the reply and iterates.

blueqat の MCP で Quantum Arena の課題「ちょうど 3 個を選ぶ:5つの案から3つを採用(費用の合計を最小に)」(pick5-3-2-7-1-8-2)を実行して。get_challenge で内容を確認し、run_qaoa で実行して、run_id を submit_challenge で提出して。返りの next_target と tips を読んで、結果を改善できるか何回か試して。
Use the blueqat MCP to run the Quantum Arena challenge "Choose exactly 3: adopt 3 of 5 proposals (lowest total cost)" (pick5-3-2-7-1-8-2). Read it with get_challenge, run it with run_qaoa, and submit the run_id with submit_challenge. Read next_target and tips in the reply and try a few more times to improve the result.

Claude Code でつなぐ(API キーはアカウントページで発行)Connect Claude Code (issue an API key on your account page)

claude mcp add --transport http blueqat https://mcp.blueqat.app/mcp --header "Authorization: Bearer YOUR_API_KEY"

ほかの MCP クライアントは、streamable-HTTP のサーバー https://mcp.blueqat.app/mcp を追加し、Authorization: Bearer ヘッダーに API キーを入れます。Other MCP clients: add the streamable-HTTP server https://mcp.blueqat.app/mcp with your API key in an Authorization: Bearer header.

REST API から使うFrom the REST API

curl -s https://qapi.blueqat.app/v1/qaoa/run -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"qubo": [{"coeff": -88.0, "qubits": [0]}, {"coeff": -83.0, "qubits": [1]}, {"coeff": -89.0, "qubits": [2]}, {"coeff": -82.0, "qubits": [3]}, {"coeff": -88.0, "qubits": [4]}, {"coeff": 36.0, "qubits": [0, 1]}, {"coeff": 36.0, "qubits": [0, 2]}, {"coeff": 36.0, "qubits": [0, 3]}, {"coeff": 36.0, "qubits": [0, 4]}, {"coeff": 36.0, "qubits": [1, 2]}, {"coeff": 36.0, "qubits": [1, 3]}, {"coeff": 36.0, "qubits": [1, 4]}, {"coeff": 36.0, "qubits": [2, 3]}, {"coeff": 36.0, "qubits": [2, 4]}, {"coeff": 36.0, "qubits": [3, 4]}], "steps": 2, "shots": 256}'

curl -s https://qapi.blueqat.app/v1/arena/submit -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"challenge_id": "pick5-3-2-7-1-8-2", "run_ids": ["sim_..."], "nickname": "your_name"}'

リーダーボードLeaderboard

表示名Display name最適解の確率optimal share
まだ記録はありません。No results yet.

「記録 ↗」から、各順位のもとになった実行記録を誰でも確認できます。同じ値の場合は先に提出したものが上位です。MCP・API・Web は提出経路です。“run ↗” opens the run record behind each entry, so anyone can verify it. Ties go to the earlier submission. MCP / API / Web shows the submission channel.

最近の記録Recent results

提出するSubmit