MODEL CONTEXT PROTOCOL × 量子シミュレーション MODEL CONTEXT PROTOCOL · QUANTUM SIMULATION

エージェントに、量子コンピュータを。 Give your agent a quantum computer.

blueqat MCPは、blueqatの量子回路シミュレータをあらゆるMCP対応クライアントに公開します。 回路をJSON形式で記述するだけで、PyTorchベースのシミュレータ上で実行し、 カウント・振幅・状態ベクトル・ハミルトニアン期待値を取得できます。 実際の量子コンピュータ(実機)にも回路を投入でき、無料プランでも毎月お試しいただけます。 お使いの環境に量子SDKをインストールする必要はありません。 blueqat MCP exposes the blueqat quantum-circuit simulator to any MCP-compatible client. Describe a circuit as structured JSON, run it on a PyTorch-backed simulator, and get counts, amplitudes, state vectors, or Hamiltonian expectation values back. Submit circuits to real quantum hardware too — the free plan includes a monthly trial. No quantum SDK install required on your side.

6つのツールで、ひとつのシミュレータへSix tools, one simulator

回路はすべてJSON形式のゲートリストとして記述します。実行可能なコードではないため、信頼できないクライアントからでも安全に利用できます。 Every circuit is a plain JSON gate list — never executable code — so it's safe to run from an untrusted client.

run_circuit

回路を構築してシミュレーションします。ショット数によるカウント、単一の振幅、状態ベクトル全体、ハミルトニアンの期待値のいずれかを返します。 Build and simulate a circuit. Returns shot counts, a single amplitude, a full state vector, or a Hamiltonian expectation value.

run_qaoa

QUBO形式で記述した組合せ最適化問題をQAOAで解きます。パラメータ最適化からサンプリングまで一括実行します。 Solve a combinatorial-optimization problem written as a QUBO with QAOA — parameter optimization and sampling in one call.

run_vqe

パウリ・ハミルトニアンの基底状態エネルギーをVQEで求めます。固定のハードウェア効率アンザッツを使用します。 Find a Pauli Hamiltonian's ground-state energy with VQE, using a fixed hardware-efficient ansatz.

i

circuit_info

回路を実行せずに、深さとゲート数を確認します。 Depth and gate counts for a circuit, without running it.

list_gates

blueqatが対応する全ゲート名の一覧です — h、cx、rx、toffoliなど。 The full set of gate names blueqat accepts — h, cx, rx, toffoli, and everything in between.

?

sdk_info

このサーバーの概要と、現在のアクセストークンに適用される利用上限を返します。 What this server is, plus the resource limits that apply to your current access token.

組合せ最適化を、QAOAで。Combinatorial optimization with QAOA

最小化したい目的関数をQUBO(0/1変数の2次式)として渡すだけで、QAOAのパラメータ最適化からサンプリングまでを1回のツール呼び出しで実行します。MaxCut、数分割、スケジューリングなどの組合せ最適化問題に使えます。 Hand over the objective you want to minimize as a QUBO (a quadratic over 0/1 variables) and one tool call runs QAOA parameter optimization through sampling. Works for MaxCut, number partitioning, scheduling, and other combinatorial problems.

QUBOを組み立てるBuild the QUBO

各項は coeff × q_i × q_j × … を表します。例: 三角形グラフのMaxCutは、各辺 (i, j) について −qi − qj + 2qiqj を足し合わせます。 Each term contributes coeff × q_i × q_j × …. Example: MaxCut on a triangle sums −qi − qj + 2qiqj over each edge (i, j).

run_qaoa を呼び出すCall run_qaoa

{"qubo": [
  {"coeff": -2, "qubits": [0]}, {"coeff": -2, "qubits": [1]}, {"coeff": -2, "qubits": [2]},
  {"coeff": 2, "qubits": [0,1]}, {"coeff": 2, "qubits": [1,2]}, {"coeff": 2, "qubits": [0,2]}
], "steps": 2, "shots": 256}

ソート済みの解を受け取るGet back sorted solutions

目的関数値の小さい順に並んだ解(q0起点のビット列・各ビットの値・目的関数値・出現回数)と、最適化されたQAOAパラメータが返ります。 Solutions come back sorted by objective value — each with a q0-first bitstring, its bits, its objective value, and its sample count — plus the optimized QAOA parameters.

{"best": {"bitstring": "101", "bits": [1,0,1], "value": -2.0, "count": 45}, ...}

シミュレータだけじゃない。実機にも。Not just a simulator. Real hardware, too.

実量子コンピュータに直接ジョブを投入できます。現在は32量子ビットの超伝導プロセッサ(東京リージョン)に接続しています。無料プランでも毎月10ジョブまでお試しいただけます。 Submit jobs directly to real quantum hardware — currently a 32-qubit superconducting processor in the Tokyo region. The free plan includes 10 hardware jobs a month.

