Qiskit / openqasm3_parser

Parser and semantic analyzer for the OpenQASM3 language
Apache License 2.0
10 stars 11 forks source link

Incorrect syntax error in parsing defcal #210

Open jlapeyre opened 5 months ago

jlapeyre commented 5 months ago

defcal is not supported in semantic analysis.

However the syntax is considered done. But it is buggy. This fails:

defcal h $0 { }

Note that this is independent of the question of the defcal syntax, because the error occurs in trying to parse the signature.