Warning
The package qiskit-ibmq-provider
is being deprecated and its repo is going to be archived soon. Please transition to the new packages. More information in https://ibm.biz/provider_migration_guide
qiskit.providers.ibmq.utils.to_python_identifier
to_python_identifier(name)
Convert a name to a valid Python identifier.
Parameters
name (str
) – Name to be converted.
Return type
str
Returns
Name that is a valid Python identifier.
Was this page helpful?
Report a bug or request content on GitHub.