Expand description
Enhanced QASM Compiler with Advanced SciRS2 Parsing Tools
This module provides state-of-the-art QASM compilation with ML-based optimization, multi-version support, semantic analysis, real-time validation, and comprehensive error recovery powered by SciRS2’s parsing and compilation tools.
Structs§
- AST
- Placeholder AST (would use SciRS2’s AST in real implementation)
- ASTStatistics
- Analysis
Options - Analysis options
- Compilation
Result - Compilation result
- Compilation
Statistics - Compilation
Visualizations - Compilation
Warning - EnhancedQASM
Compiler - Enhanced QASM compiler
- EnhancedQASM
Config - Enhanced QASM compiler configuration
- Gate
Definition - Gate definition
- Generated
Code - Hardware
Constraints - Hardware constraints
- Improvement
Metrics - Location
- OptimizedQASM
- Optimized QASM result
- ParsedQASM
- Parsed QASM result
- QASM
Compiler Config - Base QASM compiler configuration
- Token
- Token representation
- Validation
Error - Validation
Result - Validation result
- Validation
Warning
Enums§
- ASTNode
- Binary
Op - Compilation
Target - Compilation targets
- Error
Type - Export
Format - Export formats
- Expression
- Optimization
Level - Optimization levels
- QASM
Version - QASM version support
- Token
Type - Type
Checking Level - Type checking levels
- UnaryOp
- Warning
Type