Skip to main content
IBM Quantum Platform

BackendConfiguration

class BackendConfiguration(backend_name, backend_version, n_qubits, basis_gates, gates, local, simulator, conditional, open_pulse, memory, coupling_map, meas_levels=None, meas_kernels=None, discriminators=None, meas_map=None, supported_instructions=None, dynamic_reprate_enabled=False, rep_delay_range=None, default_rep_delay=None, sample_name=None, n_registers=None, register_map=None, configurable=None, credits_required=None, online_date=None, display_name=None, description=None, tags=None, dt=None, dtm=None, processor_type=None, parametric_pulses=None, **kwargs)

GitHub

베이스: QasmBackendConfiguration

추상적인 백엔드 구성을 나타내는 역방향 호환 심입니다.


속성

매개변수

  • backend_name (str)
  • backend_version (str)
  • n_qubits (int)
  • basis_gates (list)
  • gates (list)
  • local (bool)
  • simulator (bool)
  • conditional (bool)
  • open_pulse (bool)
  • memory (bool)
  • coupling_map (list)
  • meas_levels (list[int] | None)
  • meas_kernels (list[str] | None)
  • discriminators (list[str] | None)
  • meas_map (list | None)
  • supported_instructions (list[str] | None)
  • dynamic_reprate_enabled (bool)
  • rep_delay_range (list[float] | None)
  • default_rep_delay (float | None)
  • sample_name (str | None)
  • n_registers (int | None)
  • register_map (list | None)
  • configurable (bool | None)
  • credits_required (bool | None)
  • online_date (datetime.datetime | None)
  • display_name (str | None)
  • description (str | None)
  • tags (list | None)
  • dt (float | None)
  • dtm (float | None)
  • processor_type (dict | None)
  • parametric_pulses (list | None)
  • kwargs (Any)

num_qubits

큐비트 수를 반환합니다.

앞으로 키스킷 전체에서 일관되게 사용하기 위해 n_쿼비트를 num_쿼비트로 대체해야 합니다. 이 프로퍼티는 제대로 리팩토링될 때까지 중간 해결책으로 사용됩니다.


메소드

from_dict

classmethod from_dict(data)

GitHub

사전에서 GateConfig 개체를 새로 만듭니다.

매개변수

data (dict[str, Any]) – 생성할 GateConfig 를 나타내는 딕셔너리입니다. 이는. to_dict()에서 출력되는 형식과 동일할 것입니다.

리턴

입력 사전의 GateConfig.

리턴 유형

QasmBackendConfigurationT

to_dict

to_dict()

GitHub

GateConfig 의 사전 형식 표현을 반환합니다.

리턴

GateConfig 의 사전 형식입니다.

리턴 유형

딕셔너리 [str, Any]

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.