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

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

Get a template schedule.

Allows the user to get a template schedule that was previously registered. A template schedule will typically be fully parametric, i.e. all pulse parameters and channel indices are represented by Parameter.

Parameters:
  • schedule_name (str) – The name of the template schedule.

  • qubits (Optional[Tuple[int, ...]]) – The qubits under which the template schedule was registered.

Return type:

ScheduleBlock

Returns:

The registered template schedule.

Raises:

CalibrationError – If no template schedule for the given schedule name and qubits was registered.