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.1.tar.gz (308.4 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.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

qoro_maestro-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

qoro_maestro-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

File metadata

  • Download URL: qoro_maestro-0.2.1.tar.gz
  • Upload date:
  • Size: 308.4 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.1.tar.gz
Algorithm Hash digest
SHA256 4520c07f6ef61c11a631183e042d17294682df71fccd713a8b4ddb3c29d46735
MD5 22d550845761621e1b96e8d0e363badc
BLAKE2b-256 11fc9bace0296751b53426ce37d50962f6e946ec3a63994de3a8d01b7e7eeb1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49576e1336637b8a96aa2bd0b33bc39b48a84a37f4bdedddbcfa05501725d6ab
MD5 39bfceeeb2428dd9094f91a727675d19
BLAKE2b-256 0fbb2f18ad8610f1e665b1f9256a03df520c37929888957e65dd6be5f399c45a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f67f4dc332cd735c1db56582ba7e34223fcbebd82c5b70fb2758b39d62c48f02
MD5 b22861f8571fab49ff1970435bce2e6b
BLAKE2b-256 367c93d5e20302a79b11eccc48d0334eda7c9a3623e21a37aec9f3266e97a96f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d3d0467ab7d2e20d2146781c86e5661ca4a53050b48a3de455ce95129d5d532e
MD5 63a812d819ccff34099735f22767a050
BLAKE2b-256 b74dd726279b4bd6f48d742de2f5d4799fddd9fad0172d65a361ac8a0ea311b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d2c4775e9a587223632c6ce27c8b5b4c5eaad5da4979c59c04cee38180f47962
MD5 b0092897d47570b26fd0b367eca44bc7
BLAKE2b-256 c0c9fa557bad6698e97f6d85cda79311e90c0a053891353f6ee9c37396a9b595

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ea6d87bec9de9a9ee1acffd0b7b91cddfb14963ae47c0d180c3940304b99cf8
MD5 6af2e78816a643ca4e680b2af747c6ee
BLAKE2b-256 317fedecbb9e3ce0d5c96809a1a68a221475174452934e52fc195b6b4257a14b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 812e5c4ba563595b39186573adaf7ad269d251faed1be1946787bdbec92fe24b
MD5 06121d34bba769bcc8ba72ebf3bb67f1
BLAKE2b-256 a19f544fb83a8e2ecd74988072beb64194cc0d71b9383e7b8fe12e1bd7c1880c

See more details on using hashes here.

Provenance

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