Skip to main content

Python bindings for Maestro - A unified interface for quantum circuit simulation

Project description

Maestro

Built and tested on Ubuntu

A unified interface for quantum circuit simulation. Write your circuit once — Maestro picks the best backend and runs it on CPU, GPU, or distributed HPC.

Features

  • One API, many backends — compile from Qiskit / QASM to any supported simulator
  • Automatic backend selection — a prediction engine analyzes your circuit and routes it to the fastest backend
  • CPU simulation — statevector, MPS, Pauli propagation, Clifford/stabilizer
  • GPU acceleration — statevector (cuStateVec), MPS (custom CUDA), tensor network, Pauli propagation
  • Distributed simulation — p-block composite mode for distributed quantum computing
  • Expectation values — direct observable estimation (Pauli strings) for VQA workflows
  • Performance optimizations — automatic multi-threading, multi-processing, and optimized sampling

Quick Start

pip install qoro-maestro  # Linux, macOS & Windows

Or build from source:

chmod +x build.sh
./build.sh

For detailed build instructions, see INSTALL.md.

How It Works

Qiskit / QASM circuit
        ↓
Maestro Intermediate Representation
        ↓
Feature extraction  →  Prediction engine  →  Backend selection
        ↓
Execution (CPU / GPU / Distributed)
  1. Ingest — accepts circuits from Qiskit or QASM
  2. Convert — compiles to Maestro's intermediate representation
  3. Analyze — extracts features (gate density, entanglement, locality)
  4. Route — prediction engine estimates runtimes and selects the fastest backend
  5. Execute — runs on the chosen backend with automatic performance tuning

Backends

Type Backends
CPU Statevector (Aer, QCSim), MPS, Pauli propagation, Clifford/stabilizer
GPU Statevector (cuStateVec), MPS (CUDA), tensor network, Pauli propagation
Distributed p-block composite simulation

Each backend is accessed through a C++ adapter that maps Maestro's IR to the simulator's native API.

Documentation

Resource Link
Installation INSTALL.md
Tutorial & API TUTORIAL.md
Python examples maestro-examples

To generate API docs with Doxygen:

cd build
cmake ..
make doc
# Opens at docs/html/index.html

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qoro_maestro-0.2.8.tar.gz (333.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

qoro_maestro-0.2.8-cp312-cp312-win_amd64.whl (6.3 MB view details)

Uploaded CPython 3.12Windows x86-64

qoro_maestro-0.2.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

qoro_maestro-0.2.8-cp312-cp312-macosx_14_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

qoro_maestro-0.2.8-cp311-cp311-win_amd64.whl (6.3 MB view details)

Uploaded CPython 3.11Windows x86-64

qoro_maestro-0.2.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

qoro_maestro-0.2.8-cp311-cp311-macosx_14_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

qoro_maestro-0.2.8-cp310-cp310-win_amd64.whl (6.3 MB view details)

Uploaded CPython 3.10Windows x86-64

qoro_maestro-0.2.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

qoro_maestro-0.2.8-cp310-cp310-macosx_14_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file qoro_maestro-0.2.8.tar.gz.

File metadata

  • Download URL: qoro_maestro-0.2.8.tar.gz
  • Upload date:
  • Size: 333.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qoro_maestro-0.2.8.tar.gz
Algorithm Hash digest
SHA256 690c035c68c95f791a6951e89d14136447d4b1cb85487005ffcbd6145ddebcb7
MD5 a4e193777b953c803e06335e9298505d
BLAKE2b-256 f4f2f2cd6949ff73e5c42f470734190482f7f55c92895cddb4317ea7e758940b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8.tar.gz:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 deaab7cfb6c317bdb4ab62c696fe023c83ead30124d2505e8561915e6e9d37b6
MD5 718ecbe7e8e65ef6c0f748178213c264
BLAKE2b-256 24f673778be16cd12c0bad24cc37dd8bbea8c1009bf6c04961fec05be5bf6329

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp312-cp312-win_amd64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 6c78e10fd9817f045bccce98b8ef646bea96c7431e22a6fc23e8cb041fc11a77
MD5 980e93809013da3f799c75dd3cf0c790
BLAKE2b-256 2e1c07c1568def30bd6b5662025184a853d9e5e9b60160e68332dfce25e33fdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 84d3a9796e9bba7b9e4d65cc6c4d06ec085909cb95b528aa023f7db53300c878
MD5 9c0179edfc1b1f7b666aac9a270f675f
BLAKE2b-256 788dcf660ffcc67a14c9ec9f997e8d08ae21fcc5bfb3da2efe71bafac47aa697

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5d3fd6edb060ee769a9dacf95363d204d7888320b87ca8e42673deea3a55b04f
MD5 6c95e63626f2af783f3737b9c826ee62
BLAKE2b-256 a2d860eb2e610bdda006f5a771cb80f38123fe187a860918090579ca25842eed

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp311-cp311-win_amd64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fa3c289b9c6d4ca204ec0a6b730a319cff54491c8cfd1295b6cd12f075b340e8
MD5 5edd1969da600f1f0a03f4a5a1543b77
BLAKE2b-256 029df3b8d94648641fa241edd5cf8b3893b33cf9a1506e3e46af82ef466c267b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f76988a32fb4b96d82b5ae88c1b1de0d1ad580f440b49eddac894b7be5c84f0f
MD5 8d9037ef0faf66019481778c04f0901a
BLAKE2b-256 ea193e379b6f16f8af18bb49be1c45e6c02c89a5386fb9f47b1aef3acbf228a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8599d7b307ae5fe0b915c753fbfafb41078eb53dd9141eee4e4275d10f0b802d
MD5 a11e0ce04d402529e3835a6f5ec96024
BLAKE2b-256 0bfa12e7f9dfe121f3915ed79118dcf8684b4b201607fc1c8481300cf2878881

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp310-cp310-win_amd64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 6bd3d1b43d5ce0ec4363e8cfa680ca9ab2ef4d3ca8e372284106cf02a895a3ca
MD5 24fe29407826d80f3fc1c7ee111ce183
BLAKE2b-256 a10ec8db7ab65e589b038739b869b82d472e00eab188e68d8601caf298c9f883

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qoro_maestro-0.2.8-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.8-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1f9c9251a01fd0efbe36c1f95febebd97144e219c4faa22f63ca3aaa1358a07a
MD5 92def1bd1afdf23f8c4f61f7d5e53865
BLAKE2b-256 4477b634518df24758747f67bfc92e93aba7f0f19798bda32c211bc95ef2af9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.8-cp310-cp310-macosx_14_0_arm64.whl:

Publisher: publish-pypi.yml on QoroQuantum/maestro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page