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

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.5.tar.gz (313.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.5-cp312-cp312-win_amd64.whl (4.4 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

qoro_maestro-0.2.5-cp311-cp311-win_amd64.whl (4.4 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

qoro_maestro-0.2.5-cp310-cp310-win_amd64.whl (4.4 MB view details)

Uploaded CPython 3.10Windows x86-64

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

File metadata

  • Download URL: qoro_maestro-0.2.5.tar.gz
  • Upload date:
  • Size: 313.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.5.tar.gz
Algorithm Hash digest
SHA256 32bbea35df0a90b6442d577f26dd94cdefd8e9fb39ba893e135144c0aaf57605
MD5 f9e1a8cc9d56a0cdf5b8386b3d550366
BLAKE2b-256 d551033723fdb7ef278d15d7930b2bead7c9f23642ffc6e082e0d69694617f1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 005b5f77ef4adeb2406079f19064df3695d6bd6381fe70e15d047fcbb32168bd
MD5 69ca57372c594bee20eeff00326ea73d
BLAKE2b-256 0dd172e1ee3a514ba710127e37e2bef52e719dfd55dfb1babfbcc016aba27a84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2d7a7a015e485c58ad8aed9793e234f2c89d751a6b64f9fce3dd02bc6f88ebe0
MD5 0a827f9956fd99ad6e363f67af3b265c
BLAKE2b-256 1d566f60f91663e4c149f4083054663c928ca5b7b54cb0ff43cdaf3473909f66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 15d35bf0067f7e940857adb9b4dd6988fec050669bb5f15c42fdfc1910e7e215
MD5 a5f7af8aadfa372f2ac34c9080201f5b
BLAKE2b-256 00a1da25be7e597336768707aa601ac450c9f2b28eaa936c3a59dc0808fbf766

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 09ef9140e106df86e469ef2b7f8d01dd37d2a61efaf74a5104ed9d7e832e684a
MD5 e02ea580525aa0e0d1ab86f83ffed34d
BLAKE2b-256 21c88d49589a234d42d530ce165e55922c193f19c58b26f489f87ac7da333711

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e782732265ce4dfacbf74fdf4543a03d34b8a43a7314a9f2559066972327ab43
MD5 27fa942a74b4695a8f04c36909e36bd4
BLAKE2b-256 f5813848e6ffef7f1dcd80878d8383cdb1c76ee07b30704cbaafbcd334c85048

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4dd92933c0c41d21bcd59c1b2b50fb1388ffb5762ccf337c1b8a22a628e342a6
MD5 35bd7a1a74029e335c7e87abb1c2fb0e
BLAKE2b-256 e9eb0c61a5293a2c69e177da8b6117961962c6f5eb81c43ca23ed94a8b00c2f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d28a2195d379e381b94d020b17fbe9fd09feeedf4374b1a0d7fade9e97cb88d2
MD5 89ea354622e7193178aa116c4d42cc75
BLAKE2b-256 9fa31a09110894e48dab130709eb050443d2997a7c80ff4592e97f89fe8d269b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 47899ab2eb0fc78a0ee1b3d72f4e1cb4e477cb2aeb2d0c6772163d68d9580dad
MD5 b9c8270c6740b4e5da1d8aa3cfaf856e
BLAKE2b-256 2dbe282464d4e01c977d780d27a509247c81d2c1990a53b4a480fd269b38e220

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.5-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 36249456a601aeb210a07a7b2897f739602b48fef38347e9512566635049dede
MD5 2aa3f4323deb2ee7b032a32acb2f4c8f
BLAKE2b-256 6a67a597e2ff6a8b77a08b1930c555235f73c77485e0cafd098f142265ce6e1f

See more details on using hashes here.

Provenance

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