app.openqasm3.rename ==================== .. py:module:: app.openqasm3.rename .. autoapi-nested-parse:: Helpers for renaming variables in an abstract syntax tree. Module Contents --------------- .. py:function:: simple_rename(node: simple_rename.TNode, renamings: dict[str, str]) -> simple_rename.TNode Renames variables in node according to the specified mapping. :param node: The node to rename variables in :param renamings: The variables to rename :return: The transformed node