list_hardware_qpus

利用可能なQPU(実機・シミュレータ)の一覧を取得します。 See which QPUs — real hardware and hosted emulators — are available.

get_qpu_next_window

実機の次回稼働時刻を確認します。常時稼働のシミュレータと違い、実機は決まった時間帯にしか動きません。 Check when real hardware is next scheduled to run — unlike the always-on simulators, real QPUs only run during scheduled windows.

submit_hardware_job

回路を実機に投入します。誤投入防止のため confirm=true の明示指定が必須です。 Submit a circuit to real hardware. Requires an explicit confirm=true as a safeguard against accidental submission.

get_hardware_job_result

投入したジョブの結果を取得します(get_hardware_job_status / cancel_hardware_job もあります)。 Fetch results for a submitted job (get_hardware_job_status / cancel_hardware_job are also available).

!
実機は決まった稼働ウィンドウでのみ動作するため、ジョブを投入するとキューに入り、次の稼働時間まで待機します。シミュレータのように即座には結果が返りません。 Real hardware only runs during scheduled uptime windows, so a submitted job queues until the next window opens — results aren't instant like the simulator.

無料で試して、有料でさらに広げるFree to try, paid to push further

利用上限はログインアカウントごとにリクエスト単位で適用されます。現在はCPUのみで稼働しているため、両ティアともそれに合わせたサイズにしています。 Limits are enforced per request based on your logged-in account. This runs on CPU today, so both tiers are sized to match.

実機おためし付きHardware trial included
無料Free
まずは試すTry it out
¥0
Qubit数(シミュレータ)Qubits (simulator)
≤ 10
ショット数Shots
≤ 256
回路あたりのゲート数Gates per circuit
≤ 200
同時実行数Concurrent runs
1
タイムアウトTimeout
10s
実機ジョブHardware jobs
10件/月10/mo
Qubit数(実機)Qubits (hardware)
≤ 32

JPYCでのお支払いに対応Pay with JPYC

月額プランのほかに、日本円ステーブルコイン JPYC で実機ジョブを都度払いできます。月額契約は不要で、使った分だけお支払いいただけます。シミュレータは引き続き無料で、課金対象は実機ジョブのみです。 Besides the monthly plan, you can pay per hardware job with JPYC, the Japanese-yen stablecoin — no subscription, just what you use. The simulator stays free; only real-hardware jobs are charged.

実機ジョブ基本料Per hardware job
10 JPYC
実機ショット単価Per hardware shot
0.1 JPYC
1,000ショットの例Example: 1,000 shots
110 JPYC
シミュレータSimulator
無料Free

1 JPYC = 1円。ネットワークは Polygon。入金先アドレスと送金先トークンはアカウントページに表示されます。入金の反映は確認後となります。JPYCは資金決済法上の電子決済手段で、暗号資産とは異なります。 1 JPYC = 1 JPY, on Polygon. Your deposit address and the exact token contract are shown on your account page. Deposits are credited after confirmation.

3ステップで最初の回路を実行Three steps to your first circuit

ログインLog in

/login にアクセスし、blueqatアカウントでログインします。約2時間有効なアクセストークンが発行されます。常時稼働のサーバーやスクリプトには、アカウントページで発行できる有効期限のないAPIキーが便利です。 Visit /login and sign in with your blueqat account. You'll get back an access token good for about 2 hours. For always-on servers or scripts, issue a no-expiry API key from your account page instead.

MCPクライアントを設定Point your MCP client here

https://mcp.blueqat.app/mcp をstreamable-HTTPサーバーとして追加し、トークンをAuthorizationヘッダーとして送信します: Add a streamable-HTTP server at https://mcp.blueqat.app/mcp, sending your token as an Authorization header:

Authorization: Bearer <your token>

ツールを呼び出すCall a tool

まず list_gatessdk_info で利用可能な内容を確認し、run_circuit で最初の回路を実行しましょう。 Start with list_gates and sdk_info to see what's available, then run your first circuit with run_circuit.

🔒
通信は耐量子ハイブリッド鍵共有(X25519MLKEM768)に対応。対応クライアントとの接続を、記録した通信を将来の量子計算機で復号する「Harvest Now, Decrypt Later」攻撃から保護します。openssl s_client -connect mcp.blueqat.app:443 -groups X25519MLKEM768 で確認できます。 Connections support post-quantum hybrid key agreement (X25519MLKEM768). For capable clients, session keys are protected against "harvest-now, decrypt-later" attacks. Verify with openssl s_client -connect mcp.blueqat.app:443 -groups X25519MLKEM768.