Skip to main content

Maestro

Build and test

A unified interface for quantum circuit simulation, from your laptop to GPU workstations and MPI clusters. Build circuits in Python, import Qiskit circuits or OpenQASM 2.0, and run them through a common simulation API. Maestro also provides C/C++ interfaces and a native JSON request API.

What Maestro Can Do

  • Simulate ideal and noisy circuits — sample measurement outcomes, access states and probabilities, and run circuits with mid-circuit measurements, resets, and classical control.
  • Choose the right simulation method — statevector, density matrix, matrix product state (MPS), matrix product operator (MPO), tensor network, stabilizer, extended stabilizer, Pauli propagation, and path integral. Select a backend explicitly or use Maestro's prediction-based backend selection in network execution.
  • Accelerate on GPUs and clusters — use NVIDIA GPU backends, distribute a statevector across local GPUs, or scale across nodes with MPI.
  • Model hardware noise — Pauli and coherent errors, T1/T2 relaxation, crosstalk, readout errors, and time-correlated noise, with Monte Carlo execution and exact channel evolution on supported density-matrix and MPO backends.
  • Study algorithms and error correction — compute Pauli expectation values, inner products, and mirror fidelity; use Stim/Sinter integration for quantum error correction sampling.
  • Tune performance — gate fusion, optimized shot sampling, MPS/MPO swap routing, configurable tensor truncation, and parallel execution.

Quick Start

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

pip install qoro-maestro
from maestro.circuits import QuantumCircuit

qc = QuantumCircuit()
qc.h(0)
qc.cx(0, 1)
qc.measure([(0, 0), (1, 1)])

result = qc.execute(shots=1024)
print(result["counts"])  # Approximately {"00": 512, "11": 512}

The default is CPU statevector simulation. Reuse the same circuit with a different backend by passing a maestro.SimulatorConfig to execute().

For source builds and the C++ library, see the installation guide.

CPU, GPU, and Distributed Execution

Execution Supported methods
CPU (QCSim; optional Qiskit Aer integration) Statevector, density matrix, MPS, MPO, tensor network, stabilizer, extended stabilizer, Pauli propagation, path integral; availability varies by backend
NVIDIA GPU Statevector, density matrix, MPS, MPO, tensor network, Pauli propagation, using CUDA and NVIDIA cuQuantum libraries
Local multi-GPU Statevector distributed across GPUs within one node (DistributedGpu)
MPI + GPU Statevector distributed across MPI ranks and GPUs on one or multiple nodes (DistributedMpiGpu)

Maestro also supports p-block composite simulation and an optional QuEST statevector backend.

With the GPU plugin installed, select a single GPU using:

import maestro

config = maestro.SimulatorConfig(
    simulator_type=maestro.SimulatorType.Gpu,
    simulation_type=maestro.SimulationType.Statevector,
    gpu_device=0,
)
result = qc.execute(shots=1024, config=config)

For larger statevectors, DistributedGpu spreads the state across local GPU memory. DistributedMpiGpu extends this to MPI clusters, allowing simulations beyond a single GPU's memory capacity. Both distributed backends currently support statevector simulation only.

GPU execution requires the corresponding acceleration plugin and compatible NVIDIA hardware and CUDA libraries. Distributed GPU plugins are Linux-only; MPI execution additionally requires CUDA-aware MPI. Run the same program on every rank, with matching simulation calls, using a launcher such as mpirun. See Get GPU access for plugin setup and licensing, and Scaling: multi-GPU and MPI for device selection and a complete MPI example.

Documentation

Browse the Maestro documentation.

Citation

@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

GPL-3.0 — see LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html.

Metadata

Release files for qoro-maestro 0.3.11

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.11
File Size Uploaded Provenance Actions
qoro_maestro-0.3.11.tar.gz 1.1 MB With provenance Details for qoro_maestro-0.3.11.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for qoro-maestro 0.3.11
File Interpreter ABI Platform Actions
qoro_maestro-0.3.11-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for qoro_maestro-0.3.11-cp310-abi3-win_amd64.whl
qoro_maestro-0.3.11-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.11-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
qoro_maestro-0.3.11-cp310-abi3-macosx_15_0_arm64.whl CPython 3.10 abi3 macOS 15.0+ ARM64 Details for qoro_maestro-0.3.11-cp310-abi3-macosx_15_0_arm64.whl

Total release size: 50.0 MB

Release files / qoro_maestro-0.3.11.tar.gz

Download URL qoro_maestro-0.3.11.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
711829ccad2594e6a0e29a10d122f4442e4277fbd8fd6082c8e6b6d2eda02819
BLAKE2b-256 checksum
How to use checksums
36148cbfe7e85f8f1b09cd70512f4e7002eb1c44ebea263284c33bb4ed020806
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 1, 2026.

Transparency log

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

Download URL qoro_maestro-0.3.11-cp310-abi3-win_amd64.whl
Size 19.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d9dca7f69970e4d480677adef2fc3569bc7f90b5e94d89dfd636957e8965172f
BLAKE2b-256 checksum
How to use checksums
230ead9b108ce27713f37ca6c5f9f642d22dec19e6dfd079b81de73a3170ffd2
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 1, 2026.

Transparency log

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

Download URL qoro_maestro-0.3.11-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 17.5 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
d2ce92b453b8efdcf6aef985e3c72a4f464a8a34c57eff8e5420f855213d205a
BLAKE2b-256 checksum
How to use checksums
68a49670e80d64e0d14d31ff87d98d909be7cb4dec58af4a46b3b3cf0b17c400
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 1, 2026.

Transparency log

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

Download URL qoro_maestro-0.3.11-cp310-abi3-macosx_15_0_arm64.whl
Size 12.3 MB
Tags CPython 3.10 abi3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
bc0f3188a210bdddf6283910b306778c5e05fa2c7401debb2259bab400de5608
BLAKE2b-256 checksum
How to use checksums
7df8dccade7892f84eab257b6f5210cf9381b122fef40825d0000ead03d4aee4
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 1, 2026.

Transparency log

Security for qoro-maestro 0.3.11

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