-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What is the expected feature or enhancement?
IBMBackend
configuration currently requires these fields to be present when retrieving data from the server:
qiskit-ibm-runtime/qiskit_ibm_runtime/models/backend_configuration.py
Lines 210 to 220 in 6f9148a
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, |
This data model was originally created for generic QPUs. Now that it's for IBM Quantum backends only, some of the fields no longer make sense and should not be required:
- local (should default to false)
- simulator (should default to false)
- conditional
- open_pulse (should default to false)
- memory - Ideally this would be renamed to something more intuitive, but that's probably too much work. At the very least the description should be clearer than "backend supports memory" lol
In addition, the docstring here says
Here is list of attributes available on the ``IBMBackend`` class: |
which is not accurate. tags
, for example, is not an attribute of IBMBackend
. Some of the other attributes, such as parametric_pulses
are no longer relevant and should be removed.
Acceptance criteria
- Remove backend configuration data that is no longer relevant from the docstring
- Make required fields that are no longer relevant optional, so the server can stop reporting them.
kt474
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request