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.9.tar.gz (342.7 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.9-cp312-cp312-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.12Windows x86-64

qoro_maestro-0.2.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

qoro_maestro-0.2.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

qoro_maestro-0.2.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

qoro_maestro-0.2.9-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.9.tar.gz.

File metadata

  • Download URL: qoro_maestro-0.2.9.tar.gz
  • Upload date:
  • Size: 342.7 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.9.tar.gz
Algorithm Hash digest
SHA256 50b549b40c983101906f68267e4a22b38e8cd6bd406180178eca4faa8e66d89f
MD5 44bee421febce684a39906a5a5f23449
BLAKE2b-256 e5722c58b825a411bf2e5de4f277a78289d35810858bb264c0d8919c7bdbe7f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 28cc77257e046148efd48566fd0ba6ac74a1a96619b13fbbd1f730c357ff8a19
MD5 523634afc0110b555d15e6447e2db99d
BLAKE2b-256 f6daaa30e722fdabb3d09e7618cc4a6e4b1e07c7028ae9e41bcdbfd4221e597a

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.9-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.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 45e50cd594031fb1807a04aa335005f8cefbd5b7ee4e7f083261c2625e6f7499
MD5 550c03019e528e8aaac8c684b14c7f97
BLAKE2b-256 285e730bc791a74012479d42c0d14a5ed85d82d937c9246f5a7253f142381d1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.9-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.9-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ac14cdc703817fd5e4de3e984de7a516fad37e9f6ec39706cf5145e4a5685d05
MD5 662d8ef59608d9be23e2de6e00e220ba
BLAKE2b-256 abd6e0edeff8b3d1301ba5ae8cfa11df42879a0dff0c2d672792f3b577c72ee6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dad6efa467248159e114a0c1dba82860e51c4abf798200dd885a91f574283f6b
MD5 0fa1ea1f521148ce490dc35216a71ba5
BLAKE2b-256 7e06580f4644b1934afe5504ff6fc354720b52a2fd704c4a484c988b505e2cbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.9-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.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 065ce37173cfc0d134f08d2b0cd31c56eb9e6b30f0c77d4a29789bf0e8321a74
MD5 609a4797c458e2c3b059a3efa756c0da
BLAKE2b-256 6b2a2ea39f75637ee1134226b2f25cfe328fb0c9d096dcc55b1c8931eba7158e

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.9-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.9-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 686fbb1e8a9119d2793a69e541e1dd67eebdf3f7f83ef15ba670affb3677a54f
MD5 d81e6cecb9a7138c4936a0d872b2c904
BLAKE2b-256 24214a495cb9c7395bbb92ef34e76c51288d309aee5b286d443f8cc47bd457c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 86d3f01ca00a1870182e7258594b51dc7f015b12183c5943f4c82e704be72735
MD5 10572a515d223d564af976338b14bb8e
BLAKE2b-256 a657de5c9b956491534333fb8854a85c38d0d0aa3475b6c805bf077d34d41cc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.9-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.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dc4c587df4f94b51f017954adfb22da9f62648489db0d60abd6cd79a19849306
MD5 4f2e16913710c02d28799b2fb0ac4c58
BLAKE2b-256 3607f1e375873ecce23ba7eec3ddccd65d6e4698272dc23a94d9f1ed94eb685c

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.9-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.9-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2a6b4a07b445d23b58566d47f2091540ed1cc314bc728f3919754cfc50cadc5e
MD5 73f9722b0b134185bee8ccea464e2e07
BLAKE2b-256 388cf2c479dd4345b86d07eff3fd78b6754071ff9093ff28a086605f1c43ba3c

See more details on using hashes here.

Provenance

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