Skip to content

Apply gate limits automatically #35

Open
@fretchen

Description

@fretchen

What is the expected behavior?

For most (every?) gates there is some periodicity involved. The best example are the RLXGate and its cousins. For them it would be great to have automatic modulos applied at some stage, but I am not sure where.

  • Ideally it would come directly with the gate as anyone implementing the RLXGate would set the limit to 0 - 2*pi or something similiar.
  • It would also leave the user alone with these limits, when it is not absolutely necessary.

However, I am not sure at which stage the transformation should be applied. In the transpiler ? Become a property of each gate ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions