Skip to content

PanicException: called Result::unwrap() on an Err value: ParseIntError { kind: PosOverflow } #11561

@Superhsl

Description

@Superhsl

Environment

  • Qiskit Terra version: qiskit 0.44.1
  • Python version: 3.9
  • Operating system: linux

What is happening?

I'm simply trying to generate a QuantumCircuit object from different QASM files. Why can some files be generated successfully while others result in an error?

How can we reproduce the issue?

'''from qiskit import QuantumCircuit
qc = QuantumCircuit.from_qasm_file("ae_indep_qiskit_69.qasm")'''

What should happen?

generate a QuantumCircuit object

Any suggestions?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmod: qasm2Relating to OpenQASM 2 import or export

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions