Skip to main content

qiskit-maestro

Tests PyPI 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
"automatic" let Maestro pick, as Aer does

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.2.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.2.0
File Size Uploaded Provenance Actions
qiskit_maestro-0.2.0.tar.gz 104.6 kB With provenance Details for qiskit_maestro-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 175.0 kB

Release files / qiskit_maestro-0.2.0.tar.gz

Download URL qiskit_maestro-0.2.0.tar.gz
Size 104.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bc03f69cfac4c83f50a75bf0cd58dd9fb7b1c29c1e8365354934eb39e9523307
BLAKE2b-256 checksum
How to use checksums
0c78b17f2b78498c40e1ff6057f6d754f364e090de8c07a20e127c724617da44
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 12, 2026.

Transparency log

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

Download URL qiskit_maestro-0.2.0-py3-none-any.whl
Size 70.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2683458e7902d6642fcad73e1384cb3b88cc95e55cace4f2e98c27376d26d43
BLAKE2b-256 checksum
How to use checksums
6ff958a1e6d7ebc43a2c9b77fa6c0f00a65df6b1b8c27041a883d08322f14b00
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 12, 2026.

Transparency log

Security for qiskit-maestro 0.2.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.2.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 12, 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