qiskit-qasm3-import icon indicating copy to clipboard operation
qiskit-qasm3-import copied to clipboard

Importer from OpenQASM 3 to Qiskit's QuantumCircuit

Results 9 qiskit-qasm3-import issues
Sort by recently updated
recently updated
newest added

When exporting circuits that contain a computation within the parameters the qasm3 import leads to errors Example: ```OPENQASM 3; OPENQASM 3; include "stdgates.inc"; input float[64] gamma0; gate rzz_1466526231824(gamma0) _gate_q_0, _gate_q_1...

In some cases when providing wrong QASM code exceptions are empty ### python --version `Python 3.10.12` ### [tool.poetry.dependencies] `qiskit-qasm3-import = "^0.4.1"` Tests example: ```python from qiskit.qasm3 import loads test_cases =...

I was trying to make a mapping from the qasm2 standard gates present in `qelib1.inc` located in the [terra lib](https://github.com/Qiskit/qiskit-terra/blob/main/qiskit/qasm/libs/qelib1.inc). I am encountering the following error while loading the definition...

The [Qiskit `qasm2.load` parser](https://qiskit.org/documentation/apidoc/qasm2.html#specifying-custom-instructions) supports specifying a list of overrides for gates, which can be used to have custom classes represent OpenQASM-defined gates (rather than the parser's default constructor) or...

enhancement

This package was originally a proof-of-concept importer for OpenQASM 3 programs into Qiskit circuits, written in a couple of days, reusing the reference OpenQASM 3 parser and supplying only the...

I was trying to check the equality of circuits when converting from qasm2 and qasm3 strings. I was using the following qasm strings for the conversion - ```python3 qasm2 =...

The openqasm example [adder.qasm](https://github.com/openqasm/openqasm/blob/main/examples/adder.qasm) fails to import with the error: `qiskit_qasm3_import.exceptions.ConversionError: 24,0: declarations of type 'uint' are not supported `

### Env - **Qiskit Terra version**: `{'qiskit-terra': '0.23.1', 'qiskit-aer': '0.11.2', 'qiskit-ignis': None, 'qiskit-ibmq-provider': '0.20.0', 'qiskit': '0.41.0', 'qiskit-nature': None, 'qiskit-finance': None, 'qiskit-optimization': None, 'qiskit-machine-learning': None}` - **Python version**: Python 3.9.12 -...

Currently this importer supports tests on classical registers as the condition in conditionals. It seems that only `if`-`else` statements effecting dynamics circuits are supported. But the OC3 spec includes `if...