$npx skillfedfor your agent

qualang-tools

The qualang_tools package includes various tools related to QUA programs in Python

Worth itPyPI Scientific/EngineeringReleased Jul 2026122.0K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — qualang_tools-0.23.0-py3-none-any.whl
v0.23.0 · released 2026-07-31 · Python <=3.13,>=3.9 · 9 runtime deps: attrs, grpclib, matplotlib, numpy, packaging, qm-qua, scikit-learn, scipy

Yes. The package is actively maintained, has no known vulnerabilities, installs cleanly, and supports current Python versions. It is purpose-built for QUA users and provides essential utilities that would otherwise require custom implementation. Install it if you are writing QUA programs; skip it if you do not use Quantum Machines hardware.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9–3.13.
  • Some optional features (interactive plotting, two-qubit randomized benchmarking) need extras installed separately.
  • Low friction install with a pure-Python wheel.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive and imposes minimal restrictions on use or modification. You can use this package in commercial or proprietary projects without licensing obligations.

last release 2026-07-31 (14 days) · last repo commit 2026-08-12 · 59 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 121,982 downloads/mo, #11,965 on PyPI

Verify before relying

pip install qualang-tools

from qualang_tools.loops import from_array
import numpy as np

freq_array = np.linspace(1, 2, 11)
loop_values = from_array(freq_array)
  • Whether qm-qua (the core QUA runtime dependency) is freely available or requires a commercial license or hardware access.
  • Whether all nine runtime dependencies are automatically installed or if some are optional.
  • Performance characteristics when handling large datasets or complex waveforms.
Same gist for agents: .md · .json

What it is and what it does

qualang-tools is a companion library for the QUA programming language, used to write and run quantum computing experiments on Quantum Machines' OPX hardware. It bundles a collection of specialized utilities: loop tools for parametrizing QUA for-loops with numpy arrays, plotting and result-handling helpers, unit conversion (MHz, microseconds, millivolts), data analysis (including state discrimination), waveform generation with nanosecond resolution, and configuration management for the OPX control system.

The package is organized into modules covering different aspects of quantum experiment workflow—from low-level waveform design and hardware control to high-level experiment orchestration and multi-user coordination. It also includes integrations with external frameworks like QCoDeS and tools for calibration, dynamic parameter tuning (video mode), and digital filter design. Most users will import specific submodules (e.g., loops, plot, results, units) rather than the entire package.

Use it for

  • Parametrize QUA for-loops using numpy arrays (linspace, arange, logspace) to sweep experimental parameters.
  • Generate and manage complex pulse sequences with nanosecond timing resolution using the Bakery framework.
  • Extract, analyze, and save experimental results from QUA programs, including state discrimination for two-level systems.
  • Convert between physical units (MHz, microseconds, millivolts) and hardware-native units in QUA programs.
  • Configure and control OPX hardware outputs in continuous-wave mode or as a vector network analyzer.
  • Perform standard single-qubit calibrations and randomized benchmarking experiments from a single Python script.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, installs cleanly, and supports current Python versions. It is purpose-built for QUA users and provides essential utilities that would otherwise require custom implementation. Install it if you are writing QUA programs; skip it if you do not use Quantum Machines hardware.

Install

qualang-tools on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with a release 14 days ago. Nine runtime dependencies including numpy, scipy, and scikit-learn are all widely-used scientific packages, so environment setup is straightforward.

Requires Python 3.9–3.13. Some optional features (interactive plotting, two-qubit randomized benchmarking) need extras installed separately.

License in practice

BSD-3-Clause is permissive and imposes minimal restrictions on use or modification. You can use this package in commercial or proprietary projects without licensing obligations.

Quickstart

pip install qualang-tools

from qualang_tools.loops import from_array
import numpy as np

freq_array = np.linspace(1, 2, 11)
loop_values = from_array(freq_array)

Verify before relying

  • Whether qm-qua (the core QUA runtime dependency) is freely available or requires a commercial license or hardware access.
  • Whether all nine runtime dependencies are automatically installed or if some are optional.
  • Performance characteristics when handling large datasets or complex waveforms.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release <=3.13,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
attrsgrpclibmatplotlibnumpypackagingqm-quascikit-learnscipyxarray
MaintenanceActively maintained 14 days since the last release
Last repo commit
First released
Downloads121,982 / month, #11,965 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: qualang_tools-0.23.0-py3-none-any.whl

Tags

Capabilities
QUA programming toolsquantum experiment utilitieswaveform generation quantumQUA loop parametrizationquantum data analysisQOP configuration toolsquantum pulse sequences
Topics
quantum-computinghardware-controlexperiment-automation

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 › “QUA programming tools”

  • qualang-toolsProvides a comprehensive toolkit for writing QUA programs, including…
  • qm-quaQM-QUA is a Python SDK that implements QUA, a pulse-level language…
  • qm-octaveSDK for controlling Quantum Machine's Octave hardware using QUA,…

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 attoworld · broadbean · qm-qua · qm-octave · qiskit-experiments · cirq-google · cirq · cirq-core · cirq-web · cirq-aqt