Skip to main content

Maestro

Build and test PyPI Python Docs License: GPL-3.0

One API for simulating quantum circuits with any method: statevector, MPS, stabilizer, Pauli propagation, density matrix and more. Runs on a laptop CPU, NVIDIA GPUs, or an MPI cluster.

Write a circuit once, then change one config field to switch from a 30-qubit statevector to a 100-qubit matrix product state, or from CPU to GPU. Already using Qiskit or PennyLane? Change one import and keep your code.

pip install qoro-maestro

Quick start

import maestro
from maestro.circuits import QuantumCircuit

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

result = qc.execute(shots=1000)
print(result["counts"])  # about {"00": 500, "11": 500}

The default is a CPU statevector. To run the same circuit with another method, pass a SimulatorConfig:

config = maestro.SimulatorConfig(simulation_type=maestro.SimulationType.MatrixProductState)
result = qc.execute(shots=1000, config=config)

Requires Python 3.10+. Pre-built wheels are available for Linux, macOS and Windows.

Already using Qiskit or PennyLane?

Qiskit: qiskit-maestro provides a backend, Sampler and Estimator you can use in place of Aer:

pip install qiskit-maestro
from qiskit_maestro import MaestroBackend, MaestroSampler, MaestroEstimator

backend = MaestroBackend()      # was AerSimulator()
sampler = MaestroSampler()      # was StatevectorSampler()
estimator = MaestroEstimator()  # was StatevectorEstimator()

On 120–200 qubit MPS workloads, MaestroEstimator is up to 7× faster than Aer's EstimatorV2.

PennyLane: pennylane-maestro adds a Maestro device, including adjoint gradients for variational algorithms:

pip install pennylane-maestro
import pennylane as qml

dev = qml.device("maestro.qubit", wires=2)  # was "default.qubit"

Maestro can also load OpenQASM 2.0 programs directly.

Features

  • Many simulation methods behind one API: statevector, density matrix, matrix product state (MPS), matrix product operator (MPO), tensor network, stabilizer, extended stabilizer, Pauli propagation and path integral. See Choosing a simulation method for which method suits which circuits.
  • GPU and cluster scaling: NVIDIA GPU backends built on cuQuantum, a statevector split across the GPUs in one node, or across nodes with MPI.
  • Realistic noise: Pauli and coherent errors, T1/T2 relaxation, crosstalk, readout errors and time-correlated noise. Noise runs as Monte Carlo trajectories, or as exact channels on density-matrix and MPO backends.
  • Beyond sampling: expectation values of Pauli observables, statevectors and probabilities, mid-circuit measurement with classical control, and Stim/Sinter integration for error-correction studies.
  • C/C++ and JSON interfaces: link libmaestro directly, or send batch jobs through the native JSON request API. Neither needs Python.

Running on GPUs

The pip package runs on the CPU. GPU backends come from a separate plugin, which you can access in three ways:

  • Qoro cloud: run on our GPUs with free starter credits.
  • Free academic licence: run the plugin on your own hardware.
  • Enterprise site licence: run it on your organization's infrastructure.

See Get GPU access for details. Once the plugin is installed, select the GPU in the config:

config = maestro.SimulatorConfig(
    simulator_type=maestro.SimulatorType.Gpu,
    simulation_type=maestro.SimulationType.Statevector,
)
result = qc.execute(shots=1000, config=config)
Backend Methods
QCSim (CPU, default) All methods listed above
Gpu Statevector, density matrix, MPS, MPO, tensor network, Pauli propagation
DistributedGpu Statevector split across the GPUs in one node (Linux)
DistributedMpiGpu Statevector split across MPI ranks and nodes (Linux, CUDA-aware MPI)

Optional Qiskit Aer and QuEST backends are also available. See Scaling: multi-GPU and MPI for a complete MPI example.

Repository What it is Install
qiskit-maestro Qiskit provider: MaestroBackend, MaestroSampler and MaestroEstimator pip install qiskit-maestro
pennylane-maestro PennyLane device maestro.qubit, with adjoint gradients pip install pennylane-maestro
maestro-demos Example simulations written with Maestro —

