Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

Calibrations.from_backend

classmethod Calibrations.from_backend(backend, libraries=None, add_parameter_defaults=True)[source]

Create an instance of Calibrations from a backend.

Parameters:
  • backend (Backend) – A backend instance from which to extract the qubit and readout frequencies (which will be added as first guesses for the corresponding parameters) as well as the coupling map.

  • libraries (Optional[List[BasisGateLibrary]]) – A list of libraries from which to get template schedules to register as well as default parameter values.

  • add_parameter_defaults (bool) – A boolean to indicate whether the default parameter values of the given library should be used to populate the calibrations. By default this value is True.

Return type:

Calibrations

Returns:

An instance of Calibrations instantiated from a backend.