In particular, both use the % prefix for the qubit name. However, the definition uses ⟨Qubit⟩ as the type, which restricts values to non-negative integers.
I think there are two problems here:
DEFCAL should take ⟨Formal Qubit⟩ which would allow identifiers (e.g. DEFCAL I q: ...)
The examples should remove the % prefix where applicable
The spec's definition of
DEFCAL
isThe spec then uses these as examples
In particular, both use the
%
prefix for the qubit name. However, the definition uses⟨Qubit⟩
as the type, which restricts values to non-negative integers.I think there are two problems here:
DEFCAL
should take⟨Formal Qubit⟩
which would allow identifiers (e.g.DEFCAL I q: ...
)%
prefix where applicable