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

Uploaded CPython 3.12Windows x86-64

qoro_maestro-0.2.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

qoro_maestro-0.2.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

qoro_maestro-0.2.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

File metadata

  • Download URL: qoro_maestro-0.2.4.tar.gz
  • Upload date:
  • Size: 310.3 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.4.tar.gz
Algorithm Hash digest
SHA256 25976d6a81f2d3454b347e5884b1d817f3b82c98f4e2ec15a7f2ef26285b314e
MD5 1f5758577e280b4bdbeff22c8bb9ae3e
BLAKE2b-256 0c1dfa5dbc0cf5b1b2396405cfab86b7bf284674d40dffa5c3f9ab71b1983a28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cb215838c38f9bd200aacbc49ded712b1c0fc8ee72e6df8097e6445f38c92893
MD5 a7b6e63a917bd656f40c48aad2c703c8
BLAKE2b-256 293fa5c38031c3e9ae7e036067ee94debe61c677282c6bd9265606c8947bf119

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 6dc6466be7eb9f2a08d25447afd8864bd055c68ed95a1569fdc245279f9a025b
MD5 a7442427f5b488a4f8ea5bfdfaebf3ab
BLAKE2b-256 c0f4fc64f155fed64d2f00cd482dda033ed7ef738bb337e23667827283890371

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0e58b538a009865d024bb217d03b6838f30af8906308c42bfc082b1d4e2cf242
MD5 eccfa33c962396ccb3aad975796770ad
BLAKE2b-256 6796c603b00e6f5adefbe71be27c9ac01a7cc5bbb47ec7e662a965632787e622

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 42cce2b08ad9d55726f299c03445eca7d3572e3a8451cf8a8a9acfacf1febae2
MD5 32e33d7ddf3b65009f094606a5fe4405
BLAKE2b-256 6458b5e14b8a5418f4cb1c10d0f4bb0ce39c01ad46fe97cc7a177b7efafcfead

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fc1662247602808e423ac644eccb8ba51971ac85deb6b152d9feaa2e51df5f25
MD5 ea0ac1268461699bd863f3a08e3e8bf3
BLAKE2b-256 64f3a33885766837a6a6129c999ed98395d882bf36c26687fed9895158bdc1ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2b6e89f1d784c94e61dace1f4c7906aacc1ba57020343ce35508a9a66cd538ee
MD5 932380413d0ae90edd42590ab2bbdbff
BLAKE2b-256 6fbc7a25453203543d44c0a2f6c4fe4f2b6adedb24a5eec48277c052cc9a4e0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 25d2ca89197673bf602006733f694343c41aab60d4be45dc4cd52e833bd82316
MD5 e487c687da57a1a4486bf25848b5667c
BLAKE2b-256 42af7a308618f1391e5cea6b32ded39e07e8011d2695b4dd562e6b3f1a31f087

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e606258f01db8e4b023be848c226ed691e269b9fb053b5fcdb45dbca65126191
MD5 3c5ab84bc40c8803425085ba3c651bec
BLAKE2b-256 c06697803358d4b736d4afe7266d4135c5c08cd8cf1346ededc59e933d566438

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8586fd014e53aba068fd3e25d607a0750b47e59b19daafd346ed2e3643e35940
MD5 5b1b62027d2ef725196b809fc2cce962
BLAKE2b-256 f98c68067b58a12ea1fa3fd6447a9182fb8bf1e1076f863878e0f9292439be1b

See more details on using hashes here.

Provenance

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