English
Languages
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.providers.ibmq.utils.to_python_identifier

to_python_identifier(name)[source]

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.