-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
E.g. when importing 'benchpress/qasm/qasmbench-large/cc_n301/cc_n301.qasm'
using QuantumCircuit.from_qasm_file
gives
thread '<unnamed>' panicked at crates/qasm2/src/lex.rs:279:42:
called `Result::unwrap()` on an `Err` value: ParseIntError { kind: PosOverflow }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
PanicException: called `Result::unwrap()` on an `Err` value: ParseIntError { kind: PosOverflow }
I am guessing it is because of the large c_if statements, e.g.
if(c0==2037035976334486086268445688409378161051468393665936250636140449354381299763336706183397376) h q0[0];
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working