$npx skillfedfor your agent

oqpy

Generating OpenQASM 3 + OpenPulse in Python

Worth itPyPI Scientific/EngineeringReleased Feb 2026163.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — oqpy-0.3.10-py3-none-any.whl
v0.3.10 · released 2026-02-25 · Python <4.0,>=3.8 · 3 runtime deps: openpulse, numpy, mypy-extensions

Yes. OQpy is actively maintained, has no known vulnerabilities, and fills a specific niche for developers working with OpenQASM 3 and pulse-level quantum control. The low install friction and permissive license make adoption straightforward. Install it if you need to generate OpenQASM 3 programs with pulse calibrations from Python; skip it if you only work with high-level quantum circuit abstractions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or greater; openpulse and numpy must be available at runtime.
  • Low friction install with a pure-wheel distribution.
  • Actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for open-source scientific software.

last release 2026-02-25 (170 days) · last repo commit 2026-05-27 · 31 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 163,731 downloads/mo, #10,563 on PyPI

Verify before relying

pip install oqpy

import oqpy
prog = oqpy.Program()
qubit = oqpy.PhysicalQubits[0]
prog.reset(qubit).gate(qubit, "x90").measure(qubit)
print(prog.to_qasm())
  • Whether the package includes comprehensive documentation or tutorials beyond the example in the README.
  • Performance characteristics when generating large or complex quantum programs.
  • Stability of the API across minor versions (currently at 0.3.10).
Same gist for agents: .md · .json

What it is and what it does

OQpy is a Python library for programmatically generating OpenQASM 3 quantum programs with OpenPulse calibration support. It wraps the abstract syntax trees of both OpenQASM 3 and OpenPulse, allowing developers to write quantum circuits and pulse-level control definitions in Python rather than directly in OpenQASM text. The library depends on openpulse, numpy, and mypy-extensions, and is designed for quantum researchers and hardware engineers who need to specify both high-level quantum gates and low-level pulse implementations for near-term quantum processors.

The package targets the intersection of quantum software development and hardware control, where users need to define not just what quantum operations to perform but exactly how those operations are implemented at the pulse level on specific hardware architectures. It supports explicit timing, classical logic, and hardware-specific calibration blocks, making it suitable for characterization experiments, pulse optimization, and hardware-aware quantum algorithm development.

Use it for

  • Define Ramsey interferometry and other qubit characterization experiments with precise pulse-level control.
  • Generate calibration definitions (defcal blocks) for quantum gates on specific hardware architectures.
  • Build quantum circuits that mix high-level gate definitions with low-level pulse waveform specifications.
  • Programmatically create OpenQASM 3 programs with classical control flow and variable delays.
  • Develop pulse-based quantum algorithms for superconducting qubit systems.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

OQpy is actively maintained, has no known vulnerabilities, and fills a specific niche for developers working with OpenQASM 3 and pulse-level quantum control. The low install friction and permissive license make adoption straightforward. Install it if you need to generate OpenQASM 3 programs with pulse calibrations from Python; skip it if you only work with high-level quantum circuit abstractions.

Install

oqpy on PyPI

Before you install

Low friction install with a pure-wheel distribution. Actively maintained with a recent release and no known vulnerabilities. Supports Python 3.8 through 3.14.

Requires Python 3.8 or greater; openpulse and numpy must be available at runtime.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for open-source scientific software.

Quickstart

pip install oqpy

import oqpy
prog = oqpy.Program()
qubit = oqpy.PhysicalQubits[0]
prog.reset(qubit).gate(qubit, "x90").measure(qubit)
print(prog.to_qasm())

Verify before relying

  • Whether the package includes comprehensive documentation or tutorials beyond the example in the README.
  • Performance characteristics when generating large or complex quantum programs.
  • Stability of the API across minor versions (currently at 0.3.10).

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
openpulsenumpymypy-extensions
MaintenanceActively maintained 170 days since the last release
Last repo commit
First released
Downloads163,731 / month, #10,563 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering

Evidence: oqpy-0.3.10-py3-none-any.whl

Tags

Capabilities
openqasm 3 python generatorquantum circuit pulse controlopenpulse programming libraryquantum calibration definitionsopenqasm dsl pythonquantum hardware controlpulse-level quantum programming
Topics
quantum-computingopenqasmpulse-control
PyPI keywords
openqasmquantum

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 python generator”

  • oqpyOQpy generates OpenQASM 3 and OpenPulse programs in Python, providing…
  • openqasm3Provides a reference abstract syntax tree (AST) for OpenQASM 3…
  • qiskit-qasm3-importConverts OpenQASM 3 programs (as strings) into Qiskit QuantumCircuit…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

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.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

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.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

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.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

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.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also openpulse · qiskit-qasm3-import · broadbean · openqasm3 · qm-qua · cirq · qiskit · pytket · cirq-google · openfermion