Skip to content

[DOCS] Explicitly list **kwargs in QasmModule.unroll function arg / docstring #89

Description

@ryanhill1

The QasmModule.unroll() method currently just specifies **kwargs in it's function argument:

def unroll(self, **kwargs):

On the surface, this seems like a convenient short-hand because these kwargs will be passed directly to the QasmVisitor.__init__ method. However, from the API reference docs page, this isn't clear:

Screenshot 2024-11-26 at 9 29 18 AM

Since the unroll method is public facing, it would be good to document the available kwargs explicitly so that users don't have to dig through the source code to track the kwargs through to initialization of QasmVisitor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions