Skip to content

Cleanup qupulse.program's __init__ #907

@shumpohl

Description

@shumpohl

The __init__.py of qupulse.program contains several class definitions and the number grew over time. This easily leads to circular imports when new features are added. Therefore, we will

  • rename SimpleExpression to DynamicValue and move it to the new module qupulse.program.values. The rename is to make clear that it is supposed to act as a value-like object and not an expression like object.
  • Move ProgramBuilder and Program protocols to qupulse.program.protocol following the example set by the qupulse.expression sub-package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions