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.14

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.14
File Size Uploaded Provenance Actions
qoro_maestro-0.3.14.tar.gz 3.9 MB With provenance Details for qoro_maestro-0.3.14.tar.gz

Built distributions (wheels)

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

Total release size: 54.9 MB

Release files / qoro_maestro-0.3.14.tar.gz

Download URL qoro_maestro-0.3.14.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
2f74064f6b545b521bc425fef0f5796a386632015655db182d777c83005c654a
BLAKE2b-256 checksum
How to use checksums
df41537babe2207036c1478bfd9040622e2a4a7e4fe314e6f341b674d3efb3f0
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 11, 2026.

Transparency log

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

Download URL qoro_maestro-0.3.14-cp310-abi3-win_amd64.whl
Size 19.8 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
86b67b2b7ce7f6fa495f5a29f37f338e98136242437ab3ebf2ce6739893c36ec
BLAKE2b-256 checksum
How to use checksums
f8dc57d0e9de76e5f7e561ae6577e32e7256f0331970ca3c809a1b6580bea452
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 11, 2026.

Transparency log

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

Download URL qoro_maestro-0.3.14-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 18.4 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
f564ab8c5c3e13c06d1e0ad3ce4c3437f8a8d9e651442a1f46765e9849738a5c
BLAKE2b-256 checksum
How to use checksums
1fbbddeb1661f014bda39f130af397f9098e9745a7f1e04fbb92209b15413bcc
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 11, 2026.

Transparency log

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

Download URL qoro_maestro-0.3.14-cp310-abi3-macosx_15_0_arm64.whl
Size 12.8 MB
Tags CPython 3.10 abi3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
4811fc76a76974b9de231593f2017c60bc3d5173973428e3d518b2cb6c51f7d6
BLAKE2b-256 checksum
How to use checksums
df728dbf2a8ad5b86512189a190379fa9dadc96ad2ccd31c38087904daa64a6e
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 11, 2026.

Transparency log

Security for qoro-maestro 0.3.14

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.14.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 11, 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.14 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