qbraid.programs.unregister_program_type

unregister_program_type(alias, raise_error=True)[source]

Unregisters the program type associated with the given alias.

Parameters:
  • alias (str) – The alias to unregister.

  • raise_error (bool) – If True, raises KeyError if the alias is not found. Defaults to True.

Raises:

KeyError – If the alias is not registered and raise_error is True.

Return type:

None