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.calibration_parameter

Calibrations.calibration_parameter(parameter_name, qubits=None, schedule_name=None)[source]

Return a parameter given its keys.

Returns a Parameter object given the triplet parameter_name, qubits and schedule_name which uniquely determine the context of a parameter.

Parameters:
  • parameter_name (str) – Name of the parameter to get.

  • qubits (Union[int, Tuple[int, ...], None]) – The qubits to which this parameter belongs. If qubits is None then the default scope is assumed and the key will be an empty tuple.

  • schedule_name (Optional[str]) – The name of the schedule to which this parameter belongs. A parameter may not belong to a schedule in which case None is accepted.

Returns:

The parameter that corresponds to the given arguments.

Return type:

calibration parameter

Raises:

CalibrationError – If the desired parameter is not found.