Skip to content

ApplyGateToLthQubit has a lambda function class attribute #1606

@mpharrigan

Description

@mpharrigan

The premise of making a bloq class is that the class attributes are theoretically serializable and all the behavior is in the class's methods. ApplyGateToLthQubit accepts a Python function (callable) as one of its attributes, which shouldn't be allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    no QC knowledge neededDoes not require knowledge of quantum computing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions