Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions qiskit_ibm_runtime/ibm_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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": <str>, "revision": <str>, segment: <str>}`` such as
``{"family": "Canary", "revision": "1.0", segment: "A"}``.
Expand Down Expand Up @@ -420,9 +412,6 @@ def configuration(
`Qiskit/ibm-quantum-schemas/backend_configuration
<https://github.com/Qiskit/ibm-quantum-schemas/blob/main/schemas/backend_configuration_schema.json>`_.

More details about backend configuration properties can be found here `QasmBackendConfiguration
<https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.providers.models.QasmBackendConfiguration>`_.

IBM backends may also include the following properties:
* ``supported_features``: a list of strings of supported features like "qasm3" for dynamic
circuits support.
Expand Down
27 changes: 7 additions & 20 deletions qiskit_ibm_runtime/models/backend_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QasmBackendConfiguration isn't actually documented live anywhere from qiskit-ibm-runtime - it was last live in https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.providers.models.QasmBackendConfiguration as a part of the Qiskit docs.

Removing the attributes here because they're repeated down below.


_data: Dict[Any, Any] = {}

Expand All @@ -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,
Expand Down Expand Up @@ -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.
Expand Down