BackendData¶
- class BackendData(backend)[source]¶
Class for providing joint interface for accessing backend data
Inits the backend and verifies version
Attributes
- acquire_alignment¶
Returns the backend’s time constraint acquire alignment
- coupling_map¶
Returns the backend’s coupling map
- drive_freqs¶
Returns the backend’s qubit drive frequencies
- dt¶
Returns the backend’s input time resolution
- granularity¶
Returns the backend’s time constraint granularity
- is_simulator¶
Returns True given an indication the backend is a simulator
Note
For BackendV2 we sometimes cannot be sure, because it lacks a simulator field, as was present in BackendV1’s configuration. We still check whether the backend inherits FakeBackendV2, for either of its existing implementations in Qiskit.
Deprecated since version 0.6: The property
qiskit_experiments.framework.backend_data.BackendData.is_simulator
is deprecated as of qiskit-experiments 0.6. It will be removed no earlier than 3 months after the release date. is_simulator is deprecated because BackendV2 does not provide a standard way for checking this property. Calling code must determine if a backend uses a simulator from context.
- max_circuits¶
Returns the backend’s max experiments value
- meas_freqs¶
Returns the backend’s measurement stimulus frequencies.
Note
The qiskit base classes do not provide this information as a standard backend property, but it is available from some providers in the data returned by the
Backend.defaults()
method.
- min_length¶
Returns the backend’s time constraint minimum duration
- name¶
Returns the backend name
- num_qubits¶
Returns the backend’s number of qubits
- provider¶
Returns the backend’s provider
- pulse_alignment¶
Returns the backend’s time constraint pulse alignment
- version¶
Returns the backend’s version
Methods