Types
The table below lists the available types in a cQASM program.
Type | Keyword | Form |
---|---|---|
Qubit | qubit |
qubit identifier |
QubitArray | qubit |
qubit[ size] identifier |
Bit | bit |
bit identifier |
BitArray | bit |
bit[ size] identifier |
Note
Type keywords are reserved and, therefore, cannot be used as identifiers.