Documentation

Full documentation: qoroquantum.github.io/maestro

Get started First circuit · Coming from Qiskit Aer · PennyLane · GPU access
Guides Building circuits · Choosing a method · Sampling and shots · Expectation values · Noise and QEC · Scaling
Reference Python API · C++ API · Native JSON API · Benchmarks
C++ and source builds Install from source · C++ tutorial
More Examples · Changelog · Contributing

Citation

If you use Maestro in your research, please cite:

@article{bertomeu2025maestro,
  title={Maestro: Intelligent Execution for Quantum Circuit Simulation},
  author={Bertomeu, Oriol and Ghayas, Hamzah and Roman, Adrian and DiAdamo, Stephen},
  organization={Qoro Quantum},
  year={2025}
}

License

Maestro is licensed under GPL-3.0. The GPU plugin is licensed separately; see Get GPU access.

Metadata

Release files for qoro-maestro 0.3.16

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

Source distribution (sdist)

Source distribution for qoro-maestro 0.3.16
File Size Uploaded Provenance Actions
qoro_maestro-0.3.16.tar.gz 4.3 MB With provenance Details for qoro_maestro-0.3.16.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for qoro-maestro 0.3.16
File Interpreter ABI Platform Actions
qoro_maestro-0.3.16-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for qoro_maestro-0.3.16-cp310-abi3-win_amd64.whl
qoro_maestro-0.3.16-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for qoro_maestro-0.3.16-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
qoro_maestro-0.3.16-cp310-abi3-macosx_15_0_arm64.whl CPython 3.10 abi3 macOS 15.0+ ARM64 Details for qoro_maestro-0.3.16-cp310-abi3-macosx_15_0_arm64.whl

Total release size: 59.2 MB

Release files / qoro_maestro-0.3.16.tar.gz

Download URL qoro_maestro-0.3.16.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
2ccdcfb38b33205517eeeda79a7ef29686aa73004c21edc17b2c6afeee213d74
BLAKE2b-256 checksum
How to use checksums
5d7dbb989bcb021bbb673192261e2435584e01c5d18a9bb2c206449e8162042e
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 29, 2026.

Transparency log

Release files / qoro_maestro-0.3.16-cp310-abi3-win_amd64.whl

Download URL qoro_maestro-0.3.16-cp310-abi3-win_amd64.whl
Size 21.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f377af73c90ced4d931b4a98711533a23836f322f5d4af53d97c1760d5763f12
BLAKE2b-256 checksum
How to use checksums
d7d3f69add3864be4cd355f9d3c3535b3c99dac36659d5d74c26a251f25da10c
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 29, 2026.

Transparency log

Release files / qoro_maestro-0.3.16-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL qoro_maestro-0.3.16-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 20.1 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
13c135a534b29e18b9e413b3d0e3f099060c20b4fd48209dbe352125fee8b36e
BLAKE2b-256 checksum
How to use checksums
79700e8d8ff9064c63ba546541ba472fa34d2b1c59f8af4b4734d00feb6851fd
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 29, 2026.

Transparency log

Release files / qoro_maestro-0.3.16-cp310-abi3-macosx_15_0_arm64.whl

Download URL qoro_maestro-0.3.16-cp310-abi3-macosx_15_0_arm64.whl
Size 13.7 MB
Tags CPython 3.10 abi3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
ddbb423aba35d049339c13f6a49ced45340b9460aa5430965d6b8b5628aff137
BLAKE2b-256 checksum
How to use checksums
d6675f500b2223bbe39f5fa342e315a4ef7f966a76bdac0630d506f82ff5c011
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 29, 2026.

Transparency log

Security for qoro-maestro 0.3.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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for qoro_maestro-0.3.16.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 29, 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.

Release history Release notifications | RSS feed

This release

0.3.16 This release

4 release files Full provenance

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