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.7.tar.gz (331.9 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.7-cp312-cp312-win_amd64.whl (6.3 MB view details)

Uploaded CPython 3.12Windows x86-64

qoro_maestro-0.2.7-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.7-cp312-cp312-macosx_14_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

qoro_maestro-0.2.7-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.7-cp311-cp311-macosx_14_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

  • Download URL: qoro_maestro-0.2.7.tar.gz
  • Upload date:
  • Size: 331.9 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.7.tar.gz
Algorithm Hash digest
SHA256 5fa65140fee1b30cc697ae7388bfcaab4d298d02910258915c6e6e02586c1dcb
MD5 16c78e0c7dc7a4001eb7298badf9b260
BLAKE2b-256 bfd8883d6ff946679445ebc3b6d5ee77da2e8e33be3c719868078aaa3c26ba91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fe0154978c92b94dbf7d6dd0c7d83c00b01578b5ec14fd7c843c94e6856e288a
MD5 8edcbf41f5f5fc6daadeffc879d0136d
BLAKE2b-256 96975f16753b2d09f2373febceeda4b677e3659287ff7e361ee1285dfe710094

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 777afac3546bb960781a24ef79d9c65dfc9609188d249959a81114fd6cdd4978
MD5 379353280ca72ba7cf693f3d82e1bce3
BLAKE2b-256 fcd7e5bc081747eaeeca8d390fd2f89dc82409a2a2181137fefe4a4a58be6754

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 85bb86415832dd85a3e809e41ce3b1032bd9382882d3fc67d01d159d7b1e42f1
MD5 85cd9bbb9aaddbb1cb9a8cea2f100c45
BLAKE2b-256 0134576498984044ced3c76db4af8a878190399bdb12bd2aaa65d0780257aa9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5eef3fb33b1f6c269bf76ef1870dcdb916b7c97aa63558552c67c15643af106e
MD5 bc960e65267c7e486587b0adda6d3278
BLAKE2b-256 323f5a7d78f0ae7734fe7d2f18ab9e2967357d61787c52b8ce6293da1e8aec68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 eb01d98cec4acf8c6c517415113d9a9ab0ea66ae888659fadaf7f5443f116587
MD5 7cc47bb501d3af8324165d121d4aaf8c
BLAKE2b-256 74fbd379b55cf7e99e5cbfe66cbefb605d676829c02b6c9fc86e62c822434e3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 987be24e31d3644929e9d58ac567fe5773b60ee2ff477557e453c37586ffb592
MD5 d0ec24e5c74c85b2a6eb0988bf2ce7a7
BLAKE2b-256 e4d53d76f03aeb45a2fe91c6aa73dd15ba8630c6cc5ebef30c0469b46b9f030f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4548c601fec763fccf5d7bf59a1dac3a19669c4cbd093997cfc2df91e5074258
MD5 0a3175a90e4225541e316481ed29c109
BLAKE2b-256 56fe234b9645085300f252884e517d5eea4942cb0e9b9c51a32cf194bc4f258c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 a1de903147560d92dbbf2364655a9fe5520fa4d0d4c402fed1528879424fe776
MD5 e21d80222c5bd8a67cf96da8dc38cc4e
BLAKE2b-256 ef16fbeb33749f693e02b1b26837cd02b7ec12cd0962d88fb608ded74a6005a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.7-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7d3fda0c6b0d1b756dd4c7c0261cf4c4bb1bdee3428aa5e8ff875ada8f4a59f9
MD5 6b4a91c23530ef6ae77c77ba6b789102
BLAKE2b-256 031e7b244cfec840b3e0d033f97566f0130d5c57cce42cc350619a3a3d7c9d78

See more details on using hashes here.

Provenance

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