documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Document reserved gate names

Open kevinsung opened this issue 1 year ago • 1 comments

URL, if applicable

No response

Describe the new content you are requesting.

In Qiskit, the string name attribute of a Gate is used by transpiler passes to determine the type of a gate. A user-defined gate should not use a name that is used by a gate that already exists in Qiskit, because this could break transpiler functionality. Therefore, these existing names should be considered reserved, and we should maintain an explicit list of them.

kevinsung avatar May 28 '24 15:05 kevinsung