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

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

Test if a template schedule is defined

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:

bool

Returns:

True if a template exists for the schedule name for the given qubits