diff --git a/qiskit_ibm_runtime/ibm_backend.py b/qiskit_ibm_runtime/ibm_backend.py index 4d950dc39..7a65e9971 100644 --- a/qiskit_ibm_runtime/ibm_backend.py +++ b/qiskit_ibm_runtime/ibm_backend.py @@ -85,11 +85,6 @@ class IBMBackend(Backend): * target: A :class:`qiskit.transpiler.Target` object for the backend. * basis_gates: list of basis gates names on the backend. * gates: list of basis gates on the backend. - * local: backend is local or remote. - * simulator: backend is a simulator. - * conditional: backend supports conditional operations. - * open_pulse: backend supports open pulse. - * memory: backend supports memory. * coupling_map (list): The coupling map for the device * supported_instructions (List[str]): Instructions supported by the backend. * dynamic_reprate_enabled (bool): whether delay between primitives can be set dynamically @@ -133,12 +128,9 @@ class IBMBackend(Backend): * online_date (datetime): The date that the device went online * display_name (str): Alternate name field for the backend * description (str): A description for the backend - * tags (list): A list of string tags to describe the backend * version: version of ``Backend`` class (Ex: 1, 2) * channels: An optional dictionary containing information of each channel -- their purpose, type, and qubits operated on. - * parametric_pulses (list): A list of pulse shapes which are supported on the backend. - For example: ``['gaussian', 'constant']`` * processor_type (dict): Processor type for this backend. A dictionary of the form ``{"family": , "revision": , segment: }`` such as ``{"family": "Canary", "revision": "1.0", segment: "A"}``. @@ -420,9 +412,6 @@ def configuration( `Qiskit/ibm-quantum-schemas/backend_configuration `_. - More details about backend configuration properties can be found here `QasmBackendConfiguration - `_. - IBM backends may also include the following properties: * ``supported_features``: a list of strings of supported features like "qasm3" for dynamic circuits support. diff --git a/qiskit_ibm_runtime/models/backend_configuration.py b/qiskit_ibm_runtime/models/backend_configuration.py index 66ba313b7..c820bc9bf 100644 --- a/qiskit_ibm_runtime/models/backend_configuration.py +++ b/qiskit_ibm_runtime/models/backend_configuration.py @@ -188,20 +188,7 @@ def __repr__(self) -> str: class QasmBackendConfiguration: - """Class representing an OpenQASM 2.0 Backend Configuration. - - Attributes: - backend_name: backend name. - backend_version: backend version in the form X.Y.Z. - n_qubits: number of qubits. - basis_gates: list of basis gates names on the backend. - gates: list of basis gates on the backend. - local: backend is local or remote. - simulator: backend is a simulator. - conditional: backend supports conditional operations. - open_pulse: backend supports open pulse. - memory: backend supports memory. - """ + """Class representing an OpenQASM 2.0 Backend Configuration.""" _data: Dict[Any, Any] = {} @@ -212,12 +199,12 @@ def __init__( n_qubits: int, basis_gates: list, gates: list, - local: bool, - simulator: bool, - conditional: bool, - open_pulse: bool, - memory: bool, coupling_map: list, + memory: bool = True, + open_pulse: bool = False, + conditional: bool = False, + simulator: bool = False, + local: bool = False, meas_levels: List[int] = None, meas_kernels: List[str] = None, discriminators: List[str] = None, @@ -256,7 +243,7 @@ def __init__( conditional (bool): True if the backend supports conditional operations open_pulse (bool): True if the backend supports OpenPulse - memory (bool): True if the backend supports memory + memory (bool): True if the is able to retrieve measurement results from individual shots. coupling_map (list): The coupling map for the device meas_levels: Supported measurement levels. meas_kernels: Supported measurement kernels.