▼Ncompiler | Namespace used for most of the original API |
CBits | |
CNumericalIdentifiers | |
COperation | |
COperationsCluster | |
CQasmRepresentation | |
CQasmSemanticChecker | |
CQubits | |
CSubCircuit | |
CSubCircuits | |
▼Ncqasm | Toplevel namespace with entry points for the new API |
▼Nannotations | Namespace for tree annotation objects used by libqasm |
CSourceLocation | Source location annotation object, containing source file line numbers etc |
▼Nerror | Namespace for exceptions used by libqasm |
CAnalysisError | Exception used for analysis errors |
▼Nv1 | Namespace for the "new" cQASM 1.x API |
►Nanalyzer | Namespace for the Analyzer class and support classes |
CAnalysisFailed | Exception thrown by AnalysisResult::unwrap() when the cQASM file fails to parse |
CAnalysisResult | Analysis result class |
CAnalyzer | Main class used for analyzing cQASM files |
CAnalyzerHelper | Helper class for analyzing a single AST |
CScope | Scope information |
►Nast | Namespace for the abstract syntax tree node classes |
CAdd | Addition operator |
CAnnotated | Represents a node that carries annotation data |
CAnnotationData | Represents an annotation |
CArithOp | Arithmetic operators |
CAssignment | An assignment statement within a loop definition |
CBinaryOp | Any binary operator |
CBitwiseAnd | Bitwise AND operator |
CBitwiseNot | Bitwise NOT (one's complement) |
CBitwiseOp | Bitwise operators |
CBitwiseOr | Bitwise OR operator |
CBitwiseXor | Bitwise XOR operator |
CBreakStatement | A break statement |
CBundle | A list of parallel instructions |
CCmpEq | Equality operator |
CCmpGe | Greater-than-or-equal operator |
CCmpGt | Greater-than operator |
CCmpLe | Less-than-or-equal operator |
CCmpLt | Less-than operator |
CCmpNe | Inequality operator |
CCmpOp | Comparison operators |
CContinueStatement | A continue statement |
CDivide | True division operator |
CDumper | Visitor class that debug-dumps a tree to a stream |
CErroneousExpression | Placeholder for an expression with a parse error |
CErroneousProgram | Placeholder for a program with a parse error |
CErroneousStatement | Placeholder for a statement with a parse error |
CExpression | Any kind of expression |
CExpressionList | Represents a comma-separated list of expressions |
CFloatLiteral | A floating point literal |
CForeachLoop | A foreach loop |
CForLoop | A C-style for loop |
CFunctionCall | A function call |
CIdentifier | An identifier |
CIfElse | An if-else chain |
CIfElseBranch | A single condition + block for use in an if-else chain |
CIndex | Indexation operator |
CIndexEntry | An entry in an index list |
CIndexItem | A single index in an index list |
CIndexList | A list of one or more indices |
CIndexRange | An inclusive range of indices in an index list |
CInstruction | Any kind of instruction |
CIntDivide | Integer division operator |
CIntegerLiteral | An integer literal |
CJsonLiteral | Represents a JSON literal |
CLogicalAnd | Logical AND operator |
CLogicalNot | Logical/boolean NOT |
CLogicalOp | Logical operators |
CLogicalOr | Logical OR operator |
CLogicalXor | Logical XOR operator |
CMapping | A mapping (alias) for an expression |
CMatrixLiteral | Represents a matrix literal |
CModulo | Modulo operator |
CMultiply | Multiplication operator |
CNegate | Negation operator (two's complement) |
CNode | Main class for all nodes |
CPower | Exponentiation operator |
CProgram | A complete program |
CRecursiveVisitor | Visitor base class defaulting to DFS pre-order traversal |
CRepeatUntilLoop | A repeat-until loop |
CRoot | Any root node for the AST |
CShiftLeft | Shift-left operator |
CShiftOp | Shift operators |
CShiftRightArith | Arithmetic/signed shift-right operator (shifts in sign) |
CShiftRightLogic | Logical/unsigned shift-right operator (shifts in zero) |
CStatement | Any kind of statement |
CStatementList | A list of statements |
CStringBuilder | Special/temporary string builder node, used to build strings from fragments and escape sequences while parsing |
CStringLiteral | Represents a string literal |
CStructured | Any version 1.2+ structured control-flow statement |
CSubcircuit | A subcircuit header |
CSubtract | Subtraction operator |
CTernaryCond | Ternary conditional operator |
CUnaryOp | Any unary operator |
CVariables | One or more variable declaration for some type |
CVersion | The file version identifier |
CVisitor | Base class for the visitor pattern for the tree |
CVisitorBase | Internal class for implementing the visitor pattern |
CWhileLoop | A while loop |
►Nerror_model | Namespace for the ErrorModel class and helper types |
CErrorModel | Representation of an error model |
►Ninstruction | Namespace for the Instruction class and helper types |
CInstruction | Representation of an available instruction (also known as gate) in the instruction set, without parameters bound to it (note that libqasm cannot match instructions based on which qubits are used; you'll need to do that on your own) |
►Nparser | Namespace for the parser functions and classes |
CParseHelper | Internal helper class for parsing cQASM files |
CParseResult | Parse result information |
►Nprimitives | Namespace for the primitive types used in trees generated by tree-gen |
CMatrix | Two-dimensional matrix of some kind of type |
►Nresolver | Namespace for everything to do with name and overload resolution in cQASM |
CErrorModelTable | Table of the supported instructions and their overloads |
CFunctionTable | Table of all overloads of all constant propagation functions |
CInstructionTable | Table of the supported instructions and their overloads |
CMappingTable | Table of all mappings within a certain scope |
COverload | Represents a possible overload for the parameter types of a function, gate, or error model |
COverloadedNameResolver | Table of overloaded callables with case-insensitive identifier matching |
COverloadResolver | Represents a set of possible overloads for the parameter types of a function, gate, or error model |
►Nsemantic | Namespace for the semantic tree node classes |
CAnnotated | Represents a node that carries annotation data |
CAnnotationData | Represents an annotation |
CBlock | A block of statements |
CBreakStatement | A break statement |
CBundle | A bundle of instructions, to be executed in parallel |
CBundleExt | A bundle of instructions, to be executed in parallel |
CContinueStatement | A continue statement |
CDumper | Visitor class that debug-dumps a tree to a stream |
CErrorModel | Error model information |
CForeachLoop | A foreach loop |
CForLoop | A C-style for loop |
CGotoInstruction | A version 1.2+ goto instruction |
CIfElse | An if-else chain |
CIfElseBranch | A single condition + block for use in an if-else chain |
CInstruction | A regular instruction |
CInstructionBase | An instruction (a.k.a |
CMapping | A mapping |
CNode | Main class for all nodes |
CProgram | A complete program |
CRecursiveVisitor | Visitor base class defaulting to DFS pre-order traversal |
CRepeatUntilLoop | A repeat-until loop |
CSetInstruction | A version 1.2+ assignment instruction |
CStatement | A statement |
CStructured | Any version 1.2+ structured control-flow statement |
CSubcircuit | A subcircuit |
CVariable | A variable |
CVersion | The file version identifier |
CVisitor | Base class for the visitor pattern for the tree |
CVisitorBase | Internal class for implementing the visitor pattern |
CWhileLoop | A while loop |
►Ntypes | Namespace for the classes representing the types available within cQASM |
CAxis | Type of an axis (x, y, or z) |
CBool | Type of a boolean/bit |
CComplex | Type of a complex number (2x IEEE double) |
CComplexMatrix | Type of a complex matrix |
CDumper | Visitor class that debug-dumps a tree to a stream |
CInt | Type of an integer (signed 64-bit) |
CJson | Type of a JSON string |
CNode | Main class for all nodes |
CQubit | Type of one or more qubit references |
CReal | Type of a real number (IEEE double) |
CRealMatrix | Type of a real matrix |
CRecursiveVisitor | Visitor base class defaulting to DFS pre-order traversal |
CString | Type of an arbitrary string |
CTypeBase | Base for all types, with a member indicating whether values of this type are assignable (references) or not (constants, expression results) |
CVisitor | Base class for the visitor pattern for the tree |
CVisitorBase | Internal class for implementing the visitor pattern |
►Nvalues | Namespace for the classes representing the values (including dynamically evaluated expressions or references to registers) available within cQASM |
CBitRefs | Represents a measurement bit, or a number of measurement bits for conditional gates with multiple conditions |
CConstant | Represents a constant value |
CConstAxis | Represents an axis value (x, y, or z) |
CConstBool | Represents a value of type bool |
CConstComplex | Represents a value of type complex |
CConstComplexMatrix | Represents a value of type complex_matrix |
CConstInt | Represents a value of type int |
CConstJson | Represents a value of type json |
CConstReal | Represents a value of type real |
CConstRealMatrix | Represents a value of type real_matrix |
CConstString | Represents a value of type string |
CDumper | Visitor class that debug-dumps a tree to a stream |
CFunction | This can be returned by user-defined functions as a placeholder value for something that needs to be evaluated at runtime rather than during constant propagation |
CNode | Main class for all nodes |
CQubitRefs | Represents a qubit, or a set of qubits for single-gate-multiple-qubit notation |
CRecursiveVisitor | Visitor base class defaulting to DFS pre-order traversal |
CReference | Represents a reference to some storage location |
CVariableRef | Represents a variable reference |
CVisitor | Base class for the visitor pattern for the tree |
CVisitorBase | Internal class for implementing the visitor pattern |
▼Nversion | Namespace for detecting and dealing with cQASM language versions |
CParseHelper | Internal helper class for parsing cQASM file versions |
CVersion | Version number primitive used within the AST and semantic trees |
▼Nfunc_gen | Namespace for the func-gen program |
CFunction | Represents a previously generated function, to be added in the register function once it is generated |
CGenerator | Generator class |
CCQASM_V1LTYPE | |
CCQASM_V1STYPE | |
CCQASM_VERSIONLTYPE | |
CCQASM_VERSIONSTYPE | |
ClibQasm | |
Cqasm_data | |
CV1Analyzer | Main class for parsing and analyzing cQASM files with the v1 API |
Cyy_buffer_state | |
Cyy_trans_info | |
Cyyalloc | |
Cyyguts_t | |