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
I'm wondering why QuamMacro has
fidelityanddurationattributes? For some macros these attributes don't really make sense.E.g.,
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