Maestro
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
libmaestrodirectly, 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.
Related projects
| 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.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qoro_maestro-0.3.15.tar.gz | 4.0 MB | With provenance | Details for qoro_maestro-0.3.15.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qoro_maestro-0.3.15-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for qoro_maestro-0.3.15-cp310-abi3-win_amd64.whl |
| qoro_maestro-0.3.15-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.15-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
| qoro_maestro-0.3.15-cp310-abi3-macosx_15_0_arm64.whl | CPython 3.10 | abi3 | macOS 15.0+ ARM64 | Details for qoro_maestro-0.3.15-cp310-abi3-macosx_15_0_arm64.whl |
Total release size: 56.5 MB
Release files / qoro_maestro-0.3.15.tar.gz
| Download URL | qoro_maestro-0.3.15.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
113e8caa3304f844b2f2cf4bdb686a0bcf7be548aca1b6ef13e0b5f12105332b
|
|
BLAKE2b-256 checksum How to use checksums |
e2c620c2a437c2dd52b06c28c8c0272471aa4ce6ed2d36ab552b68254175133d
|
| 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 15, 2026.
Transparency logRelease files / qoro_maestro-0.3.15-cp310-abi3-win_amd64.whl
| Download URL | qoro_maestro-0.3.15-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 20.4 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5bebe6ab34667ebc1a88d259d0be6052275e7d8b00937ac8bebb24d27f4a0857
|
|
BLAKE2b-256 checksum How to use checksums |
4653b3dea4438db4602531487fcc03e34c52c3056815d996ee0494f38fd88c82
|
| 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 15, 2026.
Transparency logRelease files / qoro_maestro-0.3.15-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | qoro_maestro-0.3.15-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 19.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 |
cbf3b36424c33a8924e52ad5815afc1b127e6b44b5b49daaa695e4123f85b9bb
|
|
BLAKE2b-256 checksum How to use checksums |
ce16b1bbd0bd81ddeeb4f3104e7342dabcf56a4940065c0fc85ebf1ede79fa32
|
| 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 15, 2026.
Transparency logRelease files / qoro_maestro-0.3.15-cp310-abi3-macosx_15_0_arm64.whl
| Download URL | qoro_maestro-0.3.15-cp310-abi3-macosx_15_0_arm64.whl |
|---|---|
| Size | 13.1 MB |
| Tags | CPython 3.10 abi3 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
37610c32601dc33d284104d3d5eb61b71db5d495d437ab54153ddb9e402517f4
|
|
BLAKE2b-256 checksum How to use checksums |
384defe37279fd56a620869d653fa404a62c10f1ebb63bf9b2f2ebc1043d730f
|
| 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 15, 2026.
Transparency logSecurity for qoro-maestro 0.3.15
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.
Attestation for qoro_maestro-0.3.15.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 15, 2026.
Transparency logA 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.