Skip to content

Assertions for number of qubits and parameters #63

Description

@sannesg
  1. As soon as possible assert number of parameters so that it makes sense, in terms of binding the circuit properly or at least a helpful error message.
  2. In the QAOA class the number of qubits is set for initialstate and mixer class from the problem class. This is a silent assumption and sometimes more parameters are needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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