def registered_providers(): """Return the currently registered providers. .. deprecated:: 0.6+ After 0.6, this function is deprecated. Please use the methods in `qiskit.IBMQ` instead (`list_accounts()`). """ warnings.warn( 'registered_providers() will be deprecated after 0.6. Please ' 'use the qiskit.IBMQ.list_accounts() method instead.', DeprecationWarning) return IBMQ.list_accounts()