This module defines the token types used in OpenQASM 2.0 syntax. OpenQASM 2.0
has a simpler token set compared to 3.0, focusing on basic quantum operations
and classical registers without advanced control flow or data types.
Key differences from OpenQASM 3.0:
Limited to qreg and creg declarations (no advanced types)
OpenQASM 2.0 Token Definitions and Utilities
This module defines the token types used in OpenQASM 2.0 syntax. OpenQASM 2.0 has a simpler token set compared to 3.0, focusing on basic quantum operations and classical registers without advanced control flow or data types.
Key differences from OpenQASM 3.0:
qreg
andcreg
declarations (no advanced types)Example: OpenQASM 2.0 token usage