qiskit-terra
Software for developing quantum computing programs
Decision gist · record as of 2026-08-14
Yes, with conditions. Qiskit Terra is actively maintained and widely used for quantum computing development. However, the package is officially deprecated in favor of the qiskit meta-package (recommended for new projects). Install it only if you have a specific reason to depend on qiskit-terra directly; otherwise, use qiskit instead. Be aware of four known vulnerabilities before deploying to production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; compiled dependencies (rustworkx, symengine) may require build tools on some platforms.
- Medium install friction due to 11 runtime dependencies including compiled packages (rustworkx, symengine).
- Pre-built wheels available for common platforms (macOS, Linux, Windows across multiple architectures).
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
last release 2024-09-22 (691 days) · last repo commit 2026-08-14 · 7,706 stars
4 known vulnerabilities (OSV.dev, 2026-08-14) · 128,900 downloads/mo, #11,691 on PyPI
Alternatives
Verify before relying
pip install qiskit-terra
from qiskit import QuantumCircuit
import numpy as np
qc = QuantumCircuit(3)
qc.h(0)
qc.p(np.pi/2, 0)
qc.cx(0, 1)
qc.cx(0, 2)- Whether the four known vulnerabilities (GHSA-6m2c-76ff-6vrf, GHSA-fpmr-m242-xm7x, PYSEC-2026-1859, PYSEC-2026-511) affect typical usage patterns.
- Current maintenance status given the package deprecation notice and recommendation to use qiskit instead.
What it is and what it does
Qiskit Terra is the foundational component of the Qiskit quantum computing SDK. It provides tools for constructing quantum circuits using standard gates, defining quantum operators, and executing quantum programs through primitive functions (Sampler for measurement outcomes, Estimator for observable expectation values). The package includes a transpiler that optimizes quantum circuits and maps them to the basis gates and qubit connectivity of target hardware.
The package depends on rustworkx, numpy, scipy, sympy for numerical and symbolic computation, and several other utilities. It supports Python 3.8 through 3.12 on macOS, Linux, and Windows. The description explicitly warns that qiskit-terra will not be updated after August 15th, 2024, and recommends installing the qiskit meta-package instead for forward compatibility.
Use it for
- Design and simulate quantum circuits locally using the Sampler primitive to obtain measurement outcome distributions.
- Compute expectation values of quantum observables using the Estimator primitive with quantum circuits and operators.
- Optimize and transpile quantum circuits to match the basis gates and qubit connectivity of specific quantum hardware.
- Build quantum operators using the quantum information toolbox for use in quantum algorithms.
- Develop hybrid quantum-classical algorithms by combining circuit construction with classical post-processing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Qiskit Terra is actively maintained and widely used for quantum computing development. However, the package is officially deprecated in favor of the qiskit meta-package (recommended for new projects). Install it only if you have a specific reason to depend on qiskit-terra directly; otherwise, use qiskit instead. Be aware of four known vulnerabilities before deploying to production.
Install
qiskit-terra on PyPI
Before you install
Medium install friction due to 11 runtime dependencies including compiled packages (rustworkx, symengine). Pre-built wheels available for common platforms (macOS, Linux, Windows across multiple architectures). Actively maintained with recent commits.
Requires Python 3.8 or later; compiled dependencies (rustworkx, symengine) may require build tools on some platforms.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
pip install qiskit-terra
from qiskit import QuantumCircuit
import numpy as np
qc = QuantumCircuit(3)
qc.h(0)
qc.p(np.pi/2, 0)
qc.cx(0, 1)
qc.cx(0, 2)
Verify before relying
- Whether the four known vulnerabilities (GHSA-6m2c-76ff-6vrf, GHSA-fpmr-m242-xm7x, PYSEC-2026-1859, PYSEC-2026-511) affect typical usage patterns.
- Current maintenance status given the package deprecation notice and recommendation to use qiskit instead.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 11 packagesrustworkxnumpyplypsutilscipysympydillpython-dateutilstevedoresymenginetyping-extensions |
| Maintenance | Actively maintained 691 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 128,900 / month, #11,691 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | 4 GHSA-6m2c-76ff-6vrf, GHSA-fpmr-m242-xm7x, PYSEC-2026-1859, PYSEC-2026-511 |
| Classifiers | Environment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering |
Evidence: qiskit_terra-0.46.3-cp38-abi3-macosx_10_9_universal2.whl; qiskit_terra-0.46.3-cp38-abi3-macosx_10_9_x86_64.whl; qiskit_terra-0.46.3-cp38-abi3-macosx_11_0_arm64.whl; qiskit_terra-0.46.3-cp38-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl; qiskit_terra-0.46.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; qiskit_terra-0.46.3-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; qiskit_terra-0.46.3-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl; qiskit_terra-0.46.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; qiskit_terra-0.46.3-cp38-abi3-win32.whl; qiskit_terra-0.46.3-cp38-abi3-win_amd64.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 › “quantum circuit design”
- qiskit-terraQiskit Terra provides the core SDK for building and executing quantum…
- qiskitQiskit is an open-source SDK for building and executing quantum…
- pytketPytket is a Python interface to TKET, a quantum computing toolkit and…
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 hugr · qiskit · pytket · qiskit-algorithms · qiskit-experiments · qiskit-connector · qiskit-aer · qiskit-qasm3-import · cirq-core · amazon-braket-sdk