Skip to main content

qiskit-maestro

Tests PyPI Qiskit Ecosystem License: GPL v3+

Run your Qiskit code on the Maestro quantum simulator, on your machine or in the Qoro cloud, by changing one import.

  • Drop-in for Aer: a BackendV2, a SamplerV2 and an EstimatorV2, with Aer's option names, noise models and save instructions.
  • Beyond statevector: matrix product state (MPS) for hundreds of qubits, plus stabilizer, density matrix, tensor network and Pauli propagation.
  • CPU, GPU or cloud: run locally, on your own GPU, or on Qoro's GPUs with no hardware of your own.

Install

pip install qiskit-maestro            # local simulation, Python 3.10+
pip install "qiskit-maestro[cloud]"   # adds the Qoro cloud, Python 3.11+

Quick start

from qiskit import QuantumCircuit, transpile
from qiskit_maestro import MaestroBackend   # was: from qiskit_aer import AerSimulator

qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()

backend = MaestroBackend()                  # was: AerSimulator()
counts = backend.run(transpile(qc, backend), shots=1000).result().get_counts()

The Sampler and Estimator swap the same way:

You use Switch to
AerSimulator MaestroBackend
StatevectorSampler, Aer's SamplerV2 MaestroSampler
StatevectorEstimator, Aer's EstimatorV2 MaestroEstimator

Results come back in Qiskit's usual form and bit order.

Run on the Qoro cloud

  1. Sign up at dash.qoroquantum.net to get an API key. New accounts get 1,000 free tokens, with no credit card.

  2. Install the cloud extra and set your key:

    pip install "qiskit-maestro[cloud]"
    export QORO_API_KEY=...   # or put it in a .env file
    
  3. Pass service= to the backend, Sampler or Estimator. Nothing else changes:

    from divi.backends import QoroService
    from qiskit_maestro import MaestroBackend
    
    backend = MaestroBackend(service=QoroService(), method="mps")
    counts = backend.run(transpile(qc, backend), shots=1000).result().get_counts()
    

Add device="GPU" to run on Qoro's GPU cluster. examples/qoro_cloud.py runs all three on the cloud. A few features, such as noise models and classical control, run locally only for now: see the guide.

Pick a simulation method

backend = MaestroBackend(method="mps", max_bond_dimension=64)
method Use it for
"statevector" (default) exact results; memory doubles with each qubit
"mps" many qubits with limited entanglement
"stabilizer" Clifford circuits, any size
"density_matrix" small noisy circuits, exact
"pauli_propagation" expectation values on wide circuits, by evolving the observable
"automatic" let Maestro pick, as Aer does

Pauli propagation runs on MaestroEstimator. For deep circuits, give it a threshold below which Pauli terms are dropped:

estimator = MaestroEstimator(
    method="pauli_propagation", maestro_options={"pp_coefficient_threshold": 1e-4}
)

Pass an Aer NoiseModel as noise_model=, and device="GPU" for your own GPU (get GPU access). The guide lists every method and option.

Learn more

License

GPL-3.0-or-later. See LICENSE.

Metadata

Release files for qiskit-maestro 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qiskit-maestro 0.3.0
File Size Uploaded Provenance Actions
qiskit_maestro-0.3.0.tar.gz 115.3 kB With provenance Details for qiskit_maestro-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qiskit-maestro 0.3.0
File Interpreter ABI Platform Actions
qiskit_maestro-0.3.0-py3-none-any.whl Python 3 none any Details for qiskit_maestro-0.3.0-py3-none-any.whl

Total release size: 189.2 kB

Release files / qiskit_maestro-0.3.0.tar.gz

Download URL qiskit_maestro-0.3.0.tar.gz
Size 115.3 kB
Tags Source
SHA-256 checksum
How to use checksums
917515ad1bcfa7552148f08054e3d79a0ac7197c50be9b4ec069b7623a548fae
BLAKE2b-256 checksum
How to use checksums
7ef7a3e9f3cf0076593c3978d3a18209181e2176faf5a9e2263b48f59255c1c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / qiskit_maestro-0.3.0-py3-none-any.whl

Download URL qiskit_maestro-0.3.0-py3-none-any.whl
Size 73.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c63b9d62f7dc9e384bb1802d5f9940e35f5dcb568322376c4bbffca4355fda16
BLAKE2b-256 checksum
How to use checksums
b3d1ccb3b2ad02d000213ac976c4be714f317647e58d5c2432b67693fa21b5b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for qiskit-maestro 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qiskit_maestro-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page