braket.default_simulator.openqasm.parser.generated.qasm3Lexer module

braket.default_simulator.openqasm.parser.generated.qasm3Lexer.serializedATN()[source]
class braket.default_simulator.openqasm.parser.generated.qasm3Lexer.qasm3Lexer(input=None, output: ~typing.TextIO = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[source]

Bases: Lexer

atn = <antlr4.atn.ATN.ATN object>
decisionsToDFA = [<antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>, <antlr4.dfa.DFA.DFA object>]
VERSION_IDENTIFIER = 1
EAT_TO_LINE_END = 2
OPENQASM = 1
INCLUDE = 2
DEFCALGRAMMAR = 3
DEF = 4
DEFCAL = 5
GATE = 6
EXTERN = 7
BOX = 8
LET = 9
BREAK = 10
CONTINUE = 11
IF = 12
ELSE = 13
END = 14
RETURN = 15
FOR = 16
WHILE = 17
IN = 18
PRAGMA = 19
AnnotationKeyword = 20
INPUT = 21
OUTPUT = 22
CONST = 23
MUTABLE = 24
QREG = 25
QUBIT = 26
CREG = 27
BOOL = 28
BIT = 29
INT = 30
UINT = 31
FLOAT = 32
ANGLE = 33
COMPLEX = 34
ARRAY = 35
DURATION = 36
STRETCH = 37
GPHASE = 38
INV = 39
POW = 40
CTRL = 41
NEGCTRL = 42
DIM = 43
DURATIONOF = 44
DELAY = 45
RESET = 46
MEASURE = 47
BARRIER = 48
BooleanLiteral = 49
LBRACKET = 50
RBRACKET = 51
LBRACE = 52
RBRACE = 53
LPAREN = 54
RPAREN = 55
COLON = 56
SEMICOLON = 57
DOT = 58
COMMA = 59
EQUALS = 60
ARROW = 61
PLUS = 62
DOUBLE_PLUS = 63
MINUS = 64
ASTERISK = 65
DOUBLE_ASTERISK = 66
SLASH = 67
PERCENT = 68
PIPE = 69
DOUBLE_PIPE = 70
AMPERSAND = 71
DOUBLE_AMPERSAND = 72
CARET = 73
AT = 74
TILDE = 75
EXCLAMATION_POINT = 76
EqualityOperator = 77
CompoundAssignmentOperator = 78
ComparisonOperator = 79
BitshiftOperator = 80
IMAG = 81
ImaginaryLiteral = 82
BinaryIntegerLiteral = 83
OctalIntegerLiteral = 84
DecimalIntegerLiteral = 85
HexIntegerLiteral = 86
Identifier = 87
HardwareQubit = 88
FloatLiteral = 89
TimingLiteral = 90
BitstringLiteral = 91
StringLiteral = 92
Whitespace = 93
Newline = 94
LineComment = 95
BlockComment = 96
VERSION_IDENTIFER_WHITESPACE = 97
VersionSpecifier = 98
EAT_INITIAL_SPACE = 99
EAT_LINE_END = 100
RemainingLineContent = 101
channelNames = ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN']
modeNames = ['DEFAULT_MODE', 'VERSION_IDENTIFIER', 'EAT_TO_LINE_END']
literalNames = ['<INVALID>', "'OPENQASM'", "'include'", "'defcalgrammar'", "'def'", "'defcal'", "'gate'", "'extern'", "'box'", "'let'", "'break'", "'continue'", "'if'", "'else'", "'end'", "'return'", "'for'", "'while'", "'in'", "'input'", "'output'", "'const'", "'mutable'", "'qreg'", "'qubit'", "'creg'", "'bool'", "'bit'", "'int'", "'uint'", "'float'", "'angle'", "'complex'", "'array'", "'duration'", "'stretch'", "'gphase'", "'inv'", "'pow'", "'ctrl'", "'negctrl'", "'#dim'", "'durationof'", "'delay'", "'reset'", "'measure'", "'barrier'", "'['", "']'", "'{'", "'}'", "'('", "')'", "':'", "';'", "'.'", "','", "'='", "'->'", "'+'", "'++'", "'-'", "'*'", "'**'", "'/'", "'%'", "'|'", "'||'", "'&'", "'&&'", "'^'", "'@'", "'~'", "'!'", "'im'"]
symbolicNames = ['<INVALID>', 'OPENQASM', 'INCLUDE', 'DEFCALGRAMMAR', 'DEF', 'DEFCAL', 'GATE', 'EXTERN', 'BOX', 'LET', 'BREAK', 'CONTINUE', 'IF', 'ELSE', 'END', 'RETURN', 'FOR', 'WHILE', 'IN', 'PRAGMA', 'AnnotationKeyword', 'INPUT', 'OUTPUT', 'CONST', 'MUTABLE', 'QREG', 'QUBIT', 'CREG', 'BOOL', 'BIT', 'INT', 'UINT', 'FLOAT', 'ANGLE', 'COMPLEX', 'ARRAY', 'DURATION', 'STRETCH', 'GPHASE', 'INV', 'POW', 'CTRL', 'NEGCTRL', 'DIM', 'DURATIONOF', 'DELAY', 'RESET', 'MEASURE', 'BARRIER', 'BooleanLiteral', 'LBRACKET', 'RBRACKET', 'LBRACE', 'RBRACE', 'LPAREN', 'RPAREN', 'COLON', 'SEMICOLON', 'DOT', 'COMMA', 'EQUALS', 'ARROW', 'PLUS', 'DOUBLE_PLUS', 'MINUS', 'ASTERISK', 'DOUBLE_ASTERISK', 'SLASH', 'PERCENT', 'PIPE', 'DOUBLE_PIPE', 'AMPERSAND', 'DOUBLE_AMPERSAND', 'CARET', 'AT', 'TILDE', 'EXCLAMATION_POINT', 'EqualityOperator', 'CompoundAssignmentOperator', 'ComparisonOperator', 'BitshiftOperator', 'IMAG', 'ImaginaryLiteral', 'BinaryIntegerLiteral', 'OctalIntegerLiteral', 'DecimalIntegerLiteral', 'HexIntegerLiteral', 'Identifier', 'HardwareQubit', 'FloatLiteral', 'TimingLiteral', 'BitstringLiteral', 'StringLiteral', 'Whitespace', 'Newline', 'LineComment', 'BlockComment', 'VERSION_IDENTIFER_WHITESPACE', 'VersionSpecifier', 'EAT_INITIAL_SPACE', 'EAT_LINE_END', 'RemainingLineContent']
ruleNames = ['OPENQASM', 'INCLUDE', 'DEFCALGRAMMAR', 'DEF', 'DEFCAL', 'GATE', 'EXTERN', 'BOX', 'LET', 'BREAK', 'CONTINUE', 'IF', 'ELSE', 'END', 'RETURN', 'FOR', 'WHILE', 'IN', 'PRAGMA', 'AnnotationKeyword', 'INPUT', 'OUTPUT', 'CONST', 'MUTABLE', 'QREG', 'QUBIT', 'CREG', 'BOOL', 'BIT', 'INT', 'UINT', 'FLOAT', 'ANGLE', 'COMPLEX', 'ARRAY', 'DURATION', 'STRETCH', 'GPHASE', 'INV', 'POW', 'CTRL', 'NEGCTRL', 'DIM', 'DURATIONOF', 'DELAY', 'RESET', 'MEASURE', 'BARRIER', 'BooleanLiteral', 'LBRACKET', 'RBRACKET', 'LBRACE', 'RBRACE', 'LPAREN', 'RPAREN', 'COLON', 'SEMICOLON', 'DOT', 'COMMA', 'EQUALS', 'ARROW', 'PLUS', 'DOUBLE_PLUS', 'MINUS', 'ASTERISK', 'DOUBLE_ASTERISK', 'SLASH', 'PERCENT', 'PIPE', 'DOUBLE_PIPE', 'AMPERSAND', 'DOUBLE_AMPERSAND', 'CARET', 'AT', 'TILDE', 'EXCLAMATION_POINT', 'EqualityOperator', 'CompoundAssignmentOperator', 'ComparisonOperator', 'BitshiftOperator', 'IMAG', 'ImaginaryLiteral', 'BinaryIntegerLiteral', 'OctalIntegerLiteral', 'DecimalIntegerLiteral', 'HexIntegerLiteral', 'ValidUnicode', 'Letter', 'FirstIdCharacter', 'GeneralIdCharacter', 'Identifier', 'HardwareQubit', 'FloatLiteralExponent', 'FloatLiteral', 'TimeUnit', 'TimingLiteral', 'BitstringLiteral', 'StringLiteral', 'Whitespace', 'Newline', 'LineComment', 'BlockComment', 'VERSION_IDENTIFER_WHITESPACE', 'VersionSpecifier', 'EAT_INITIAL_SPACE', 'EAT_LINE_END', 'RemainingLineContent']
grammarFileName = 'qasm3Lexer.g4'