qiskit-qasm3-import
Importer for parsing OpenQASM 3 strings into Qiskit circuits
Decision gist · record as of 2026-08-14
Yes, if you need to work with OpenQASM 3 programs in Qiskit. Install friction is minimal, maintenance is active, and the license is permissive. However, note that the authors explicitly position this as a temporary solution pending technical decisions—expect the API or feature coverage to potentially change. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two runtime dependencies (qiskit and openqasm3).
- Package is actively maintained with a recent release (2025-06-10) and an active repository.
License · maintenance · safety
Apache 2.0 License (permissive) — Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2025-06-10 (430 days) · last repo commit 2026-07-21 · 27 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 258,455 downloads/mo, #8,430 on PyPI
Alternatives
Verify before relying
pip install qiskit-qasm3-import
from qiskit_qasm3_import import parse
program = 'OPENQASM 3.0;\nqubit[2] q;\nmeasure q;'
circuit = parse(program)- Whether the package supports all OpenQASM 3 features or only a subset of the specification
- Performance characteristics when parsing large or complex OpenQASM 3 programs
- Stability guarantees: the description notes this is a 'stop-gap measure' pending technical decisions
What it is and what it does
This package provides a parser that converts OpenQASM 3 source code into Qiskit's QuantumCircuit representation. It accepts a complete OpenQASM 3 program as a string and returns a QuantumCircuit object ready for use in Qiskit workflows. The importer handles parametrized gates, gate modifiers, mathematical expressions, control flow (while loops, if/else), qubit aliasing, and measurement operations, as demonstrated in the documentation examples.
The package is designed as a temporary bridge: Qiskit itself optionally wraps this package's parse function as qiskit.qasm3.load and qiskit.qasm3.loads. The authors explicitly note this is a stop-gap solution until technical decisions can be resolved more permanently, meaning the API and feature set may evolve. It depends on qiskit and openqasm3, both of which must be installed.
Use it for
- Convert existing OpenQASM 3 quantum programs into Qiskit circuits for execution on IBM quantum hardware or simulators
- Import parametrized quantum gate definitions and control flow from OpenQASM 3 files into Qiskit for circuit manipulation
- Migrate quantum algorithm code written in OpenQASM 3 to Qiskit-based workflows
- Parse OpenQASM 3 benchmark or reference circuits for testing and validation in Qiskit
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with OpenQASM 3 programs in Qiskit.
Install friction is minimal, maintenance is active, and the license is permissive. However, note that the authors explicitly position this as a temporary solution pending technical decisions—expect the API or feature coverage to potentially change. No known vulnerabilities.
Install
qiskit-qasm3-import on PyPI
Before you install
Low install friction with only two runtime dependencies (qiskit and openqasm3). Package is actively maintained with a recent release (2025-06-10) and an active repository.
License in practice
Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install qiskit-qasm3-import
from qiskit_qasm3_import import parse
program = 'OPENQASM 3.0;\nqubit[2] q;\nmeasure q;'
circuit = parse(program)
Verify before relying
- Whether the package supports all OpenQASM 3 features or only a subset of the specification
- Performance characteristics when parsing large or complex OpenQASM 3 programs
- Stability guarantees: the description notes this is a 'stop-gap measure' pending technical decisions
Package facts
| License | Apache 2.0 License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesqiskitopenqasm3 |
| Maintenance | Actively maintained 430 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 258,455 / month, #8,430 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: qiskit_qasm3_import-0.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “openqasm 3 to qiskit converter”
- qiskit-qasm3-importConverts OpenQASM 3 programs (as strings) into Qiskit QuantumCircuit…
- openqasm3Provides a reference abstract syntax tree (AST) for OpenQASM 3…
- oqpyOQpy generates OpenQASM 3 and OpenPulse programs in Python, providing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also qiskit · openqasm3 · oqpy · qiskit-ionq · qiskit-terra · openpulse · qiskit-connector · qiskit-experiments · qiskit-ibm-runtime · cirq