Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

qiskit.utils.deprecate_arguments

deprecate_arguments(kwarg_map, category=<class 'DeprecationWarning'>, *, since=None)

GitHub

Deprecated. Instead, use @deprecate_arg.

Parameters

  • kwarg_map (Dict[str, str | None]) – A dictionary of the old argument name to the new name.
  • category (Type[Warning]) – Usually either DeprecationWarning or PendingDeprecationWarning.
  • since (str | None) – The version the deprecation started at. Only Optional for backwards compatibility - this should always be set. If the deprecation is pending, set the version to when that started; but later, when switching from pending to deprecated, update since to the new version.

Returns

The decorated callable.

Return type

Callable

Was this page helpful?
Report a bug or request content on GitHub.