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

Uploaded CPython 3.12Windows x86-64

qoro_maestro-0.2.10-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.10-cp312-cp312-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

qoro_maestro-0.2.10-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.10-cp311-cp311-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

  • Download URL: qoro_maestro-0.2.10.tar.gz
  • Upload date:
  • Size: 351.3 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.10.tar.gz
Algorithm Hash digest
SHA256 e8d043bd83d1e4d6ae40d143634eeb6ae55324d511b36b817f497817d2c747d0
MD5 c01c366b7a0b2279c0d07465a2e3593f
BLAKE2b-256 c95110c3e733e28ed72977012b5bbf3aecd10b47ac62ded2738deaa9b35c88b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 79a0b7b3d9956ee4df6ea560427cdd2895aa147e83d3ce9a53e4dc4ec30d2900
MD5 53b94b310801e4e3e3f76fa32add0175
BLAKE2b-256 a82467dfd91b5173f590089af2a7d4f719d3ba44d67a0db75b88d490825b2b46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 42dd25c3b93f508ba40a6b7d8c0d35027e1d43bc8139c1ee91e55c4fce3134ac
MD5 f23c817734c83e7159ff273ab7dbd345
BLAKE2b-256 1113e39e8225d305d27166c9ea58963b8b48718c53a55060f876d5edfd912fe2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3b594028ef14a8be39be8c2fac18e87ba143110ad12f207e3fa4279f45550af6
MD5 a1a990fb4ddb025bc8abcfa7e81d08b4
BLAKE2b-256 3049948ec2842ecd691094cfd7630b85278e7bb4fd43f66395cda62288b7e86f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c6ae9d4facb098dcdcc5fe83f5201bab85197dd94a37583f5e3b41522f6509e8
MD5 6a314a9a05f3937c3039f85fdc28fee4
BLAKE2b-256 cf08c2e9257cbbc7cd7ca447ebefce8f3eddeebd67388b16b2025e508d5f9506

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 00d9269a098f34b2931af8309a0a17a3bba062eb79a583e5298f78d4cae4ab6c
MD5 f53feb49bdc297735b4ef679776e661f
BLAKE2b-256 0b00fddc94167290ccf0a1d42d29e43e041600c2d5cdb03a3557befb92bfceb3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 31c960d855e8115a0726c0b03ef89a0aea004474e5e3c35f79f3ae5bdce9f0a7
MD5 fcdf36648055c8a5ca565d1885874ddb
BLAKE2b-256 0f30f1f7a6a50b1eb2e185866de789904b5e09faac516ceec958cecac213f7f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cd78bbfa78ed47dfcd204d322cb0138cc5054a652956471bcd78b0ceba575f0c
MD5 813e387cd8ed33ef03d1159b1412f982
BLAKE2b-256 e408dc6a5d598c10905237021f746bf138febb8b72796cd81a55afef733cbb4b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 97eec8e94d9b217362ebddef1b20292c9628031a229dca79406c3169f46455ed
MD5 75b280b9c18df970560fc7d942eb14a7
BLAKE2b-256 9b70b81c877f98c282fc39243d3e3c20416a2947e63fc1843f00a44055c73682

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.10-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 45c6a5cf18b0832e9623ac0d39c25f3c30429e9bfc2aefd0ea75330a7342405b
MD5 268913e1e58039c2b24fc2280216f7e7
BLAKE2b-256 e5f7171c8950c5d31f95c10fb89f8133a700aa3c4a04f99458739fafcdaeb6f3

See more details on using hashes here.

Provenance

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