Skip to content

Implement Generic Gate Class #5

@pbethke

Description

@pbethke

Task of feature #4

Generic Gate Properties

  • number of qubit it acts on
  • children (also gates)1
  • matrix representation
  • parameters (like variable phase in CPHASE)
  • some unique identifier, preferably something that describes their logical operation like sigma_x, but is also machine-readable, so that an algorithm can compose gates automatically(like a unique matrix representation)

1Because this is matrix multiplication the order in which the children are matters!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions