The path to the .qasm file to parse
Optional
version: number | OpenQASMVersionThe OpenQASM version to use (defaults to 3.0)
Optional
verbose: booleanWhether to include class names in the output (defaults to false)
Optional
stringify: booleanWhether to return stringified JSON (defaults to false)
The corresponding AST as an array of nodes, or stringified JSON if stringify is true
Parses OpenQASM code from a file and returns the abstract syntax tree.