백엔드
백엔드 목록 가져오기
직접 접근이 가능한 백엔드 목록을 반환합니다.
권한 부여
이 메소드를 호출하려면 다음 조치를 포함하는 하나 이상의 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"
}백엔드 세부 정보 확인
백엔드의 세부 정보를 반환합니다.
권한 부여
이 메소드를 호출하려면 다음 조치를 포함하는 하나 이상의 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"
}백엔드 구성 가져오기
백엔드의 구성을 반환합니다.
권한 부여
이 메소드를 호출하려면 다음 조치를 포함하는 하나 이상의 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) X n_registers의 배열로, 게이트에 대한 레지스터 지연 조건부 연산을 (1 - 빠른, 0 - 느린)으로 지정합니다"
},
"description": {
"type": "string",
"description": "게이트 작동 설명"
}
}
},
"minItems": 0
},
"local": {
"type": "boolean",
"description": "백엔드는 로컬 또는 원격입니다 (참/거짓)"
},
"simulator": {
"type": "boolean",
"description": "백엔드는 시뮬레이터입니다 (참/거짓)",
"default": false
},
"conditional": {
"type": "boolean",
"description": "백엔드는 조건부 연산(참/거짓)을 지원합니다",
"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\\_qubits X n\\_registers 차원의 배열로, 특정 레지스터 슬롯에 큐비트가 측정을 저장할 수 있는지 여부를 지정합니다"
},
"configurable": {
"type": "boolean",
"description": "백엔드는 구성 가능하며, 백엔드가 시뮬레이터인 경우 (true/false)",
"default": false
},
"credits_required": {
"type": "boolean",
"description": "백엔드에서 작업을 실행하려면 크레딧이 필요합니다 (참/거짓)",
"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": "큐비트 LO의 주파수 범위",
"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\\_qubits x n\\_registers 차원의 배열. 큐비트 n의 측정 결과를 레지스터 슬롯 m에 기록하는 데 걸리는 지연 시간(단위: dt).",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
}
},
"conditional_latency": {
"type": "array",
"minItems": 1,
"description": "n_channels 차원의 배열 [d->u->m] x 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) X 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) X n_registers의 배열로, 게이트에 대한 레지스터 지연 조건부 연산을 (1 - 빠른, 0 - 느린)으로 지정합니다"
},
"description": {
"type": "string",
"description": "게이트 작동 설명"
}
}
},
"minItems": 0
},
"local": {
"type": "boolean",
"description": "백엔드는 로컬 또는 원격입니다 (참/거짓)"
},
"simulator": {
"type": "boolean",
"description": "백엔드는 시뮬레이터입니다 (참/거짓)",
"default": false
},
"conditional": {
"type": "boolean",
"description": "백엔드는 조건부 연산(참/거짓)을 지원합니다",
"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\\_qubits X n\\_registers 차원의 배열로, 특정 레지스터 슬롯에 큐비트가 측정을 저장할 수 있는지 여부를 지정합니다"
},
"configurable": {
"type": "boolean",
"description": "백엔드는 구성 가능하며, 백엔드가 시뮬레이터인 경우 (true/false)",
"default": false
},
"credits_required": {
"type": "boolean",
"description": "백엔드에서 작업을 실행하려면 크레딧이 필요합니다 (참/거짓)",
"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": "큐비트 LO의 주파수 범위",
"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\\_qubits x n\\_registers 차원의 배열. 큐비트 n의 측정 결과를 레지스터 슬롯 m에 기록하는 데 걸리는 지연 시간(단위: dt).",
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "integer"
}
}
},
"conditional_latency": {
"type": "array",
"minItems": 1,
"description": "n_channels 차원의 배열 [d->u->m] x 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) X n_registers의 배열로, 게이트에 대한 레지스터 지연 조건부 연산을 (1 - 빠른, 0 - 느린)으로 지정합니다"
},
"description": {
"type": "string",
"description": "게이트 작동 설명"
}
}
},
"minItems": 0
},
"local": {
"type": "boolean",
"description": "백엔드는 로컬 또는 원격입니다 (참/거짓)"
},
"simulator": {
"type": "boolean",
"description": "백엔드는 시뮬레이터입니다 (참/거짓)",
"default": false
},
"conditional": {
"type": "boolean",
"description": "백엔드는 조건부 연산(참/거짓)을 지원합니다",
"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\\_qubits X n\\_registers 차원의 배열로, 특정 레지스터 슬롯에 큐비트가 측정을 저장할 수 있는지 여부를 지정합니다"
},
"configurable": {
"type": "boolean",
"description": "백엔드는 구성 가능하며, 백엔드가 시뮬레이터인 경우 (true/false)",
"default": false
},
"credits_required": {
"type": "boolean",
"description": "백엔드에서 작업을 실행하려면 크레딧이 필요합니다 (참/거짓)",
"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": "큐비트 LO의 주파수 범위",
"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
]
}
}
}
]
}
]
}백엔드 레인 구성 가져오기
지정된 백엔드의 실행 레인 구성을 가져옵니다.
권한 부여
이 메소드를 호출하려면 다음 조치를 포함하는 하나 이상의 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"
}백엔드 속성 가져오기
백엔드의 속성을 반환합니다.
권한 부여
이 메소드를 호출하려면 다음 조치를 포함하는 하나 이상의 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"
}