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.14.tar.gz (410.4 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.14-cp314-cp314-win_amd64.whl (6.5 MB view details)

Uploaded CPython 3.14Windows x86-64

qoro_maestro-0.2.14-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

qoro_maestro-0.2.14-cp314-cp314-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

qoro_maestro-0.2.14-cp313-cp313-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.13Windows x86-64

qoro_maestro-0.2.14-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

qoro_maestro-0.2.14-cp313-cp313-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

qoro_maestro-0.2.14-cp312-cp312-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.12Windows x86-64

qoro_maestro-0.2.14-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

qoro_maestro-0.2.14-cp312-cp312-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

qoro_maestro-0.2.14-cp311-cp311-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.11Windows x86-64

qoro_maestro-0.2.14-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

qoro_maestro-0.2.14-cp311-cp311-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

qoro_maestro-0.2.14-cp310-cp310-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.10Windows x86-64

qoro_maestro-0.2.14-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

qoro_maestro-0.2.14-cp310-cp310-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for qoro_maestro-0.2.14.tar.gz
Algorithm Hash digest
SHA256 68a32a67d679dcf5c72b4ca56ca01c6e845ac0621ffb07ac37e2d53f891aaef9
MD5 c9251aeb547c663a63029fa0330676bd
BLAKE2b-256 7a4c9570ca7f3804bcfe4dd3a47b3d467e9db086c73d6eb0061a1215b985173d

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14.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.14-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 33e1c1829bf9198788b7ea884d61f57e5cf33a1f706ffe5928d14dfe624a0ef0
MD5 962bbcb1568d50aa63cd5d0b5aa71ee4
BLAKE2b-256 6a9c1a77c1a08ff31bf7cafbb1d9ecc2ad0f72259f684c6d716f5efd635d3df5

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp314-cp314-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.14-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a64f1aadf65f3fb6b9b81f66dd0419226c2994c5569b4146fc819b33a686ef4
MD5 9c7ce16ae836ba1ad41ae7f1cd5fb7f2
BLAKE2b-256 3dcb8739e62ca69237f7a5f925ec405d2e3449b7b681556d077a0634273c5d56

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_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.14-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b7e5a8936a66ea4266cfd3e4a043e360bcf891671ab5a3fdd73def59facb9a44
MD5 92a53c35c68d67c0e4a820f9fe280400
BLAKE2b-256 b53076b5a64c0809d1caab58722ef62381e51b94f872eb0a639dfcc4de3a65fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp314-cp314-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.14-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1cc76a166923826393b87f23e7cb67e165112bc244ec35c86cfdc3848daeb66f
MD5 c0df07c9fa020e6c7d8fe75f27da086b
BLAKE2b-256 1dba3ec739d46b97a6834c7215d37b38baa8766dd6e0519e368486958c02de51

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp313-cp313-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.14-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2dfacb2f85faeb845ec6d6825ea259675dc55380f79c7721e1895f8a46808932
MD5 91e2c626ee5eefb1ad1389c27ff68ee6
BLAKE2b-256 330d83fc27e2dfe279d0c1a080c8aeee1d3f644643c4fd16409195237c0a96f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_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.14-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 be0c9c721a592abadaba1ccb7bf767e0e533a80a0c24deae8f81788a9ee3a306
MD5 1b4ab3d089c957914aa23d774cd18009
BLAKE2b-256 3d5280ef71162574512ac8e9e33bd51fa7d8215a080822a9b66aafb74c38d6ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp313-cp313-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.14-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b2d59d7016e8e5c75b74f741ed994771e3e8d84ae0d5799e4891571faa7dd540
MD5 a48f96229489aab9e1821dc06b868ee7
BLAKE2b-256 11ce2f9f7d0d7b85e6e858c16072afe6833b71076bcaa8d6569ef31369f55380

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-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.14-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4e9141d72d49b8bca902683604ac8137fdf8b5223926c4de8aad29af2e8f3e05
MD5 f1d0bc1400fda09a0d26f62b9973fae6
BLAKE2b-256 c87f5fb5e5858b8d9b3afc98d60f0c535665d876035f5c9631710ba98ab868b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_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.14-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f069cec2820cc29e47c143c0669760e07ca047b3b3d6d432ee333593057fb0b9
MD5 37bb9708789590b9bc71d0b4d423ee3d
BLAKE2b-256 f398c78c3677bc20179752557e6cf12b185d9b1701ae40a578c0a9f8d14d5dd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-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.14-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 54db4a9832f2f5e98ff59b947bbfd95fd84ef59ab2d649f15c258cdc5337d505
MD5 201634dabdb54efd56c1e7fd76e9d72f
BLAKE2b-256 084af872ba641208c1b5575f6d2420990658a4e54d2cdc7637d51fcd5af94800

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-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.14-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b146002fae29e5e60bc691bb334507a13cf4de15d8d2107659a785dfd305c4d3
MD5 fea65c4a6251cdec11305a9f81229bb6
BLAKE2b-256 df29b54150718a63cdad89f66f56d57ab78de1d919fbeeaeaa0770dda13b9dd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_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.14-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fa15371bf69854c28d9b851686dbbfde77ab093455277c910cb06830478e65bc
MD5 377d92035ee2153d207265045a465dfd
BLAKE2b-256 fae2fe4a2d6dd7f2c31f3f79378cfc91790af77e0aa032a710c01572fcdb8466

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-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.14-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 34a6dcfc50b0dd004747607778f7a6a7409d2740778da978986ee8874db508ac
MD5 cd164bd86d20442c96414f70d9493ded
BLAKE2b-256 bcae5471e8430df706b465dc0d27126d44bab9335e63a9007e813f4d01f527e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-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.14-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 66b94eb091703e57d3003023d7f3606c56b1030955682597c37cede7190bd2ff
MD5 307c063f135cf02a0381b850548b7229
BLAKE2b-256 c13d9d0eeef2b45a6ae7a9b8c04d4780471ed283fa7f0e3963e3b6de664dd1ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_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.14-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.14-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b72c8e09436eafeb4e32ca385c9960b9fe2b5cc8878c9c6904e6985407d53dd7
MD5 5e23506b91b7d939da1db85ee3ba1b9f
BLAKE2b-256 f21061d97dc5f2ee9cbbfab91ae2b2711447bcc3cea56005cf6af84c7dc1f95a

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.14-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