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.add_parameter_value¶
- Calibrations.add_parameter_value(value, param, qubits=None, schedule=None, update_inst_map=True)[source]¶
Add a parameter value to the stored parameters.
This parameter value may be applied to several channels, for instance, all DRAG pulses may have the same standard deviation.
- Parameters:
value (
Union
[int
,float
,complex
,ParameterValue
]) – The value of the parameter to add. If an int, float, or complex is given then the timestamp of the parameter value will automatically be generated and set to the current local time of the user.param (
Union
[Parameter
,str
]) – The parameter or its name for which to add the measured value.qubits (
Union
[int
,Tuple
[int
,...
],None
]) – The qubits to which this parameter applies.schedule (
Union
[ScheduleBlock
,str
,None
]) – The schedule or its name for which to add the measured parameter value.update_inst_map (
bool
) – Update the instruction schedule map if True (the default).
- Raises:
CalibrationError – If the schedule name is given but no schedule with that name exists.