Keywords
Keywords constitute identifiers reserved by the language parser. As such, they have a specific predefined meaning and cannot be overwritten or used as a general identifier, e.g., as the name of the (qu)bit register.
The table below lists the reserved keywords in cQASM:
Keyword | Use |
---|---|
version |
Version statement |
qubit |
Qubit type |
bit |
Bit type |
measure |
Measure instruction |
reset |
Reset instruction |
ctrl |
Control gate modifier |
inv |
Inverse gate modifier |
pow |
Power gate modifier |