バックエンド
バックエンドのリストを取得する
直接アクセスが有効なバックエンドのリストを返します。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.direct-access-backend.list
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.direct-access-backend.list
入力
情報 |
|---|
| このエンドポイントは入力を受け付けません。 |
curl -X GET \
'<YOUR_QSA_URL>/v1/backends' \
-H 'Accept: application/json'import requests
response = requests.request(
"GET",
"<YOUR_QSA_URL>/v1/backends",
headers={
"Accept": "application/json"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | バックエンドが正常に取得されたときに返されます。 |
| 401 | 認証に失敗したため返却されました。 |
{
"backends": [
{
"locked": true,
"message": "example",
"name": "ibm_bromont",
"status": "online",
"version": "1.0.0"
}
]
}{
"additionalProperties": false,
"properties": {
"backends": {
"description": "直接アクセス可能なバックエンド名のリスト。",
"items": {
"additionalProperties": false,
"properties": {
"locked": {
"description": "バックエンドが有効な予約によってロックされているかどうか。 オンラインバックエンドでのみ利用可能です。",
"type": "boolean"
},
"message": {
"description": "バックエンドの状態に関する追加情報。",
"type": "string"
},
"name": {
"description": "バックエンド名",
"examples": [
"ibm_bromont"
],
"type": "string"
},
"status": {
"description": "オンライン(ジョブ送信可能)、オフライン(ジョブ送信不可)、一時停止(ジョブ送信不可)。",
"enum": [
"online",
"offline",
"paused"
],
"examples": [
"online"
],
"type": "string"
},
"version": {
"description": "バックエンドのバージョン",
"examples": [
"1.0.0"
],
"type": "string"
}
},
"required": [
"name",
"status"
],
"type": "object"
},
"type": [
"array",
"null"
]
}
},
"required": [
"backends"
],
"type": "object"
}バックエンドの詳細を取得する
バックエンドの詳細を返します。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.direct-access-backend.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.direct-access-backend.read
入力
名前、タイプ | 説明 |
|---|---|
backend-name 必須 string | 例: "ibm_bromont" |
curl -X GET \
'<YOUR_QSA_URL>/v1/backends/{backend-name}' \
-H 'Accept: application/json'import requests
response = requests.request(
"GET",
"<YOUR_QSA_URL>/v1/backends/{backend-name}",
headers={
"Accept": "application/json"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | バックエンドの詳細が正常に取得されたときに返されます。 |
| 401 | 認証に失敗したため返却されました。 |
| 404 | バックエンドが見つからない場合に返されます。 |
{
"locked": true,
"message": "example",
"name": "ibm_bromont",
"status": "online",
"version": "1.0.0"
}{
"additionalProperties": false,
"properties": {
"locked": {
"description": "バックエンドが有効な予約によってロックされているかどうか。 オンラインバックエンドでのみ利用可能です。",
"type": "boolean"
},
"message": {
"description": "バックエンドの状態に関する追加情報。",
"type": "string"
},
"name": {
"description": "バックエンド名",
"examples": [
"ibm_bromont"
],
"type": "string"
},
"status": {
"description": "オンライン(ジョブ送信可能)、オフライン(ジョブ送信不可)、一時停止(ジョブ送信不可)。",
"enum": [
"online",
"offline",
"paused"
],
"examples": [
"online"
],
"type": "string"
},
"version": {
"description": "バックエンドのバージョン",
"examples": [
"1.0.0"
],
"type": "string"
}
},
"required": [
"name",
"status"
],
"type": "object"
}バックエンド設定を取得する
バックエンドの設定を返します。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.direct-access-backend-configuration.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.direct-access-backend-configuration.read
入力
名前、タイプ | 説明 |
|---|---|
backend-name 必須 string | 例: "ibm_bromont" |
curl -X GET \
'<YOUR_QSA_URL>/v1/backends/{backend-name}/configuration' \
-H 'Accept: application/json'import requests
response = requests.request(
"GET",
"<YOUR_QSA_URL>/v1/backends/{backend-name}/configuration",
headers={
"Accept": "application/json"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | バックエンド設定の取得に成功したときに返されます。 |
| 401 | 認証に失敗したため返却されました。 |
| 404 | バックエンドが見つからない場合に返されます。 |
{
"backend_name": "example",
"sample_name": "example",
"backend_version": "example",
"n_qubits": 1,
"basis_gates": [
"example"
],
"coupling_map": [
[
1
]
],
"gates": [
{
"name": "example",
"parameters": [
"example"
],
"coupling_map": [
[
1
]
],
"qasm_def": "example",
"conditional": true,
"latency_map": [
[
0
]
],
"description": "example"
}
],
"local": true,
"simulator": true,
"conditional": true,
"memory": true,
"max_shots": 1,
"max_experiments": 1,
"n_registers": 1,
"register_map": [
[
0
]
],
"configurable": true,
"credits_required": true,
"online_date": "example",
"display_name": "example",
"description": "example",
"tags": [
"credits_required"
],
"rep_delay_range": [
[
1
]
],
"default_rep_delay": 1,
"dynamic_reprate_enabled": true,
"measure_esp_enabled": true,
"supported_instructions": [
"example"
],
"supported_features": [
"example"
],
"quantum_volume": 1,
"processor_type": {
"family": "example",
"revision": "example",
"segment": "example"
},
"qubit_lo_range": [
[
1
]
],
"meas_lo_range": [
[
1
]
],
"timing_constraints": {
"granularity": 1,
"min_length": 1,
"pulse_alignment": 1,
"acquire_alignment": 1
},
"open_pulse": true,
"n_uchannels": 1,
"hamiltonian": {
"h_latex": "example",
"h_str": [
"example"
],
"vars": {},
"osc": {}
},
"u_channel_lo": [
[
{
"q": 1,
"scale": [
1
]
}
]
],
"meas_levels": [
1
],
"dt": 1,
"dtm": 1,
"rep_times": [
1
],
"meas_map": [
[
1
]
],
"channel_bandwidth": [
[
1
]
],
"meas_kernels": [
"example"
],
"discriminators": [
"example"
],
"acquisition_latency": [
[
1
]
],
"conditional_latency": [
[
1
]
],
"parametric_pulses": [
"example"
],
"channels": {}
}{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://www.qiskit.org/schemas/backend_config_schema.json",
"description": "Qiskit デバイスバックエンド設定",
"version": "1.6.0",
"definitions": {
"hamiltonian": {
"type": "object",
"description": "バックエンドのハミルトニアン",
"required": [
"h_latex"
],
"properties": {
"h_latex": {
"type": "string",
"description": "ラテックス形式のハミルトニアン"
},
"h_str": {
"type": "array",
"items": {
"type": "string"
},
"description": "機械可読形式のハミルトニアン"
},
"vars": {
"type": "object",
"description": "h\\_str内の変数"
},
"osc": {
"type": "object",
"description": "各発振器モードのレベル数"
}
}
},
"coreconfig": {
"type": "object",
"required": [
"backend_name",
"backend_version",
"n_qubits",
"basis_gates",
"gates",
"local",
"simulator",
"conditional",
"memory",
"max_shots"
],
"properties": {
"backend_name": {
"type": "string",
"description": "バックエンド名"
},
"sample_name": {
"type": "string",
"description": "サンプル名"
},
"backend_version": {
"type": "string",
"pattern": "[0-9]+.[0-9]+.[0-9]+$",
"description": "X.X.X の形式のバックエンドバージョン"
},
"n_qubits": {
"type": "integer",
"description": "量子ビット数",
"minimum": 1,
"default": 1
},
"basis_gates": {
"type": "array",
"description": "バックエンドにおける基本ゲート名のリスト",
"items": {
"type": "string"
},
"minItems": 0
},
"coupling_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
},
"description": "バックエンド上で物理的に結合された量子ビットを配列でグループ化"
},
"gates": {
"type": "array",
"description": "バックエンド上の基本ゲート一覧",
"items": {
"type": "object",
"required": [
"name",
"parameters",
"qasm_def"
],
"properties": {
"name": {
"type": "string",
"description": "QASMで参照されるゲート名"
},
"parameters": {
"type": "array",
"minItems": 0,
"items": {
"type": "string"
},
"description": "ゲートパラメータの変数名(存在する場合)"
},
"coupling_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
},
"description": "このゲートによって結合される量子ビットのグループ一覧"
},
"qasm_def": {
"type": "string",
"description": "QASMプリミティブUおよびCXを用いたこのゲートの定義"
},
"conditional": {
"type": "boolean",
"description": "この指定されたゲートは条件付き操作(真/偽)をサポートします。 これを指定しない場合、ゲートはバックエンドの条件付きプロパティを継承します。",
"default": false
},
"latency_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"enum": [
0,
1
]
}
},
"description": "len(coupling_map) × n_registers 次元の配列で、ゲート上のレジスタレイテンシ条件付き操作を (1 - 高速, 0 - 低速) で指定する"
},
"description": {
"type": "string",
"description": "ゲートの動作説明"
}
}
},
"minItems": 0
},
"local": {
"type": "boolean",
"description": "バックエンドはローカルまたはリモート(true/false)"
},
"simulator": {
"type": "boolean",
"description": "バックエンドはシミュレーターである(真/偽)",
"default": false
},
"conditional": {
"type": "boolean",
"description": "バックエンドは条件付き操作(true/false)をサポートします",
"default": false
},
"memory": {
"type": "boolean",
"description": "バックエンドはメモリをサポートします (true/false)",
"default": false
},
"max_shots": {
"type": "integer",
"description": "サポートされる最大ショット数",
"minimum": 1
},
"max_experiments": {
"type": "integer",
"description": "サポートされる実験の最大数",
"minimum": 1
},
"n_registers": {
"type": "integer",
"description": "フィードバック用に利用可能なレジスタスロットの数(条件式が真の場合)",
"minimum": 1,
"default": 1
},
"register_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"enum": [
0,
1
]
}
},
"description": "n個の量子ビット×n個のレジスタからなる配列で、量子ビットが特定のレジスタスロットに測定結果を格納できるかどうかを指定する"
},
"configurable": {
"type": "boolean",
"description": "バックエンドは設定可能であり、バックエンドがシミュレータであるかどうか(true/false)",
"default": false
},
"credits_required": {
"type": "boolean",
"description": "バックエンドはジョブを実行するためにクレジットを必要とします(true/false)",
"default": false
},
"online_date": {
"type": "string",
"format": "date-time",
"description": "バックエンドがオンラインになった日付"
},
"display_name": {
"type": "string",
"description": "バックエンド用の別名フィールド"
},
"description": {
"type": "string",
"description": "バックエンドの説明"
},
"tags": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"examples": [
"credits_required"
]
}
},
"rep_delay_range": {
"type": "array",
"minItems": 0,
"description": "バックエンドが許容するプログラム間の遅延時間範囲(マイクロ秒)",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"minimum": 0
}
}
},
"default_rep_delay": {
"type": "number",
"description": "デフォルトの返信遅延。",
"minimum": 0
},
"dynamic_reprate_enabled": {
"type": "boolean",
"description": "プログラム間の遅延を'rep\\_delay'を使用して動的に設定できるかどうか。",
"default": false
},
"measure_esp_enabled": {
"type": "boolean",
"description": "ESPの読み取りがバックエンドでサポートされているかどうか。",
"default": false
},
"supported_instructions": {
"type": "array",
"minItems": 0,
"description": "バックエンドによってサポートされている指示。",
"items": {
"type": "string"
}
},
"supported_features": {
"type": "array",
"minItems": 0,
"description": "バックエンドがサポートする機能の配列(例:qobj、 qasm3 など)",
"items": {
"type": "string"
}
},
"quantum_volume": {
"type": "integer",
"description": "バックエンド量子体積",
"minimum": 1
},
"processor_type": {
"type": "object",
"required": [
"family",
"revision"
],
"properties": {
"family": {
"type": "string",
"description": "プロセッサファミリーは量子チップのアーキテクチャを示す"
},
"revision": {
"type": "string",
"description": "リビジョン番号は、特定のプロセッサファミリー内の設計バリエーションを反映します。 通常はパッチ値を除いたセマンティックバージョニングの値であり、例えば「 1.0 」などである。"
},
"segment": {
"type": "string",
"description": "セグメントは、指定されている場合、量子ビットファブリック/チップの異なるサブセットを区別するために使用される"
}
}
},
"qubit_lo_range": {
"type": "array",
"minItems": 1,
"description": "量子ビットの低周波発振器の周波数範囲",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"meas_lo_range": {
"type": "array",
"minItems": 1,
"description": "測定用LOの周波数範囲",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"timing_constraints": {
"type": "object",
"properties": {
"granularity": {
"type": "integer",
"description": "波形メモリデータチャンクサイズ"
},
"min_length": {
"type": "integer",
"description": "パルスを定義するために必要な最小サンプル数"
},
"pulse_alignment": {
"type": "integer",
"description": "パルスチャネルの時間分解能を単位dtでトリガーする指令"
},
"acquire_alignment": {
"type": "integer",
"description": "取得チャネルの時間分解能を単位dtでトリガーする指令"
}
}
}
}
},
"openpulse_config": {
"required": [
"open_pulse",
"n_uchannels",
"hamiltonian",
"u_channel_lo",
"meas_levels",
"qubit_lo_range",
"meas_lo_range",
"dt",
"dtm",
"rep_times",
"meas_kernels",
"discriminators"
],
"properties": {
"open_pulse": {
"enum": [
true
],
"description": "バックエンドは openPulse をサポートします(true/false)"
},
"n_uchannels": {
"type": "integer",
"description": "追加制御チャネル数",
"minimum": 0
},
"hamiltonian": {
"type": "object",
"required": [
"h_latex"
],
"description": "バックエンドのハミルトニアン",
"properties": {
"h_latex": {
"type": "string",
"description": "ラテックス形式のハミルトニアン"
},
"h_str": {
"type": "array",
"items": {
"type": "string"
},
"description": "機械可読形式のハミルトニアン"
},
"vars": {
"type": "object",
"description": "h\\_str内の変数"
},
"osc": {
"type": "object",
"description": "各発振器モードのレベル数"
}
}
},
"u_channel_lo": {
"type": "array",
"minItems": 0,
"description": "Uチャネル低周波信号(LO)と量子ビット低周波信号(LO)の関係",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"q": {
"type": "integer"
},
"scale": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "number"
}
]
}
}
}
}
}
},
"meas_levels": {
"type": "array",
"minItems": 1,
"maxitems": 3,
"description": "バックエンドで利用可能な測定レベル",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 2
}
},
"dt": {
"type": "number",
"description": "駆動チャンネルおよびUチャンネルの時間離散化",
"minimum": 0
},
"dtm": {
"type": "number",
"description": "測定チャネルの時間離散化",
"minimum": 0
},
"rep_times": {
"type": "array",
"minItems": 1,
"description": "バックエンドがサポートするプログラム実行時間(マイクロ秒)",
"items": {
"type": "number",
"minimum": 0
}
},
"meas_map": {
"type": "array",
"minItems": 1,
"description": "多重化された測定のグループ化",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer",
"minimum": 0
}
}
},
"channel_bandwidth": {
"type": "array",
"minItems": 2,
"description": "全チャネルの帯域幅(量子ビット、測定、U)",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"meas_kernels": {
"type": "array",
"minItems": 1,
"description": "利用可能な測定カーネル",
"items": {
"type": "string"
}
},
"discriminators": {
"type": "array",
"minItems": 1,
"description": "利用可能な識別子",
"items": {
"type": "string"
}
},
"acquisition_latency": {
"type": "array",
"minItems": 1,
"description": "n量子ビット×nレジスタの配列。 量子ビット n からレジスタスロット m へ測定結果を書き込むまでのレイテンシ(単位:dt)",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
}
},
"conditional_latency": {
"type": "array",
"minItems": 1,
"description": "n_channels次元配列 [d→u→m] × n_registers レジスタスロット m からチャネル n に対する条件付き操作を実行するまでのレイテンシ(単位:dt)",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "number"
}
}
},
"parametric_pulses": {
"type": "array",
"minItems": 0,
"description": "利用可能なパラメトリックパルス形状の一覧",
"items": {
"type": "string"
}
},
"channels": {
"type": "object",
"patternProperties": {
"^[a-z0-9]+$": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"purpose": {
"type": "string"
},
"operates": {
"type": "object",
"properties": {
"qubits": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
}
}
}
}
}
}
},
"description": "各エントリがチャネル構成を表し、チャネルの量子ビットへのマッピングなどの設定値を含む辞書。"
}
}
},
"gateconfig": {
"type": "object",
"required": [
"name",
"parameters",
"qasm_def"
],
"properties": {
"name": {
"type": "string",
"description": "QASMで参照されるゲート名"
},
"parameters": {
"type": "array",
"minItems": 0,
"items": {
"type": "string"
},
"description": "ゲートパラメータの変数名(存在する場合)"
},
"coupling_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
},
"description": "このゲートによって結合される量子ビットのグループ一覧"
},
"qasm_def": {
"type": "string",
"description": "QASMプリミティブUおよびCXを用いたこのゲートの定義"
},
"conditional": {
"type": "boolean",
"description": "この指定されたゲートは条件付き操作(真/偽)をサポートします。 これを指定しない場合、ゲートはバックエンドの条件付きプロパティを継承します。",
"default": false
},
"latency_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"enum": [
0,
1
]
}
},
"description": "len(coupling_map) × n_registers 次元の配列で、ゲート上のレジスタレイテンシ条件付き操作を (1 - 高速, 0 - 低速) で指定する"
},
"description": {
"type": "string",
"description": "ゲートの動作説明"
}
}
},
"complexnumber": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "number"
}
]
}
}
},
"oneOf": [
{
"allOf": [
{
"type": "object",
"required": [
"backend_name",
"backend_version",
"n_qubits",
"basis_gates",
"gates",
"local",
"simulator",
"conditional",
"memory",
"max_shots"
],
"properties": {
"backend_name": {
"type": "string",
"description": "バックエンド名"
},
"sample_name": {
"type": "string",
"description": "サンプル名"
},
"backend_version": {
"type": "string",
"pattern": "[0-9]+.[0-9]+.[0-9]+$",
"description": "X.X.X の形式のバックエンドバージョン"
},
"n_qubits": {
"type": "integer",
"description": "量子ビット数",
"minimum": 1,
"default": 1
},
"basis_gates": {
"type": "array",
"description": "バックエンドにおける基本ゲート名のリスト",
"items": {
"type": "string"
},
"minItems": 0
},
"coupling_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
},
"description": "バックエンド上で物理的に結合された量子ビットを配列でグループ化"
},
"gates": {
"type": "array",
"description": "バックエンド上の基本ゲート一覧",
"items": {
"type": "object",
"required": [
"name",
"parameters",
"qasm_def"
],
"properties": {
"name": {
"type": "string",
"description": "QASMで参照されるゲート名"
},
"parameters": {
"type": "array",
"minItems": 0,
"items": {
"type": "string"
},
"description": "ゲートパラメータの変数名(存在する場合)"
},
"coupling_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
},
"description": "このゲートによって結合される量子ビットのグループ一覧"
},
"qasm_def": {
"type": "string",
"description": "QASMプリミティブUおよびCXを用いたこのゲートの定義"
},
"conditional": {
"type": "boolean",
"description": "この指定されたゲートは条件付き操作(真/偽)をサポートします。 これを指定しない場合、ゲートはバックエンドの条件付きプロパティを継承します。",
"default": false
},
"latency_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"enum": [
0,
1
]
}
},
"description": "len(coupling_map) × n_registers 次元の配列で、ゲート上のレジスタレイテンシ条件付き操作を (1 - 高速, 0 - 低速) で指定する"
},
"description": {
"type": "string",
"description": "ゲートの動作説明"
}
}
},
"minItems": 0
},
"local": {
"type": "boolean",
"description": "バックエンドはローカルまたはリモート(true/false)"
},
"simulator": {
"type": "boolean",
"description": "バックエンドはシミュレーターである(真/偽)",
"default": false
},
"conditional": {
"type": "boolean",
"description": "バックエンドは条件付き操作(true/false)をサポートします",
"default": false
},
"memory": {
"type": "boolean",
"description": "バックエンドはメモリをサポートします (true/false)",
"default": false
},
"max_shots": {
"type": "integer",
"description": "サポートされる最大ショット数",
"minimum": 1
},
"max_experiments": {
"type": "integer",
"description": "サポートされる実験の最大数",
"minimum": 1
},
"n_registers": {
"type": "integer",
"description": "フィードバック用に利用可能なレジスタスロットの数(条件式が真の場合)",
"minimum": 1,
"default": 1
},
"register_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"enum": [
0,
1
]
}
},
"description": "n個の量子ビット×n個のレジスタからなる配列で、量子ビットが特定のレジスタスロットに測定結果を格納できるかどうかを指定する"
},
"configurable": {
"type": "boolean",
"description": "バックエンドは設定可能であり、バックエンドがシミュレータであるかどうか(true/false)",
"default": false
},
"credits_required": {
"type": "boolean",
"description": "バックエンドはジョブを実行するためにクレジットを必要とします(true/false)",
"default": false
},
"online_date": {
"type": "string",
"format": "date-time",
"description": "バックエンドがオンラインになった日付"
},
"display_name": {
"type": "string",
"description": "バックエンド用の別名フィールド"
},
"description": {
"type": "string",
"description": "バックエンドの説明"
},
"tags": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"examples": [
"credits_required"
]
}
},
"rep_delay_range": {
"type": "array",
"minItems": 0,
"description": "バックエンドが許容するプログラム間の遅延時間範囲(マイクロ秒)",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"minimum": 0
}
}
},
"default_rep_delay": {
"type": "number",
"description": "デフォルトの返信遅延。",
"minimum": 0
},
"dynamic_reprate_enabled": {
"type": "boolean",
"description": "プログラム間の遅延を'rep\\_delay'を使用して動的に設定できるかどうか。",
"default": false
},
"measure_esp_enabled": {
"type": "boolean",
"description": "ESPの読み取りがバックエンドでサポートされているかどうか。",
"default": false
},
"supported_instructions": {
"type": "array",
"minItems": 0,
"description": "バックエンドによってサポートされている指示。",
"items": {
"type": "string"
}
},
"supported_features": {
"type": "array",
"minItems": 0,
"description": "バックエンドがサポートする機能の配列(例:qobj、 qasm3 など)",
"items": {
"type": "string"
}
},
"quantum_volume": {
"type": "integer",
"description": "バックエンド量子体積",
"minimum": 1
},
"processor_type": {
"type": "object",
"required": [
"family",
"revision"
],
"properties": {
"family": {
"type": "string",
"description": "プロセッサファミリーは量子チップのアーキテクチャを示す"
},
"revision": {
"type": "string",
"description": "リビジョン番号は、特定のプロセッサファミリー内の設計バリエーションを反映します。 通常はパッチ値を除いたセマンティックバージョニングの値であり、例えば「 1.0 」などである。"
},
"segment": {
"type": "string",
"description": "セグメントは、指定されている場合、量子ビットファブリック/チップの異なるサブセットを区別するために使用される"
}
}
},
"qubit_lo_range": {
"type": "array",
"minItems": 1,
"description": "量子ビットの低周波発振器の周波数範囲",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"meas_lo_range": {
"type": "array",
"minItems": 1,
"description": "測定用LOの周波数範囲",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"timing_constraints": {
"type": "object",
"properties": {
"granularity": {
"type": "integer",
"description": "波形メモリデータチャンクサイズ"
},
"min_length": {
"type": "integer",
"description": "パルスを定義するために必要な最小サンプル数"
},
"pulse_alignment": {
"type": "integer",
"description": "パルスチャネルの時間分解能を単位dtでトリガーする指令"
},
"acquire_alignment": {
"type": "integer",
"description": "取得チャネルの時間分解能を単位dtでトリガーする指令"
}
}
}
}
},
{
"required": [
"open_pulse",
"n_uchannels",
"hamiltonian",
"u_channel_lo",
"meas_levels",
"qubit_lo_range",
"meas_lo_range",
"dt",
"dtm",
"rep_times",
"meas_kernels",
"discriminators"
],
"properties": {
"open_pulse": {
"enum": [
true
],
"description": "バックエンドは openPulse をサポートします(true/false)"
},
"n_uchannels": {
"type": "integer",
"description": "追加制御チャネル数",
"minimum": 0
},
"hamiltonian": {
"type": "object",
"required": [
"h_latex"
],
"description": "バックエンドのハミルトニアン",
"properties": {
"h_latex": {
"type": "string",
"description": "ラテックス形式のハミルトニアン"
},
"h_str": {
"type": "array",
"items": {
"type": "string"
},
"description": "機械可読形式のハミルトニアン"
},
"vars": {
"type": "object",
"description": "h\\_str内の変数"
},
"osc": {
"type": "object",
"description": "各発振器モードのレベル数"
}
}
},
"u_channel_lo": {
"type": "array",
"minItems": 0,
"description": "Uチャネル低周波信号(LO)と量子ビット低周波信号(LO)の関係",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"q": {
"type": "integer"
},
"scale": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "number"
}
]
}
}
}
}
}
},
"meas_levels": {
"type": "array",
"minItems": 1,
"maxitems": 3,
"description": "バックエンドで利用可能な測定レベル",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 2
}
},
"dt": {
"type": "number",
"description": "駆動チャンネルおよびUチャンネルの時間離散化",
"minimum": 0
},
"dtm": {
"type": "number",
"description": "測定チャネルの時間離散化",
"minimum": 0
},
"rep_times": {
"type": "array",
"minItems": 1,
"description": "バックエンドがサポートするプログラム実行時間(マイクロ秒)",
"items": {
"type": "number",
"minimum": 0
}
},
"meas_map": {
"type": "array",
"minItems": 1,
"description": "多重化された測定のグループ化",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer",
"minimum": 0
}
}
},
"channel_bandwidth": {
"type": "array",
"minItems": 2,
"description": "全チャネルの帯域幅(量子ビット、測定、U)",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"meas_kernels": {
"type": "array",
"minItems": 1,
"description": "利用可能な測定カーネル",
"items": {
"type": "string"
}
},
"discriminators": {
"type": "array",
"minItems": 1,
"description": "利用可能な識別子",
"items": {
"type": "string"
}
},
"acquisition_latency": {
"type": "array",
"minItems": 1,
"description": "n量子ビット×nレジスタの配列。 量子ビット n からレジスタスロット m へ測定結果を書き込むまでのレイテンシ(単位:dt)",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
}
},
"conditional_latency": {
"type": "array",
"minItems": 1,
"description": "n_channels次元配列 [d→u→m] × n_registers レジスタスロット m からチャネル n に対する条件付き操作を実行するまでのレイテンシ(単位:dt)",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "number"
}
}
},
"parametric_pulses": {
"type": "array",
"minItems": 0,
"description": "利用可能なパラメトリックパルス形状の一覧",
"items": {
"type": "string"
}
},
"channels": {
"type": "object",
"patternProperties": {
"^[a-z0-9]+$": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"purpose": {
"type": "string"
},
"operates": {
"type": "object",
"properties": {
"qubits": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
}
}
}
}
}
}
},
"description": "各エントリがチャネル構成を表し、チャネルの量子ビットへのマッピングなどの設定値を含む辞書。"
}
}
}
]
},
{
"allOf": [
{
"type": "object",
"required": [
"backend_name",
"backend_version",
"n_qubits",
"basis_gates",
"gates",
"local",
"simulator",
"conditional",
"memory",
"max_shots"
],
"properties": {
"backend_name": {
"type": "string",
"description": "バックエンド名"
},
"sample_name": {
"type": "string",
"description": "サンプル名"
},
"backend_version": {
"type": "string",
"pattern": "[0-9]+.[0-9]+.[0-9]+$",
"description": "X.X.X の形式のバックエンドバージョン"
},
"n_qubits": {
"type": "integer",
"description": "量子ビット数",
"minimum": 1,
"default": 1
},
"basis_gates": {
"type": "array",
"description": "バックエンドにおける基本ゲート名のリスト",
"items": {
"type": "string"
},
"minItems": 0
},
"coupling_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
},
"description": "バックエンド上で物理的に結合された量子ビットを配列でグループ化"
},
"gates": {
"type": "array",
"description": "バックエンド上の基本ゲート一覧",
"items": {
"type": "object",
"required": [
"name",
"parameters",
"qasm_def"
],
"properties": {
"name": {
"type": "string",
"description": "QASMで参照されるゲート名"
},
"parameters": {
"type": "array",
"minItems": 0,
"items": {
"type": "string"
},
"description": "ゲートパラメータの変数名(存在する場合)"
},
"coupling_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
},
"description": "このゲートによって結合される量子ビットのグループ一覧"
},
"qasm_def": {
"type": "string",
"description": "QASMプリミティブUおよびCXを用いたこのゲートの定義"
},
"conditional": {
"type": "boolean",
"description": "この指定されたゲートは条件付き操作(真/偽)をサポートします。 これを指定しない場合、ゲートはバックエンドの条件付きプロパティを継承します。",
"default": false
},
"latency_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"enum": [
0,
1
]
}
},
"description": "len(coupling_map) × n_registers 次元の配列で、ゲート上のレジスタレイテンシ条件付き操作を (1 - 高速, 0 - 低速) で指定する"
},
"description": {
"type": "string",
"description": "ゲートの動作説明"
}
}
},
"minItems": 0
},
"local": {
"type": "boolean",
"description": "バックエンドはローカルまたはリモート(true/false)"
},
"simulator": {
"type": "boolean",
"description": "バックエンドはシミュレーターである(真/偽)",
"default": false
},
"conditional": {
"type": "boolean",
"description": "バックエンドは条件付き操作(true/false)をサポートします",
"default": false
},
"memory": {
"type": "boolean",
"description": "バックエンドはメモリをサポートします (true/false)",
"default": false
},
"max_shots": {
"type": "integer",
"description": "サポートされる最大ショット数",
"minimum": 1
},
"max_experiments": {
"type": "integer",
"description": "サポートされる実験の最大数",
"minimum": 1
},
"n_registers": {
"type": "integer",
"description": "フィードバック用に利用可能なレジスタスロットの数(条件式が真の場合)",
"minimum": 1,
"default": 1
},
"register_map": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 1,
"items": {
"enum": [
0,
1
]
}
},
"description": "n個の量子ビット×n個のレジスタからなる配列で、量子ビットが特定のレジスタスロットに測定結果を格納できるかどうかを指定する"
},
"configurable": {
"type": "boolean",
"description": "バックエンドは設定可能であり、バックエンドがシミュレータであるかどうか(true/false)",
"default": false
},
"credits_required": {
"type": "boolean",
"description": "バックエンドはジョブを実行するためにクレジットを必要とします(true/false)",
"default": false
},
"online_date": {
"type": "string",
"format": "date-time",
"description": "バックエンドがオンラインになった日付"
},
"display_name": {
"type": "string",
"description": "バックエンド用の別名フィールド"
},
"description": {
"type": "string",
"description": "バックエンドの説明"
},
"tags": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"examples": [
"credits_required"
]
}
},
"rep_delay_range": {
"type": "array",
"minItems": 0,
"description": "バックエンドが許容するプログラム間の遅延時間範囲(マイクロ秒)",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"minimum": 0
}
}
},
"default_rep_delay": {
"type": "number",
"description": "デフォルトの返信遅延。",
"minimum": 0
},
"dynamic_reprate_enabled": {
"type": "boolean",
"description": "プログラム間の遅延を'rep\\_delay'を使用して動的に設定できるかどうか。",
"default": false
},
"measure_esp_enabled": {
"type": "boolean",
"description": "ESPの読み取りがバックエンドでサポートされているかどうか。",
"default": false
},
"supported_instructions": {
"type": "array",
"minItems": 0,
"description": "バックエンドによってサポートされている指示。",
"items": {
"type": "string"
}
},
"supported_features": {
"type": "array",
"minItems": 0,
"description": "バックエンドがサポートする機能の配列(例:qobj、 qasm3 など)",
"items": {
"type": "string"
}
},
"quantum_volume": {
"type": "integer",
"description": "バックエンド量子体積",
"minimum": 1
},
"processor_type": {
"type": "object",
"required": [
"family",
"revision"
],
"properties": {
"family": {
"type": "string",
"description": "プロセッサファミリーは量子チップのアーキテクチャを示す"
},
"revision": {
"type": "string",
"description": "リビジョン番号は、特定のプロセッサファミリー内の設計バリエーションを反映します。 通常はパッチ値を除いたセマンティックバージョニングの値であり、例えば「 1.0 」などである。"
},
"segment": {
"type": "string",
"description": "セグメントは、指定されている場合、量子ビットファブリック/チップの異なるサブセットを区別するために使用される"
}
}
},
"qubit_lo_range": {
"type": "array",
"minItems": 1,
"description": "量子ビットの低周波発振器の周波数範囲",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"meas_lo_range": {
"type": "array",
"minItems": 1,
"description": "測定用LOの周波数範囲",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
},
"timing_constraints": {
"type": "object",
"properties": {
"granularity": {
"type": "integer",
"description": "波形メモリデータチャンクサイズ"
},
"min_length": {
"type": "integer",
"description": "パルスを定義するために必要な最小サンプル数"
},
"pulse_alignment": {
"type": "integer",
"description": "パルスチャネルの時間分解能を単位dtでトリガーする指令"
},
"acquire_alignment": {
"type": "integer",
"description": "取得チャネルの時間分解能を単位dtでトリガーする指令"
}
}
}
}
},
{
"required": [
"open_pulse"
],
"properties": {
"open_pulse": {
"enum": [
false
]
}
}
}
]
}
]
}バックエンドレーンの設定を取得する
指定されたバックエンドの実行レーンの構成を取得します。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.direct-access-lane-configuration.list
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.direct-access-lane-configuration.list
入力
名前、タイプ | 説明 |
|---|---|
backend-name 必須 string |
curl -X GET \
'<YOUR_QSA_URL>/v1/backends/{backend-name}/lanes' \
-H 'Accept: application/json'import requests
response = requests.request(
"GET",
"<YOUR_QSA_URL>/v1/backends/{backend-name}/lanes",
headers={
"Accept": "application/json"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | バックエンド実行レーンの設定。 と `hpc_workload_manager.lanes` の `ibm_quantum_compute.lanes` 合計は、1 から指定されたバックエンドで許可される最大レーン数までの範囲(両端を含む)でなければなりません。 |
| 401 | 認証に失敗したため返却されました。 |
| 404 | バックエンドが見つからない場合に返されます。 |
{
"hpc_workload_manager": {
"lanes": 1
},
"ibm_quantum_compute": {
"lanes": 1
}
}{
"additionalProperties": false,
"properties": {
"hpc_workload_manager": {
"additionalProperties": false,
"properties": {
"lanes": {
"format": "int64",
"type": "integer"
}
},
"required": [
"lanes"
],
"type": "object"
},
"ibm_quantum_compute": {
"additionalProperties": false,
"properties": {
"lanes": {
"format": "int64",
"type": "integer"
}
},
"required": [
"lanes"
],
"type": "object"
}
},
"required": [
"hpc_workload_manager",
"ibm_quantum_compute"
],
"type": "object"
}バックエンドのプロパティを取得する
バックエンドのプロパティを返します。
許可
このメソッドを呼び出すには、以下のアクションを含む1つ以上のIAMアクセス・ロールが割り当てられている必要があります。 アクセス状況を確認するには、次に移動してください。 Users > User > Access
quantum-computing.direct-access-backend-properties.read
監査
このメソッドを呼び出すと、以下の監査イベントが生成されます。
quantum-computing.direct-access-backend-properties.read
入力
名前、タイプ | 説明 |
|---|---|
backend-name 必須 string | 例: "ibm_bromont" |
curl -X GET \
'<YOUR_QSA_URL>/v1/backends/{backend-name}/properties' \
-H 'Accept: application/json'import requests
response = requests.request(
"GET",
"<YOUR_QSA_URL>/v1/backends/{backend-name}/properties",
headers={
"Accept": "application/json"
},
)
print(response.json())出力
状況コード | 説明 |
|---|---|
| 200 | バックエンドのプロパティが正常に取得されたときに返されます。 |
| 401 | 認証に失敗したため返却されました。 |
| 404 | バックエンドが見つからない場合に返されます。 |
{
"backend_name": "example",
"backend_version": "example",
"gates": [
{
"gate": "example",
"parameters": [
{
"date": "example",
"name": "example",
"unit": "example",
"value": 1
}
],
"qubits": [
1
]
}
],
"general": [
{
"date": "example",
"name": "example",
"unit": "example",
"value": 1
}
],
"last_update_date": "example",
"qubits": [
[
{
"date": "example",
"name": "example",
"unit": "example",
"value": 1
}
]
]
}{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://www.qiskit.org/schemas/backend_props_schema.json",
"description": "OpenQuantum バックエンドプロパティスキーマ",
"version": "1.0.0",
"definitions": {
"gate": {
"properties": {
"gate": {
"type": "string"
},
"parameters": {
"items": {
"description": "記録されたパラメータを名前-日付-単位-値として",
"properties": {
"date": {
"format": "date-time",
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"name",
"date",
"unit",
"value"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"qubits": {
"items": {
"type": "integer"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"qubits",
"gate",
"parameters"
],
"type": "object"
},
"general_parameters": {
"description": "一般システムパラメータ",
"items": {
"description": "記録されたパラメータを名前-日付-単位-値として",
"properties": {
"date": {
"format": "date-time",
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"name",
"date",
"unit",
"value"
],
"type": "object"
},
"minItems": 0,
"type": "array"
},
"nduv": {
"description": "記録されたパラメータを名前-日付-単位-値として",
"properties": {
"date": {
"format": "date-time",
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"name",
"date",
"unit",
"value"
],
"type": "object"
}
},
"properties": {
"backend_name": {
"description": "バックエンド名",
"type": "string"
},
"backend_version": {
"description": "X.X.X の形式のバックエンドバージョン",
"pattern": "[0-9]+.[0-9]+.[0-9]+$",
"type": "string"
},
"gates": {
"description": "システムゲートパラメータ",
"items": {
"properties": {
"gate": {
"type": "string"
},
"parameters": {
"items": {
"description": "記録されたパラメータを名前-日付-単位-値として",
"properties": {
"date": {
"format": "date-time",
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"name",
"date",
"unit",
"value"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"qubits": {
"items": {
"type": "integer"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"qubits",
"gate",
"parameters"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"general": {
"description": "一般システムパラメータ",
"items": {
"description": "記録されたパラメータを名前-日付-単位-値として",
"properties": {
"date": {
"format": "date-time",
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"name",
"date",
"unit",
"value"
],
"type": "object"
},
"minItems": 0,
"type": "array"
},
"last_update_date": {
"description": "プロパティが最後に更新された日時。",
"format": "date-time",
"type": "string"
},
"qubits": {
"description": "システム量子ビットパラメータ",
"items": {
"items": {
"description": "記録されたパラメータを名前-日付-単位-値として",
"properties": {
"date": {
"format": "date-time",
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"name",
"date",
"unit",
"value"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"backend_name",
"backend_version",
"last_update_date",
"qubits",
"gates",
"general"
],
"type": "object"
}