-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
type: feature requestNew feature or requestNew feature or request
Description
What should we add?
Currently, not every gate support label argument definition. For example, the x gate does, the i gate doesn't. Is there a design reason for this? I tried to manually add the label argument like this:
def id(self, qubit: QubitSpecifier, label: str | None = None) -> InstructionSet: # pylint: disable=invalid-name
"""...
"""
return self._append_standard_gate(StandardGate.IGate, [qubit], (), label=label)
But the custom label is still not displayed while drawing. How come?
Metadata
Metadata
Assignees
Labels
type: feature requestNew feature or requestNew feature or request