ジョブ
ジョブの実行
Qiskit Runtime プリミティブを呼び出す。 返されたジョブIDに注意。 仕事のステータスを確認し、結果を確認するために使用します。 このリクエストのレートは、1ユーザーにつき毎分5ジョブまでに制限されています。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.create
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.create
入力
名前、タイプ | 説明 |
|---|---|
program_id string | 実行されるプログラムのID |
backend string | プログラムを実行するバックエンドを特定する名前。 |
runtime string | プログラム実行時に使用する画像の名前とタグ( IBM Quantum チャンネルユーザーのみ)。 name:tag "のパターンに従うこと。 |
tags string[] | ジョブ・タグまたはプログラム・タグのリスト |
log_level string | プログラムのログレベル 使用可能な値: criticalerrorwarninginfodebug |
cost integer | ジョブが完了するまでの推定時間(秒単位)。 プログラム費用を超えないこと。 提供された値が最大値を超える場合、その値が上限となる。 最小値:: 0最大値:: 10800 |
session_id string | ジョブが属するセッションの識別子 |
calibration_id string | ジョブに使用されたキャリブレーションのID |
params one of | |
SamplerV2 入力 object | SamplerV2 APIコールの入力 |
EstimatorV2 入力 object | EstimatorV2 APIコールの入力 |
NoiseLearner 入力 object | NoiseLearner APIコールの入力 |
実行ファイル ` v0.1 ` の入力 object | Executorプログラムの入力内容を記述したモデル。 |
実行ファイル ` v0.2 ` の入力 object | Executorプログラムの入力内容を記述したモデル。 |
執行者 v1.0 ParamsModel object | Executorプログラムの入力内容を記述したモデル。 |
執行者 v1.1 ParamsModel object | Executorプログラムの入力内容を記述したモデル。 |
NoiseLearnerV3 v0.1 入力 object | Noise Learner V3 プログラムの入力内容を説明するモデル。 |
NoiseLearnerV3 v0.2 入力 object | Noise Learner V3 プログラムの入力内容を説明するモデル。 |
NoiseLearnerV3 v0.3 ParamsModel object | Noise Learner V3 プログラムの入力内容を説明するモデル。 |
private boolean | trueに設定すると、入力パラメーターは返されず、結果は一度しか読み込めない。 ジョブ終了後、入力パラメータはサービスから削除される。 結果は読み込まれた後、サービスから削除される。 falseに設定すると、入力パラメータと結果はAPIの標準的な保持動作に従う。 値がtrueの場合のみレスポンスに返され、そうでない場合は省略される。 |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs
curl -X POST \
'https://quantum.cloud.ibm.com/api/v1/jobs' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs
import requests
response = requests.request(
"POST",
"https://quantum.cloud.ibm.com/api/v1/jobs",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | 終了 |
| 400 | 誤った要求 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |
| 409 | 使用量がインスタンス制限を超える |
{
"id": "c5dge2d3rn7breq27i9g",
"backend": "ibm_backend",
"private": true
}{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ジョブ ID"
},
"backend": {
"type": "string",
"description": "ジョブを実行するために選択されたバックエンド"
},
"session_id": {
"type": "string",
"description": "ジョブに関連するセッションのID"
},
"private": {
"type": "boolean",
"description": "trueに設定すると、入力パラメーターは返されず、結果は一度しか読み込めない。 ジョブ終了後、入力パラメータはサービスから削除される。 結果は読み込まれた後、サービスから削除される。 falseに設定すると、入力パラメータと結果はAPIの標準的な保持動作に従う。 値がtrueの場合のみレスポンスに返され、そうでない場合は省略される。"
},
"calibration_id": {
"type": "string",
"description": "ジョブに使用されたキャリブレーションのID",
"pattern": "^.*$",
"minLength": 1,
"maxLength": 100
}
},
"description": "ジョブ作成時のレスポンス",
"required": [
"id",
"backend"
]
}ジョブのリスト表示
実行した量子プログラムのジョブをリストアップしてください。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.read
入力
名前、タイプ | 説明 |
|---|---|
limit integer | 一度に返す結果の数。 提供された値が実行可能範囲外の場合、エラーは発生せず、代わりにデフォルト値が使用される。 デフォルト値: 200最小値:: 1最大値:: 200 |
offset integer | ジョブのリストを取得する際にオフセットする結果の数。 提供された値が実行可能範囲外の場合、エラーは発生せず、代わりにデフォルト値が使用される。 デフォルト値: 0最小値:: 0最大値:: 2147483647 |
pending boolean | trueの場合、'Queued'および'Running'ジョブを返す。 falseの場合は「Completed」、「Cancelled」、「Failed」ジョブを返す。 |
program string | ジョブをフィルタリングするプログラムID |
backend string | ジョブをフィルタリングするバックエンド |
created_after string | フィルター後に作成されたジョブ |
created_before string | フィルター前に作成されたジョブ |
sort string | 作成された時間順にASCまたはDESCでジョブを並べ替える (デフォルト) |
tags string[] | 求人を絞り込むためのタグ |
session_id string | ジョブをフィルタリングするセッションID |
exclude_params boolean | ジョブパラメータをレスポンスから除外する デフォルト値: true |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs
curl -X GET \
'https://quantum.cloud.ibm.com/api/v1/jobs' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs
import requests
response = requests.request(
"GET",
"https://quantum.cloud.ibm.com/api/v1/jobs",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | 終了 |
| 400 | 誤った要求 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |
{
"jobs": [
{
"id": "c5dge2d3rn7breq27i9g",
"backend": "ibmq_qasm_simulator",
"cost": 0,
"state": {
"status": "Completed",
"reason": ""
},
"status": "Completed",
"params": {
"iterations": 3
},
"program": {
"id": "myprogram-abcdef12345"
},
"created": "2021-10-04T13:52:09.456851Z",
"runtime": "ntc-provider-primitives:latest",
"tags": [
"tag1",
"tag2",
"tag3",
"tag4"
],
"session_id": "c5dge2d3rn7breq27i9g",
"usage": {
"qpu_charge_time_seconds": 20,
"status": "complete"
},
"private": true,
"estimated_running_time_seconds": 30.5,
"calibration_id": "fez-ac-tls-test"
},
{
"id": "c2gfe1m3ln7breq27i6e",
"backend": "ibmq_qasm_simulator",
"cost": 0,
"state": {
"status": "Completed",
"reason": ""
},
"status": "Completed",
"params": {
"iterations": 3
},
"program": {
"id": "myprogram-abcdef12345"
},
"created": "2021-10-05T13:52:09.456851Z",
"runtime": "ntc-provider-primitives:latest",
"tags": [
"tag1",
"tag2",
"tag3",
"tag4"
],
"session_id": "c1mre2f3pn9breq18i4g"
}
],
"count": 2,
"limit": 2,
"offset": 0
}{
"title": "JobsResponse",
"type": "object",
"description": "ジョブズ・コレクションへの対応",
"properties": {
"jobs": {
"description": "仕事のリスト",
"type": "array",
"minItems": 0,
"maxItems": 2147483647,
"items": {
"title": "JobResponse",
"type": "object",
"description": "一仕事",
"properties": {
"id": {
"type": "string",
"description": "ジョブに割り当てられた識別子",
"pattern": "^[A-Za-z0-9_-]+$"
},
"backend": {
"type": "string",
"description": "\\*\\*このパラメータは現在リクエストに必須ではないが、指定することを強く推奨する。 異なる命令セットを持つバックエンドでISA回路を実行するとエラーになる。 バックエンドパラメータは将来のリリースで必要になる。\n\nプログラムを実行するバックエンド。 バックエンドが指定されていない場合、ジョブはあなたがアクセスできる最短のキューを持つバックエンドに送られます。",
"pattern": "^.*$"
},
"state": {
"title": "JobState",
"type": "object",
"description": "仕事の現状",
"properties": {
"status": {
"type": "string",
"description": "現在のジョブの状況",
"enum": [
"Queued",
"Running",
"Completed",
"Cancelled",
"Failed"
]
},
"reason": {
"type": "string",
"description": "現在のステータスの理由"
},
"reason_code": {
"type": "integer",
"format": "int32",
"minimum": 1000,
"maximum": 9999,
"description": "現在のステータスの理由コード"
},
"reason_solution": {
"type": "string",
"description": "障害が発生した場合、ユーザーが取るべき次のステップ"
}
},
"required": [
"status"
]
},
"status": {
"title": "JobStatus",
"type": "string",
"description": "現在のジョブの状況",
"enum": [
"Queued",
"Running",
"Completed",
"Cancelled",
"Cancelled - Ran too long",
"Failed"
]
},
"params": {
"type": "object",
"additionalProperties": true,
"description": "ジョブの実行に使用されるパラメータ"
},
"program": {
"type": "object",
"description": "その仕事に関連するプログラム",
"properties": {
"id": {
"type": "string",
"description": "実行されたプログラムの識別子",
"pattern": "^.*$",
"minLength": 1,
"maxLength": 1000000
}
},
"required": [
"id"
]
},
"created": {
"type": "string",
"description": "ジョブが作成されたUTCタイムスタンプ",
"format": "date-time",
"pattern": "^[0-9TZt:\\-+./*]+$"
},
"runtime": {
"type": "string",
"description": "プログラム実行時に使用する画像の名前とタグ( IBM Quantum チャンネルユーザーのみ)"
},
"cost": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 10800,
"description": "ジョブが完了するまでの推定時間(秒単位)。 プログラム費用を超えないこと。 提供された値が最大値を超える場合、その値が上限となる。"
},
"tags": {
"title": "タグ",
"description": "ジョブ・タグまたはプログラム・タグのリスト",
"type": "array",
"minItems": 0,
"maxItems": 8,
"items": {
"type": "string",
"pattern": "^.*$",
"minLength": 0,
"maxLength": 86
}
},
"remote_storage": {
"allOf": [
{
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "入力データの保存場所と出力データの保存場所のデフォルト・リモート・ストレージ・オプション"
}
]
},
{
"title": "RemoteStorage",
"description": "(チャネルパートナープランの Qiskit Runtime インスタンスでのみ有効) ジョブパラメータがリモートで保存される場所、および/または結果ログがトランスパイルサーキットなどに保存される場所に関するメタデータと接続情報。 および/または結果、ログ、トランスパイルサーキットなどを保存する場所に関するメタデータと接続情報。 省略されたプロパティ は、デフォルトのリモート・ストレージ・オプションから継承されます。\n例として、次の2つのオブジェクトは等価である:\n\n```\n{\n \"type\": \"ibmcloud_cos\",\n \"region\": \"us-east\",\n \"region_type\": \"regional\",\n \"bucket_crn\": \"crn\",\n \"job_params\": {\n \"object_name\": \"my-object\"\n }\n}\n```\n\n```\n{\n \"type\": \"ibmcloud_cos\",\n \"region\": \"us-east\",\n \"region_type\": \"regional\",\n \"bucket_crn\": \"crn\",\n \"job_params\": {\n \"type\": \"ibmcloud_cos\",\n \"region\": \"us-east\",\n \"region_type\": \"regional\",\n \"bucket_crn\": \"crn\",\n \"object_name\": \"my-object\"\n }\n}\n```",
"properties": {
"job_params": {
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "ユーザが指定したジョブパラメータを格納する場所 (省略されたプロパティはデフォルトのリモートストレージオプションから継承されます)"
}
]
},
"results": {
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "ジョブ結果が保存される場所 (省略されたプロパティはデフォルトのリモートストレージオプションから継承されます)"
}
]
},
"logs": {
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "ジョブログが保存される場所 (省略されたプロパティはデフォルトのリモートストレージオプションから継承されます)"
}
]
}
},
"required": [
"job_params",
"results"
]
}
]
},
"session_id": {
"type": "string",
"description": "ジョブが属するセッションの識別子"
},
"user_id": {
"type": "string",
"description": "ジョブを提出したユーザーのID"
},
"usage": {
"title": "使用量",
"description": "使用状況メトリック",
"type": "object",
"properties": {
"qpu_charge_time_seconds": {
"type": "number",
"description": "リソースの使用量を秒単位で表した値。 この値は、容量の使用量を計算するために使用されます。",
"minimum": 0
},
"status": {
"title": "BillingStatus",
"type": "string",
"description": "請求データの完全性の状況",
"enum": [
"pending",
"complete"
]
}
}
},
"private": {
"type": "boolean",
"description": "trueに設定すると、入力パラメーターは返されず、結果は一度しか読み込めない。 ジョブ終了後、入力パラメータはサービスから削除される。 結果は読み込まれた後、サービスから削除される。 falseに設定すると、入力パラメータと結果はAPIの標準的な保持動作に従う。 値がtrueの場合のみレスポンスに返され、そうでない場合は省略される。"
},
"estimated_running_time_seconds": {
"type": "number",
"format": "double",
"description": "推定使用時間(秒"
},
"calibration_id": {
"type": "string",
"description": "ジョブに使用されたキャリブレーションのID"
}
},
"required": [
"id",
"created",
"program",
"state",
"status",
"cost"
]
}
},
"count": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 2147483647,
"description": "ユーザーの総ジョブ数"
},
"offset": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 2147483647,
"description": "ページ分割された結果が返されるオフセット"
},
"limit": {
"type": "integer",
"format": "int32",
"minimum": 1,
"maximum": 200,
"description": "ページ分割されたレスポンスで返される結果の最大数"
}
},
"required": [
"limit",
"offset",
"jobs"
]
}仕事の詳細
指定した量子プログラムのジョブの詳細を一覧表示します。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.read
入力
名前、タイプ | 説明 |
|---|---|
id 必須 string | 既存のジョブの識別子 |
名前、タイプ | 説明 |
|---|---|
exclude_params boolean | ジョブパラメータをレスポンスから除外する デフォルト値: false |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}
curl -X GET \
'https://quantum.cloud.ibm.com/api/v1/jobs/{id}' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}
import requests
response = requests.request(
"GET",
"https://quantum.cloud.ibm.com/api/v1/jobs/{id}",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | 終了 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |
{
"id": "c5dge2d3rn7breq27i9g",
"backend": "ibmq_qasm_simulator",
"cost": 0,
"state": {
"status": "Completed",
"reason": ""
},
"status": "Completed",
"params": {
"iterations": 3
},
"program": {
"id": "myprogram-abcdef12345"
},
"created": "2021-10-04T13:52:09.456851Z",
"runtime": "ntc-provider-primitives:latest",
"tags": [
"tag1",
"tag2",
"tag3",
"tag4"
],
"session_id": "c5dge2d3rn7breq27i9g",
"private": true,
"estimated_running_time_seconds": 30.5,
"calibration_id": "fez-ac-tls-test"
}{
"title": "JobResponse",
"type": "object",
"description": "一仕事",
"properties": {
"id": {
"type": "string",
"description": "ジョブに割り当てられた識別子",
"pattern": "^[A-Za-z0-9_-]+$"
},
"backend": {
"type": "string",
"description": "\\*\\*このパラメータは現在リクエストに必須ではないが、指定することを強く推奨する。 異なる命令セットを持つバックエンドでISA回路を実行するとエラーになる。 バックエンドパラメータは将来のリリースで必要になる。\n\nプログラムを実行するバックエンド。 バックエンドが指定されていない場合、ジョブはあなたがアクセスできる最短のキューを持つバックエンドに送られます。",
"pattern": "^.*$"
},
"state": {
"title": "JobState",
"type": "object",
"description": "仕事の現状",
"properties": {
"status": {
"type": "string",
"description": "現在のジョブの状況",
"enum": [
"Queued",
"Running",
"Completed",
"Cancelled",
"Failed"
]
},
"reason": {
"type": "string",
"description": "現在のステータスの理由"
},
"reason_code": {
"type": "integer",
"format": "int32",
"minimum": 1000,
"maximum": 9999,
"description": "現在のステータスの理由コード"
},
"reason_solution": {
"type": "string",
"description": "障害が発生した場合、ユーザーが取るべき次のステップ"
}
},
"required": [
"status"
]
},
"status": {
"title": "JobStatus",
"type": "string",
"description": "現在のジョブの状況",
"enum": [
"Queued",
"Running",
"Completed",
"Cancelled",
"Cancelled - Ran too long",
"Failed"
]
},
"params": {
"type": "object",
"additionalProperties": true,
"description": "ジョブの実行に使用されるパラメータ"
},
"program": {
"type": "object",
"description": "その仕事に関連するプログラム",
"properties": {
"id": {
"type": "string",
"description": "実行されたプログラムの識別子",
"pattern": "^.*$",
"minLength": 1,
"maxLength": 1000000
}
},
"required": [
"id"
]
},
"created": {
"type": "string",
"description": "ジョブが作成されたUTCタイムスタンプ",
"format": "date-time",
"pattern": "^[0-9TZt:\\-+./*]+$"
},
"runtime": {
"type": "string",
"description": "プログラム実行時に使用する画像の名前とタグ( IBM Quantum チャンネルユーザーのみ)"
},
"cost": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 10800,
"description": "ジョブが完了するまでの推定時間(秒単位)。 プログラム費用を超えないこと。 提供された値が最大値を超える場合、その値が上限となる。"
},
"tags": {
"title": "タグ",
"description": "ジョブ・タグまたはプログラム・タグのリスト",
"type": "array",
"minItems": 0,
"maxItems": 8,
"items": {
"type": "string",
"pattern": "^.*$",
"minLength": 0,
"maxLength": 86
}
},
"remote_storage": {
"allOf": [
{
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "入力データの保存場所と出力データの保存場所のデフォルト・リモート・ストレージ・オプション"
}
]
},
{
"title": "RemoteStorage",
"description": "(チャネルパートナープランの Qiskit Runtime インスタンスでのみ有効) ジョブパラメータがリモートで保存される場所、および/または結果ログがトランスパイルサーキットなどに保存される場所に関するメタデータと接続情報。 および/または結果、ログ、トランスパイルサーキットなどを保存する場所に関するメタデータと接続情報。 省略されたプロパティ は、デフォルトのリモート・ストレージ・オプションから継承されます。\n例として、次の2つのオブジェクトは等価である:\n\n```\n{\n \"type\": \"ibmcloud_cos\",\n \"region\": \"us-east\",\n \"region_type\": \"regional\",\n \"bucket_crn\": \"crn\",\n \"job_params\": {\n \"object_name\": \"my-object\"\n }\n}\n```\n\n```\n{\n \"type\": \"ibmcloud_cos\",\n \"region\": \"us-east\",\n \"region_type\": \"regional\",\n \"bucket_crn\": \"crn\",\n \"job_params\": {\n \"type\": \"ibmcloud_cos\",\n \"region\": \"us-east\",\n \"region_type\": \"regional\",\n \"bucket_crn\": \"crn\",\n \"object_name\": \"my-object\"\n }\n}\n```",
"properties": {
"job_params": {
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "ユーザが指定したジョブパラメータを格納する場所 (省略されたプロパティはデフォルトのリモートストレージオプションから継承されます)"
}
]
},
"results": {
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "ジョブ結果が保存される場所 (省略されたプロパティはデフォルトのリモートストレージオプションから継承されます)"
}
]
},
"logs": {
"allOf": [
{
"oneOf": [
{
"type": "object",
"description": "IBM Cloud Object Storage バケットにデータが保存されている、または保存される予定のリモートストレージのメタデータ。 デフォルトのリモートストレージオプションで許可され定義されていれば、フィールド固有のオブジェクトでは必須フィールドを省略することができる。",
"properties": {
"type": {
"type": "string",
"enum": [
"ibmcloud_cos"
],
"default": "ibmcloud_cos"
},
"region": {
"type": "string",
"example": "us-east",
"description": "リージョン、クロス・リージョン、またはシングル・データ・センターは、 IBM Cloud Object Storage () で定義されている。 [https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints) )",
"pattern": "^[a-zA-Z-]+$"
},
"region_type": {
"type": "string",
"enum": [
"regional",
"cross-region",
"single-site"
]
},
"bucket_crn": {
"description": "対象の Cloud Object Storage バケツに対して CRN を完全に指定する",
"type": "string",
"example": "crn:v1:bluemix:public:cloud-object-storage:global:a/abc123:abc123:bucket:my-bucket"
},
"object_name": {
"description": "IBM Cloud Object Storage バケツ内のオブジェクトの名前/ID。 デフォルトのリモート・ストレージ・オプションでは指定*できない*。",
"type": "string"
}
},
"required": [
"object_name",
"bucket_crn",
"region",
"region_type"
]
}
],
"discriminator": {
"propertyName": "type"
}
},
{
"description": "ジョブログが保存される場所 (省略されたプロパティはデフォルトのリモートストレージオプションから継承されます)"
}
]
}
},
"required": [
"job_params",
"results"
]
}
]
},
"session_id": {
"type": "string",
"description": "ジョブが属するセッションの識別子"
},
"user_id": {
"type": "string",
"description": "ジョブを提出したユーザーのID"
},
"usage": {
"title": "使用量",
"description": "使用状況メトリック",
"type": "object",
"properties": {
"qpu_charge_time_seconds": {
"type": "number",
"description": "リソースの使用量を秒単位で表した値。 この値は、容量の使用量を計算するために使用されます。",
"minimum": 0
},
"status": {
"title": "BillingStatus",
"type": "string",
"description": "請求データの完全性の状況",
"enum": [
"pending",
"complete"
]
}
}
},
"private": {
"type": "boolean",
"description": "trueに設定すると、入力パラメーターは返されず、結果は一度しか読み込めない。 ジョブ終了後、入力パラメータはサービスから削除される。 結果は読み込まれた後、サービスから削除される。 falseに設定すると、入力パラメータと結果はAPIの標準的な保持動作に従う。 値がtrueの場合のみレスポンスに返され、そうでない場合は省略される。"
},
"estimated_running_time_seconds": {
"type": "number",
"format": "double",
"description": "推定使用時間(秒"
},
"calibration_id": {
"type": "string",
"description": "ジョブに使用されたキャリブレーションのID"
}
},
"required": [
"id",
"created",
"program",
"state",
"status",
"cost"
]
}ジョブの削除
指定されたジョブおよびその関連データを削除します。 仕事は末期状態でなければならない。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.delete
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.delete
入力
名前、タイプ | 説明 |
|---|---|
id 必須 string | 既存のジョブの識別子 |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}
curl -X DELETE \
'https://quantum.cloud.ibm.com/api/v1/jobs/{id}' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}
import requests
response = requests.request(
"DELETE",
"https://quantum.cloud.ibm.com/api/v1/jobs/{id}",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 204 | 終了 |
| 400 | 誤った要求 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |
| 500 | ジョブ削除の内部エラー |
ジョブをキャンセルします
指定されたジョブをキャンセルします。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.cancel
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.cancel
入力
名前、タイプ | 説明 |
|---|---|
id 必須 string | ジョブID |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/cancel
curl -X POST \
'https://quantum.cloud.ibm.com/api/v1/jobs/{id}/cancel' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/cancel
import requests
response = requests.request(
"POST",
"https://quantum.cloud.ibm.com/api/v1/jobs/{id}/cancel",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 204 | 終了 |
| 400 | 不正なキャンセル要求 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |
| 409 | 仕事はキャンセルできない状態です。 |
| 500 | 内部エラーによるジョブのキャンセル |
ジョブ・ログの一覧
指定されたジョブのすべてのジョブログを一覧表示します。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.read
入力
名前、タイプ | 説明 |
|---|---|
id 必須 string | ジョブID |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/logs
curl -X GET \
'https://quantum.cloud.ibm.com/api/v1/jobs/{id}/logs' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/logs
import requests
response = requests.request(
"GET",
"https://quantum.cloud.ibm.com/api/v1/jobs/{id}/logs",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | ジョブログを返します。 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 見つかりませんでした |
仕事の指標を得る
指定したジョブのメトリクスを取得します
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.read
入力
名前、タイプ | 説明 |
|---|---|
id 必須 string | ジョブID |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/metrics
curl -X GET \
'https://quantum.cloud.ibm.com/api/v1/jobs/{id}/metrics' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/metrics
import requests
response = requests.request(
"GET",
"https://quantum.cloud.ibm.com/api/v1/jobs/{id}/metrics",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | 終了 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |
{
"timestamps": {
"created": "2026-03-06T14:02:11Z",
"running": "2026-03-06T14:02:18Z",
"finished": "2026-03-06T14:05:47Z"
},
"usage": {
"qpu_charge_time_seconds": 20,
"status": "complete"
},
"circuits_execution_time_ns": 20000000,
"qiskit_version": "2.3.0"
}{
"title": "JobMetrics",
"type": "object",
"description": "ジョブの実行に関する様々なメトリクス",
"properties": {
"caller": {
"type": "string",
"description": "この値は「x-qx-client-application」リクエストヘッダーから取得され、指定されている場合は、そのクライアントを表す `qiskit//` 形式に従います。",
"pattern": "^.*$"
},
"timestamps": {
"type": "object",
"description": "ステータス遷移のタイムスタンプへのマップ",
"properties": {
"created": {
"pattern": "^[0-9TZt:\\-+./*]+$",
"format": "date-time",
"type": "string",
"description": "ジョブ作成リクエストを受信したときのタイムスタンプ"
},
"finished": {
"pattern": "^[0-9TZt:\\-+./*]+$",
"format": "date-time",
"type": "string",
"description": "ジョブ終了時のタイムスタンプ"
},
"running": {
"pattern": "^[0-9TZt:\\-+./*]+$",
"format": "date-time",
"type": "string",
"description": "ジョブの実行開始のタイムスタンプ"
}
}
},
"usage": {
"title": "使用量",
"description": "使用状況メトリック",
"type": "object",
"properties": {
"qpu_charge_time_seconds": {
"type": "number",
"description": "リソースの使用量を秒単位で表した値。 この値は、容量の使用量を計算するために使用されます。",
"minimum": 0
},
"status": {
"title": "BillingStatus",
"type": "string",
"description": "請求データの完全性の状況",
"enum": [
"pending",
"complete"
]
}
}
},
"circuits_execution_time_ns": {
"type": "number",
"description": "そのジョブがQPU上で実行された時間(ナノ秒単位)。",
"minimum": 0
},
"qiskit_version": {
"type": "string",
"description": "ジョブの実行中に使用されたQiskitのバージョン",
"pattern": "^v?(\\d+(\\.\\d+)*|\\.\\d+(\\.\\d+)*)$",
"maxLength": 100
}
}
} 求人結果一覧
このジョブの最終結果を返す。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.read
入力
名前、タイプ | 説明 |
|---|---|
id 必須 string | ジョブID |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/results
curl -X GET \
'https://quantum.cloud.ibm.com/api/v1/jobs/{id}/results' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/results
import requests
response = requests.request(
"GET",
"https://quantum.cloud.ibm.com/api/v1/jobs/{id}/results",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | ジョブの最終結果を返します。 |
| 204 | ジョブの最終結果が見つからない。 |
| 400 | 誤った要求 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |
{
"schema_version": "v0.1",
"data": [
{
"results": {},
"metadata": null
}
],
"metadata": {
"chunk_timing": [
{
"start": "example",
"stop": "example",
"parts": [
{
"idx_item": 1,
"size": 1
}
]
}
]
}
}{
"description": "すべてのプログラムの結果出力。",
"oneOf": [
{
"description": "量子プログラムの実行結果。",
"properties": {
"schema_version": {
"default": "v0.1",
"description": "結果型のスキーマバージョン。",
"title": "スキーマ・バージョン",
"type": "string",
"enum": [
"v0.1"
]
},
"data": {
"description": "各量子プログラム項目に関する結果データ。",
"items": {
"description": "単一の量子プログラム項目に関する結果。",
"properties": {
"results": {
"additionalProperties": {
"description": "テンソルデータのモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"description": "テンソルのデータ型。",
"enum": [
"f64",
"bool",
"u8",
"c128"
],
"title": "DTYPE",
"type": "string"
}
},
"required": [
"data",
"shape",
"dtype"
],
"title": "TensorModel",
"type": "object"
},
"description": "結果からそのテンソル値への対応付け。",
"title": "結果",
"type": "object"
},
"metadata": {
"description": "この特定の量子プログラム項目の実行に関するメタデータ。",
"title": "メタデータ",
"nullable": true
}
},
"required": [
"results",
"metadata"
],
"title": "QuantumProgramResultItemModel",
"type": "object"
},
"title": "データ",
"type": "array"
},
"metadata": {
"description": "実行メタデータ。",
"properties": {
"chunk_timing": {
"description": "量子プログラムの実行済みチャンクすべてに関するタイミング情報。",
"items": {
"description": "単一の実行チャンクに関するタイミング情報。\n\n.. 注::\n\nこの期間には、回路以外の時間が多少含まれる場合があります。",
"properties": {
"start": {
"description": "実行チャンクの開始時刻(UTC)。",
"format": "date-time",
"title": "開始",
"type": "string"
},
"stop": {
"description": "実行チャンクの終了時刻(UTC)。",
"format": "date-time",
"title": "停止",
"type": "string"
},
"parts": {
"description": "このチャンクに量子プログラムのどの部分が含まれているかの説明。",
"items": {
"description": "実行チャンクの単一の部分の内容の説明。",
"properties": {
"idx_item": {
"description": "量子プログラム内の項目のインデックス。",
"title": "IDX項目",
"type": "integer"
},
"size": {
"description": "量子プログラム項目から実行された要素の数。\n\n例えば、ある量子プログラム項目が形状 を持つ場合、その項目には合計 `50`\n`(10, 5)`個の要素が含まれることになる。したがって、この `size` が である場合 `10`、それはその項目の総作業量の20%を占めることになる。",
"title": "サイズ",
"type": "integer"
}
},
"required": [
"idx_item",
"size"
],
"title": "ChunkPart",
"type": "object"
},
"title": "パーツ",
"type": "array"
}
},
"required": [
"start",
"stop",
"parts"
],
"title": "ChunkSpan",
"type": "object"
},
"title": "チャンクのタイミング",
"type": "array"
}
},
"required": [
"chunk_timing"
],
"title": "MetadataModel",
"type": "object"
}
},
"required": [
"data",
"metadata"
],
"title": "ExecutorV01QuantumProgramResultModel",
"type": "object"
},
{
"description": "量子プログラムの実行結果。",
"properties": {
"schema_version": {
"default": "v0.2",
"description": "結果型のスキーマバージョン。",
"title": "スキーマ・バージョン",
"type": "string",
"enum": [
"v0.2"
]
},
"data": {
"description": "各量子プログラム項目に関する結果データ。",
"items": {
"description": "単一の量子プログラム項目に関する結果。",
"properties": {
"results": {
"additionalProperties": {
"description": "テンソルデータのモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"description": "テンソルのデータ型。",
"enum": [
"f64",
"bool",
"u8",
"c128"
],
"title": "DTYPE",
"type": "string"
}
},
"required": [
"data",
"shape",
"dtype"
],
"title": "TensorModel",
"type": "object"
},
"description": "結果からそのテンソル値への対応付け。",
"title": "結果",
"type": "object"
},
"metadata": {
"description": "量子プログラムの結果に関する項目ごとのメタデータ。",
"properties": {
"scheduler_timing": {
"description": "スケジュールされた回路のタイミングについて説明します。\n\nすべてのタイミング情報は、制御電子回路の時間ステップ\nの`dt`持続時間の倍数として表されます。この値は、バックエンドおよびターゲットのプロパティで確認できます。",
"properties": {
"timing": {
"description": "カンマ区切りテキスト形式で記述された回路のタイミング情報。",
"title": "タイミング",
"type": "string"
},
"circuit_duration": {
"description": "このコースの所要時間をステップ `dt` 単位で。",
"title": "周回時間",
"type": "integer"
}
},
"required": [
"timing",
"circuit_duration"
],
"title": "SchedulerTimingModel",
"type": "object"
},
"stretch_values": {
"items": {
"description": "回路の伸長値の分解能について説明します。\n\nすべてのタイミング情報は、制御電子回路の時間ステップ\nの`dt`持続時間の倍数として表されます。この値は、バックエンドおよびターゲットのプロパティで確認できます。",
"properties": {
"name": {
"description": "区間の名称。",
"title": "名前",
"type": "string"
},
"value": {
"description": "余りを除いた、決定された伸長値(単位: `dt`)。",
"title": "値",
"type": "integer"
},
"remainder": {
"description": "各区間で `value` が使用された場合に残る時間は、単位で表すと `dt`。",
"title": "余り",
"type": "integer"
},
"expanded_values": {
"description": "各遅延の時刻と継続時間を示す `(time [int], duration [int])` 一連のペア。\n\nすべての単位は であり `dt`、ここで は回路スケジューラにおける `time` 遅延の絶対時間を表し、\nは遅延の総時間を `duration` 表す。",
"items": {
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"title": "拡張値",
"type": "array"
}
},
"required": [
"name",
"value",
"remainder",
"expanded_values"
],
"title": "StretchValueModel",
"type": "object"
},
"type": "array",
"nullable": true,
"default": null,
"description": "利用可能な場合は、ストレッチ値の解像度。",
"title": "ストレッチ値"
}
},
"title": "ItemMetadataModel",
"type": "object"
}
},
"required": [
"results",
"metadata"
],
"title": "QuantumProgramResultItemModel",
"type": "object"
},
"title": "データ",
"type": "array"
},
"metadata": {
"description": "実行メタデータ。",
"properties": {
"chunk_timing": {
"description": "量子プログラムの実行済みチャンクすべてに関するタイミング情報。",
"items": {
"description": "単一の実行チャンクに関するタイミング情報。\n\n.. 注::\n\nこの期間には、回路以外の時間が多少含まれる場合があります。",
"properties": {
"start": {
"description": "実行チャンクの開始時刻(UTC)。",
"format": "date-time",
"title": "開始",
"type": "string"
},
"stop": {
"description": "実行チャンクの終了時刻(UTC)。",
"format": "date-time",
"title": "停止",
"type": "string"
},
"parts": {
"description": "このチャンクに量子プログラムのどの部分が含まれているかの説明。",
"items": {
"description": "実行チャンクの単一の部分の内容の説明。",
"properties": {
"idx_item": {
"description": "量子プログラム内の項目のインデックス。",
"title": "IDX項目",
"type": "integer"
},
"size": {
"description": "量子プログラム項目から実行された要素の数。\n\n例えば、ある量子プログラム項目が形状 を持つ場合、その項目には合計 `50`\n`(10, 5)`個の要素が含まれることになる。したがって、この `size` が である場合 `10`、それはその項目の総作業量の20%を占めることになる。",
"title": "サイズ",
"type": "integer"
}
},
"required": [
"idx_item",
"size"
],
"title": "ChunkPart",
"type": "object"
},
"title": "パーツ",
"type": "array"
}
},
"required": [
"start",
"stop",
"parts"
],
"title": "ChunkSpan",
"type": "object"
},
"title": "チャンクのタイミング",
"type": "array"
}
},
"required": [
"chunk_timing"
],
"title": "MetadataModel",
"type": "object"
},
"passthrough_data": {
"anyOf": [
{
"items": "",
"type": "array"
},
{
"description": "テンソルデータのモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"description": "テンソルのデータ型。",
"enum": [
"f64",
"bool",
"u8",
"c128"
],
"title": "DTYPE",
"type": "string"
}
},
"required": [
"data",
"shape",
"dtype"
],
"title": "TensorModel",
"type": "object"
},
{
"additionalProperties": "",
"type": "object"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"nullable": true
}
},
"required": [
"data",
"metadata"
],
"title": "ExecutorV02QuantumProgramResultModel",
"type": "object"
},
{
"description": "量子プログラムの実行結果。",
"properties": {
"schema_version": {
"default": "v1.0",
"description": "結果型のスキーマバージョン。",
"title": "スキーマ・バージョン",
"type": "string",
"enum": [
"v1.0"
]
},
"data": {
"description": "各量子プログラム項目に関する結果データ。",
"items": {
"description": "単一の量子プログラム項目に関する結果。",
"properties": {
"results": {
"additionalProperties": {
"description": "テンソルデータのモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"description": "テンソルのデータ型。",
"enum": [
"f64",
"bool",
"u8",
"c128"
],
"title": "DTYPE",
"type": "string"
}
},
"required": [
"data",
"shape",
"dtype"
],
"title": "TensorModel",
"type": "object"
},
"description": "結果からそのテンソル値への対応付け。",
"title": "結果",
"type": "object"
},
"metadata": {
"description": "量子プログラムの結果に関する項目ごとのメタデータ。",
"properties": {
"scheduler_timing": {
"anyOf": [
{
"description": "スケジュールされた回路のタイミングについて説明します。\n\nすべてのタイミング情報は、制御電子回路の時間ステップ\nの`dt`持続時間の倍数として表されます。この値は、バックエンドおよびターゲットのプロパティで確認できます。",
"properties": {
"timing": {
"description": "カンマ区切りテキスト形式で記述された回路のタイミング情報。",
"title": "タイミング",
"type": "string"
},
"circuit_duration": {
"description": "このコースの所要時間をステップ `dt` 単位で。",
"title": "周回時間",
"type": "integer"
}
},
"required": [
"timing",
"circuit_duration"
],
"title": "執行者 v1.0 SchedulerTimingModel",
"type": "object"
}
],
"default": null,
"description": "予定されている回路のタイミング情報(入手可能な場合)。",
"nullable": true
},
"stretch_values": {
"default": null,
"description": "利用可能な場合は、ストレッチ値の解像度。",
"title": "ストレッチ値",
"items": {
"description": "回路の伸長値の分解能について説明します。\n\nすべてのタイミング情報は、制御電子回路の時間ステップ\nの`dt`持続時間の倍数として表されます。この値は、バックエンドおよびターゲットのプロパティで確認できます。",
"properties": {
"name": {
"description": "区間の名称。",
"title": "名前",
"type": "string"
},
"value": {
"description": "余りを除いた、決定された伸長値(単位: `dt`)。",
"title": "値",
"type": "integer"
},
"remainder": {
"description": "各区間で `value` が使用された場合に残る時間は、単位で表すと `dt`。",
"title": "余り",
"type": "integer"
},
"expanded_values": {
"description": "各遅延の発生時刻と継続時間を `(time, duration)` 示す一連のペア。\n\nすべての単位は であり `dt`、ここで は回路スケジューラにおける `time` 遅延の絶対時間を表し、\nは遅延の総時間を `duration` 表す。",
"items": {
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"title": "拡張値",
"type": "array"
}
},
"required": [
"name",
"value",
"remainder",
"expanded_values"
],
"title": "執行者 v1.0 StretchValueModel",
"type": "object"
},
"type": "array",
"nullable": true
}
},
"title": "執行者 v1.0 ItemMetadataModel",
"type": "object"
}
},
"required": [
"results",
"metadata"
],
"title": "執行者 v1.0 QuantumProgramResultItemModel",
"type": "object"
},
"title": "データ",
"type": "array"
},
"metadata": {
"description": "実行メタデータ。",
"properties": {
"chunk_timing": {
"description": "量子プログラムの実行済みチャンクすべてに関するタイミング情報。",
"items": {
"description": "単一の実行チャンクに関するタイミング情報。\n\n> **注:** この期間には、回路稼働時間以外の時間が多少含まれる場合があります。",
"properties": {
"start": {
"description": "実行チャンクの開始時刻(UTC)。",
"format": "date-time",
"title": "開始",
"type": "string"
},
"stop": {
"description": "実行チャンクの終了時刻(UTC)。",
"format": "date-time",
"title": "停止",
"type": "string"
},
"parts": {
"description": "このチャンクに量子プログラムのどの部分が含まれているかの説明。",
"items": {
"description": "実行チャンクの単一の部分の内容の説明。",
"properties": {
"idx_item": {
"description": "量子プログラム内の項目のインデックス。",
"title": "IDX項目",
"type": "integer"
},
"size": {
"description": "量子プログラム項目から実行された要素の数。\n\n例えば、ある量子プログラム項目が形状 を持つ場合、その項目には合計 `50`\n`(10, 5)`個の要素が含まれることになる。したがって、この `size` が である場合 `10`、それはその項目の総作業量の20%を占めることになる。",
"title": "サイズ",
"type": "integer"
},
"permutation": {
"description": "`element_range`. を使用して要素を切り出す前の、アイテム形状の順列ベクトル。\n\nこのリストには、0から始まる連続した整数が、何らかの順序で格納されている必要があります。 `i`慣例として、\nすべての次元指標 に対して `permuted_shape[i] = shape[permutation[i]]` 、",
"items": {
"type": "integer"
},
"title": "置換",
"type": "array"
},
"element_range": {
"description": "このチャンク部分では、アイテムのどの要素が実装されましたか。\n\nこの範囲には、\nが適用 `permutation` された後の、対応する量子プログラム項の平坦化された形状をスライス`(start_idx, stop_idx, step)`したエントリが含まれています。 つまり、\nこの部分は、\n対応する項目の形状と一致する形状を持つ`arr`あるデータ配列の\n`flatten(permute(arr))[start_idx:stop_idx:step]`データ要素に対応しています。 下付き添字は\n包含的であり、上付き添字は非包含的であり、また、その差は正でなければならない。\n\n`size == max(0, ceil((stop_idx - start_idx) / step))`…であるべきだ。",
"maxItems": 3,
"minItems": 3,
"title": "元素の範囲",
"type": "array"
}
},
"required": [
"idx_item",
"size",
"permutation",
"element_range"
],
"title": "執行者 v1.0 ChunkPart",
"type": "object"
},
"title": "パーツ",
"type": "array"
}
},
"required": [
"start",
"stop",
"parts"
],
"title": "執行者 v1.0 ChunkSpan",
"type": "object"
},
"title": "チャンクのタイミング",
"type": "array"
}
},
"required": [
"chunk_timing"
],
"title": "執行者 v1.0 MetadataModel",
"type": "object"
},
"passthrough_data": {
"anyOf": [
{
"items": "",
"type": "array"
},
{
"description": "テンソルデータのモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"description": "テンソルのデータ型。",
"enum": [
"f64",
"bool",
"u8",
"c128"
],
"title": "DTYPE",
"type": "string"
}
},
"required": [
"data",
"shape",
"dtype"
],
"title": "TensorModel",
"type": "object"
},
{
"additionalProperties": "",
"type": "object"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"nullable": true
},
"semantic_role": {
"default": null,
"description": "実行結果がランタイムクライアントによってどのように後処理されるかを示す意味的役割。\n\n予約済みのシステム値には「sampler-v2」および「estimator-v2」が含まれますが、これらは予告なく変更される場合があります サードパーティ製のクライアントはこの値を設定したり、これに依存したりしないでください。",
"title": "意味役割",
"type": "string",
"nullable": true
}
},
"required": [
"data",
"metadata"
],
"title": "執行者 v1.0 QuantumProgramResultModel",
"type": "object"
},
{
"description": "量子プログラムの実行結果。",
"properties": {
"schema_version": {
"default": "v1.1",
"description": "結果型のスキーマバージョン。",
"title": "スキーマ・バージョン",
"type": "string",
"enum": [
"v1.1"
]
},
"data": {
"description": "各量子プログラム項目に関する結果データ。",
"items": {
"description": "単一の量子プログラム項目に関する結果。",
"properties": {
"results": {
"additionalProperties": {
"description": "テンソルデータのモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"description": "テンソルのデータ型。",
"enum": [
"f64",
"bool",
"u8",
"c128"
],
"title": "DTYPE",
"type": "string"
}
},
"required": [
"data",
"shape",
"dtype"
],
"title": "TensorModel",
"type": "object"
},
"description": "結果からそのテンソル値への対応付け。",
"title": "結果",
"type": "object"
},
"metadata": {
"description": "量子プログラムの結果に関する項目ごとのメタデータ。",
"properties": {
"scheduler_timing": {
"anyOf": [
{
"description": "スケジュールされた回路のタイミングについて説明します。\n\nすべてのタイミング情報は、制御電子回路の時間ステップ\nの`dt`持続時間の倍数として表されます。この値は、バックエンドおよびターゲットのプロパティで確認できます。",
"properties": {
"timing": {
"description": "カンマ区切りテキスト形式で記述された回路のタイミング情報。",
"title": "タイミング",
"type": "string"
},
"circuit_duration": {
"description": "このコースの所要時間をステップ `dt` 単位で。",
"title": "周回時間",
"type": "integer"
}
},
"required": [
"timing",
"circuit_duration"
],
"title": "執行者 v1.1 SchedulerTimingModel",
"type": "object"
}
],
"default": null,
"description": "予定されている回路のタイミング情報(入手可能な場合)。",
"nullable": true
},
"stretch_values": {
"default": null,
"description": "利用可能な場合は、ストレッチ値の解像度。",
"title": "ストレッチ値",
"items": {
"description": "回路の伸長値の分解能について説明します。\n\nすべてのタイミング情報は、制御電子回路の時間ステップ\nの`dt`持続時間の倍数として表されます。この値は、バックエンドおよびターゲットのプロパティで確認できます。",
"properties": {
"name": {
"description": "区間の名称。",
"title": "名前",
"type": "string"
},
"value": {
"description": "余りを除いた、決定された伸長値(単位: `dt`)。",
"title": "値",
"type": "integer"
},
"remainder": {
"description": "各区間で `value` が使用された場合に残る時間は、単位で表すと `dt`。",
"title": "余り",
"type": "integer"
},
"expanded_values": {
"description": "各遅延の発生時刻と継続時間を `(time, duration)` 示す一連のペア。\n\nすべての単位は であり `dt`、ここで は回路スケジューラにおける `time` 遅延の絶対時間を表し、\nは遅延の総時間を `duration` 表す。",
"items": {
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"title": "拡張値",
"type": "array"
}
},
"required": [
"name",
"value",
"remainder",
"expanded_values"
],
"title": "執行者 v1.1 StretchValueModel",
"type": "object"
},
"type": "array",
"nullable": true
}
},
"title": "執行者 v1.1 ItemMetadataModel",
"type": "object"
}
},
"required": [
"results",
"metadata"
],
"title": "執行者 v1.1 QuantumProgramResultItemModel",
"type": "object"
},
"title": "データ",
"type": "array"
},
"metadata": {
"description": "実行メタデータ。",
"properties": {
"chunk_timing": {
"description": "量子プログラムの実行済みチャンクすべてに関するタイミング情報。",
"items": {
"description": "単一の実行チャンクに関するタイミング情報。\n\n> **注:** この期間には、回路稼働時間以外の時間が多少含まれる場合があります。",
"properties": {
"start": {
"description": "実行チャンクの開始時刻(UTC)。",
"format": "date-time",
"title": "開始",
"type": "string"
},
"stop": {
"description": "実行チャンクの終了時刻(UTC)。",
"format": "date-time",
"title": "停止",
"type": "string"
},
"parts": {
"description": "このチャンクに量子プログラムのどの部分が含まれているかの説明。",
"items": {
"description": "実行チャンクの単一の部分の内容の説明。",
"properties": {
"idx_item": {
"description": "量子プログラム内の項目のインデックス。",
"title": "IDX項目",
"type": "integer"
},
"size": {
"description": "量子プログラム項目から実行された要素の数。\n\n例えば、ある量子プログラム項目が形状 を持つ場合、その項目には合計 `50`\n`(10, 5)`個の要素が含まれることになる。したがって、この `size` が である場合 `10`、それはその項目の総作業量の20%を占めることになる。",
"title": "サイズ",
"type": "integer"
},
"permutation": {
"description": "`element_range`. を使用して要素を切り出す前の、アイテム形状の順列ベクトル。\n\nこのリストには、0から始まる連続した整数が、何らかの順序で格納されている必要があります。 `i`慣例として、\nすべての次元指標 に対して `permuted_shape[i] = shape[permutation[i]]` 、",
"items": {
"type": "integer"
},
"title": "置換",
"type": "array"
},
"element_range": {
"description": "このチャンク部分では、アイテムのどの要素が実装されましたか。\n\nこの範囲には、\nが適用 `permutation` された後の、対応する量子プログラム項の平坦化された形状をスライス`(start_idx, stop_idx, step)`したエントリが含まれています。 つまり、\nこの部分は、\n対応する項目の形状と一致する形状を持つ`arr`あるデータ配列の\n`flatten(permute(arr))[start_idx:stop_idx:step]`データ要素に対応しています。 下付き添字は\n包含的であり、上付き添字は非包含的であり、また、その差は正でなければならない。\n\n`size == max(0, ceil((stop_idx - start_idx) / step))`…であるべきだ。",
"maxItems": 3,
"minItems": 3,
"title": "元素の範囲",
"type": "array"
}
},
"required": [
"idx_item",
"size",
"permutation",
"element_range"
],
"title": "執行者 v1.1 ChunkPart",
"type": "object"
},
"title": "パーツ",
"type": "array"
}
},
"required": [
"start",
"stop",
"parts"
],
"title": "執行者 v1.1 ChunkSpan",
"type": "object"
},
"title": "チャンクのタイミング",
"type": "array"
}
},
"required": [
"chunk_timing"
],
"title": "執行者 v1.1 MetadataModel",
"type": "object"
},
"passthrough_data": {
"anyOf": [
{
"items": "",
"type": "array"
},
{
"description": "テンソルデータのモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"description": "テンソルのデータ型。",
"enum": [
"f64",
"bool",
"u8",
"c128"
],
"title": "DTYPE",
"type": "string"
}
},
"required": [
"data",
"shape",
"dtype"
],
"title": "TensorModel",
"type": "object"
},
{
"additionalProperties": "",
"type": "object"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"nullable": true
},
"semantic_role": {
"default": null,
"description": "実行結果がランタイムクライアントによってどのように後処理されるかを示す意味的役割。\n\n予約済みのシステム値には「sampler-v2」および「estimator-v2」が含まれますが、これらは予告なく変更される場合があります サードパーティ製のクライアントはこの値を設定したり、これに依存したりしないでください。",
"title": "意味役割",
"type": "string",
"nullable": true
}
},
"required": [
"data",
"metadata"
],
"title": "執行者 v1.1 QuantumProgramResultModel",
"type": "object"
},
{
"description": "ノイズ学習器 v3 ジョブの実行結果。",
"properties": {
"schema_version": {
"default": "v0.1",
"description": "結果型のスキーマバージョン。",
"title": "スキーマ・バージョン",
"type": "string",
"enum": [
"v0.1"
]
},
"data": {
"description": "各項目ごとの結果データ。",
"items": {
"description": "単一のノイズ学習者 V3 項目に関する結果。",
"properties": {
"generators_sparse": {
"description": "ジェネレータを疎形式で表現したもの。",
"items": {
"items": {
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"type": "array"
},
"title": "ジェネレータ(スパース)",
"type": "array"
},
"num_qubits": {
"description": "ジェネレータが作用する量子ビットの数。",
"title": "量子ビット数",
"type": "integer"
},
"rates": {
"description": "f64 向けに最適化されたテンソルデータモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"default": "f64",
"title": "DTYPE",
"type": "string",
"enum": [
"f64"
]
}
},
"required": [
"data",
"shape"
],
"title": "F64TensorModel",
"type": "object"
},
"rates_std": {
"description": "f64 向けに最適化されたテンソルデータモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"default": "f64",
"title": "DTYPE",
"type": "string",
"enum": [
"f64"
]
}
},
"required": [
"data",
"shape"
],
"title": "F64TensorModel",
"type": "object"
},
"metadata": {
"description": "単一の結果に関連する実行メタデータ。",
"discriminator": {
"mapping": {
"lindblad": "#/components/schemas/NoiseLearnerV3V01LinbdbladResultMetadataModel",
"trex": "#/components/schemas/NoiseLearnerV3V01TREXResultMetadataModel"
},
"propertyName": "learning_protocol"
},
"oneOf": [
{
"description": "ノイズ学習者 v3 ジョブの単一のTREX結果のメタデータ。",
"properties": {
"learning_protocol": {
"default": "trex",
"description": "この結果を得るために用いられた学習プロトコル。",
"title": "学習プロトコル",
"type": "string",
"enum": [
"trex"
]
},
"post_selection": {
"description": "ノイズ学習者 v3 ジョブの単一のTREX結果のポスト選択メタデータ。",
"properties": {
"fraction_kept": {
"description": "シュートの成功率。",
"maximum": 1,
"minimum": 0,
"title": "小数点以下切り上げ",
"type": "number"
}
},
"required": [
"fraction_kept"
],
"title": "TREXResultPostSelectionMetadataModel",
"type": "object"
}
},
"required": [
"post_selection"
],
"title": "TREXResultMetadataModel",
"type": "object"
},
{
"description": "ノイズ学習器 v3 ジョブの、単一のLindblad結果のメタデータ。",
"properties": {
"learning_protocol": {
"default": "lindblad",
"description": "この結果を得るために用いられた学習プロトコル。",
"title": "学習プロトコル",
"type": "string",
"enum": [
"lindblad"
]
},
"post_selection": {
"description": "ノイズ学習アルゴリズム「 v3 」ジョブにおける、単一のLinbdblad結果のポストセレクションメタデータ。",
"properties": {
"fraction_kept": {
"additionalProperties": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"description": "各レイヤーペアの深度ごとに保持されたショットの割合。",
"title": "小数点以下切り上げ",
"type": "object"
}
},
"required": [
"fraction_kept"
],
"title": "LinbdbladResultPostSelectionMetadataModel",
"type": "object"
}
},
"required": [
"post_selection"
],
"title": "LinbdbladResultMetadataModel",
"type": "object"
}
],
"title": "メタデータ"
}
},
"required": [
"generators_sparse",
"num_qubits",
"rates",
"rates_std",
"metadata"
],
"title": "NoiseLearnerV3ResultModel",
"type": "object"
},
"title": "データ",
"type": "array"
}
},
"required": [
"data"
],
"title": "NoiseLearnerV3 v0.1 NoiseLearnerV3ResultsModel",
"type": "object"
},
{
"description": "ノイズ学習器 v3 ジョブの実行結果。",
"properties": {
"schema_version": {
"default": "v0.2",
"description": "結果型のスキーマバージョン。",
"title": "スキーマ・バージョン",
"type": "string",
"enum": [
"v0.2"
]
},
"data": {
"description": "各項目ごとの結果データ。",
"items": {
"description": "単一のノイズ学習者 V3 項目に関する結果。",
"properties": {
"generators_sparse": {
"description": "ジェネレータを疎形式で表現したもの。",
"items": {
"items": {
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"type": "array"
},
"title": "ジェネレータ(スパース)",
"type": "array"
},
"num_qubits": {
"description": "ジェネレータが作用する量子ビットの数。",
"title": "量子ビット数",
"type": "integer"
},
"rates": {
"description": "f64 向けに最適化されたテンソルデータモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"default": "f64",
"title": "DTYPE",
"type": "string",
"enum": [
"f64"
]
}
},
"required": [
"data",
"shape"
],
"title": "F64TensorModel",
"type": "object"
},
"rates_std": {
"description": "f64 向けに最適化されたテンソルデータモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"default": "f64",
"title": "DTYPE",
"type": "string",
"enum": [
"f64"
]
}
},
"required": [
"data",
"shape"
],
"title": "F64TensorModel",
"type": "object"
},
"metadata": {
"description": "単一の結果に関連する実行メタデータ。",
"discriminator": {
"mapping": {
"lindblad": "#/components/schemas/NoiseLearnerV3V02LinbdbladResultMetadataModel",
"trex": "#/components/schemas/NoiseLearnerV3V02TREXResultMetadataModel"
},
"propertyName": "learning_protocol"
},
"oneOf": [
{
"description": "ノイズ学習者 v3 ジョブの単一のTREX結果のメタデータ。",
"properties": {
"learning_protocol": {
"default": "trex",
"description": "この結果を得るために用いられた学習プロトコル。",
"title": "学習プロトコル",
"type": "string",
"enum": [
"trex"
]
},
"post_selection": {
"description": "ノイズ学習者 v3 ジョブの単一のTREX結果のポスト選択メタデータ。",
"properties": {
"fraction_kept": {
"description": "シュートの成功率。",
"maximum": 1,
"minimum": 0,
"title": "小数点以下切り上げ",
"type": "number"
},
"success_rates": {
"additionalProperties": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"description": "ポスト選択によって各量子ビットが正常に反転したショットの割合。",
"title": "成功率",
"type": "object"
}
},
"required": [
"fraction_kept",
"success_rates"
],
"title": "TREXResultPostSelectionMetadataModel",
"type": "object"
}
},
"required": [
"post_selection"
],
"title": "TREXResultMetadataModel",
"type": "object"
},
{
"description": "ノイズ学習器 v3 ジョブの、単一のLindblad結果のメタデータ。",
"properties": {
"learning_protocol": {
"default": "lindblad",
"description": "この結果を得るために用いられた学習プロトコル。",
"title": "学習プロトコル",
"type": "string",
"enum": [
"lindblad"
]
},
"post_selection": {
"description": "ノイズ学習アルゴリズム「 v3 」ジョブにおける、単一のLinbdblad結果のポストセレクションメタデータ。",
"properties": {
"fraction_kept": {
"additionalProperties": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"description": "各レイヤーペアの深度ごとに保持されたショットの割合。",
"title": "小数点以下切り上げ",
"type": "object"
},
"success_rates": {
"additionalProperties": {
"additionalProperties": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"type": "object"
},
"description": "各層ペアの深さごとに、ポスト選択によって各量子ビットの位相が正常に反転したショットの割合",
"title": "成功率",
"type": "object"
}
},
"required": [
"fraction_kept",
"success_rates"
],
"title": "LinbdbladResultPostSelectionMetadataModel",
"type": "object"
}
},
"required": [
"post_selection"
],
"title": "LinbdbladResultMetadataModel",
"type": "object"
}
],
"title": "メタデータ"
}
},
"required": [
"generators_sparse",
"num_qubits",
"rates",
"rates_std",
"metadata"
],
"title": "NoiseLearnerV3ResultModel",
"type": "object"
},
"title": "データ",
"type": "array"
}
},
"required": [
"data"
],
"title": "NoiseLearnerV3 v0.2 NoiseLearnerV3ResultsModel",
"type": "object"
},
{
"description": "ノイズ学習器 v3 ジョブの実行結果。",
"properties": {
"schema_version": {
"default": "v0.3",
"description": "結果型のスキーマバージョン。",
"title": "スキーマ・バージョン",
"type": "string",
"enum": [
"v0.3"
]
},
"data": {
"description": "各項目ごとの結果データ。",
"items": {
"description": "単一のノイズ学習者 V3 項目に関する結果。",
"properties": {
"generators_sparse": {
"description": "ジェネレータを疎形式で表現したもの。",
"items": {
"items": {
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"type": "array"
},
"title": "ジェネレータ(スパース)",
"type": "array"
},
"num_qubits": {
"description": "ジェネレータが作用する量子ビットの数。",
"title": "量子ビット数",
"type": "integer"
},
"rates": {
"description": "f64 向けに最適化されたテンソルデータモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"default": "f64",
"title": "DTYPE",
"type": "string",
"enum": [
"f64"
]
}
},
"required": [
"data",
"shape"
],
"title": "F64TensorModel",
"type": "object"
},
"rates_std": {
"description": "f64 向けに最適化されたテンソルデータモデル。",
"properties": {
"data": {
"description": "Base-64-encoded リトルエンディアン形式のデータ。\n\nブール配列はビットパック形式で、その他の型は IEEE753 形式です。 すべてがリトルエンディアンです。\nテンソルはC順序を持つ。",
"title": "データ",
"type": "string"
},
"shape": {
"description": "テンソルの形状。",
"items": {
"type": "integer"
},
"title": "形",
"type": "array"
},
"dtype": {
"default": "f64",
"title": "DTYPE",
"type": "string",
"enum": [
"f64"
]
}
},
"required": [
"data",
"shape"
],
"title": "F64TensorModel",
"type": "object"
},
"metadata": {
"description": "単一の結果に関連する実行メタデータ。",
"discriminator": {
"mapping": {
"lindblad": "#/components/schemas/NoiseLearnerV3V03LinbdbladResultMetadataModel",
"trex": "#/components/schemas/NoiseLearnerV3V03TREXResultMetadataModel"
},
"propertyName": "learning_protocol"
},
"oneOf": [
{
"description": "ノイズ学習者 v3 ジョブの単一のTREX結果のメタデータ。",
"properties": {
"learning_protocol": {
"default": "trex",
"description": "この結果を得るために用いられた学習プロトコル。",
"title": "学習プロトコル",
"type": "string",
"enum": [
"trex"
]
},
"post_selection": {
"description": "ノイズ学習者 v3 ジョブの単一のTREX結果のポスト選択メタデータ。",
"properties": {
"fraction_kept": {
"description": "シュートの成功率。",
"maximum": 1,
"minimum": 0,
"title": "小数点以下切り上げ",
"type": "number"
},
"success_rates": {
"additionalProperties": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"description": "ポスト選択によって各量子ビットが正常に反転したショットの割合。",
"title": "成功率",
"type": "object"
}
},
"required": [
"fraction_kept",
"success_rates"
],
"title": "NoiseLearnerV3 v0.3 TREXResultPostSelectionMetadataModel",
"type": "object"
}
},
"required": [
"post_selection"
],
"title": "NoiseLearnerV3 v0.3 TREXResultMetadataModel",
"type": "object"
},
{
"description": "ノイズ学習器 v3 ジョブの、単一のLindblad結果のメタデータ。",
"properties": {
"learning_protocol": {
"default": "lindblad",
"description": "この結果を得るために用いられた学習プロトコル。",
"title": "学習プロトコル",
"type": "string",
"enum": [
"lindblad"
]
},
"post_selection": {
"description": "ノイズ学習アルゴリズム「 v3 」ジョブにおける、単一のLinbdblad結果のポストセレクションメタデータ。",
"properties": {
"fraction_kept": {
"additionalProperties": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"description": "各レイヤーペアの深度ごとに保持されたショットの割合。",
"title": "小数点以下切り上げ",
"type": "object"
},
"success_rates": {
"additionalProperties": {
"additionalProperties": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"type": "object"
},
"description": "各層ペアの深さごとに、ポスト選択によって各量子ビットの位相が正常に反転したショットの割合",
"title": "成功率",
"type": "object"
}
},
"required": [
"fraction_kept",
"success_rates"
],
"title": "NoiseLearnerV3 v0.3 LinbdbladResultPostSelectionMetadataModel",
"type": "object"
}
},
"required": [
"post_selection"
],
"title": "NoiseLearnerV3 v0.3 LinbdbladResultMetadataModel",
"type": "object"
}
],
"title": "メタデータ"
}
},
"required": [
"generators_sparse",
"num_qubits",
"rates",
"rates_std",
"metadata"
],
"title": "NoiseLearnerV3 v0.3 NoiseLearnerV3ResultModel",
"type": "object"
},
"title": "データ",
"type": "array"
}
},
"required": [
"data"
],
"title": "NoiseLearnerV3 v0.3 NoiseLearnerV3ResultsModel",
"type": "object"
},
{
"type": "string",
"description": "仕事の最終結果",
"title": "LegacyJobResults"
}
]
} ジョブ・タグの交換
ジョブ・タグの交換
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.job.update
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.job.update
入力
名前、タイプ | 説明 |
|---|---|
id 必須 string | ジョブID |
名前、タイプ | 説明 |
|---|---|
tags 必須 string[] | ジョブ・タグまたはプログラム・タグのリスト |
インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/tags
curl -X PUT \
'https://quantum.cloud.ibm.com/api/v1/jobs/{id}/tags' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Service-CRN: YOUR-SERVICE-CRN' \
-H 'IBM-API-Version: 2026-04-15' \
-H 'Content-Type: application/json' \
-d '{"tags":["example"]}' インスタンスが eu-de リージョンにある場合は、代わりにこちらの URL をご利用ください: https://eu-de.quantum.cloud.ibm.com/api/v1/jobs/{id}/tags
import requests
response = requests.request(
"PUT",
"https://quantum.cloud.ibm.com/api/v1/jobs/{id}/tags",
headers={
"Accept": "application/json",
"IBM-API-Version": "2026-04-15",
"Authorization": "Bearer YOUR-TOKEN",
"Service-CRN": "YOUR-SERVICE-CRN",
"Content-Type": "application/json"
},
data="{\"tags\":[\"example\"]}"
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 204 | 終了 |
| 401 | 認証されていません |
| 403 | 禁止 |
| 404 | 未検出 |