Skip to content

fidelity and duration in macro #184

@JacobHast

Description

@JacobHast

I'm wondering why QuamMacro has fidelity and duration attributes? For some macros these attributes don't really make sense.
E.g.,

  • a qubit reset macro based on repeated measurements until 0 is measured doesn't have fixed duration
  • the CliffordMacro in the documentation doesn't have a fixed duration, as it depends on which Clifford is being applied
  • a flattop macro that plays a flattop pulse for spectroscopy doesn't have a "fidelity"

At the least it would be nice with some documentation explaining the purpose of these fields :)
Or if they're critically used further up the stack, maybe it makes sense to further define a "GateMacro" or something similar, where these attributes are non-optional

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions