Comments at the end of an OpenQasm 2.0 circuits gives an error #10770
Labels
bug
Something isn't working
mod: qasm2
Relating to OpenQASM 2 import or export
Rust
This PR or issue is related to Rust code in the repository
Milestone
Environment
What is happening?
If there is a comment as the last line of the OpenQasm 2, the
from_qasm_str
fails with the next error:This was working in previous versions of Qiskit (can't confirm which version introduced the error).
How can we reproduce the issue?
What should happen?
The OpenQasm is valid, so it should convert it to OpenQasm 2.0.
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: