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.update_inst_map¶
- Calibrations.update_inst_map(schedules=None, qubits=None, group='default', cutoff_date=None, inst_map=None)[source]¶
Push all schedules from the Calibrations to the inst map.
This will create instructions with the same name as the schedules.
- Parameters:
schedules (
Optional
[Set
[str
]]) – The name of the schedules to update. If None is given then all schedules will be pushed to instructions.qubits (
Optional
[Tuple
[int
,...
]]) – The qubits for which to update the instruction schedule map. If qubits is None then all possible schedules defined by the coupling map will be updated. Note that this argument specifies a particular set of qubits to update instructions for. For example, if qubits is(2, 3)
then only two-qubit instructions that apply to qubits 2 and 3 will be updated. Here, single-qubit instructions will not be updated.group (
Optional
[str
]) – The calibration group from which to draw the parameters. If not specified this defaults to the ‘default’ group.cutoff_date (
Optional
[datetime
]) – Retrieve the most recent parameter up until the cutoff date. Parameters generated after the cutoff date will be ignored. If the cutoff_date is None then all parameters are considered. This allows users to discard more recent values that may be erroneous.inst_map (
Optional
[InstructionScheduleMap
]) – The instruction schedule map to update. If None is given then the default instruction schedule map (i.e. self._inst_map) will be updated.