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.11.tar.gz (355.6 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.11-cp314-cp314-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.14Windows x86-64

qoro_maestro-0.2.11-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

qoro_maestro-0.2.11-cp314-cp314-macosx_14_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

qoro_maestro-0.2.11-cp313-cp313-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.13Windows x86-64

qoro_maestro-0.2.11-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

qoro_maestro-0.2.11-cp313-cp313-macosx_14_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

qoro_maestro-0.2.11-cp312-cp312-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.12Windows x86-64

qoro_maestro-0.2.11-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

qoro_maestro-0.2.11-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

qoro_maestro-0.2.11-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

File metadata

  • Download URL: qoro_maestro-0.2.11.tar.gz
  • Upload date:
  • Size: 355.6 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.11.tar.gz
Algorithm Hash digest
SHA256 aef39be9af1e8b2502c17149f7e38a16b3e776390304377ebcab45c7ba89bcb5
MD5 c1d95336a80c9ada5c2966feda86d3bf
BLAKE2b-256 0d91df02c192308e9730101f1c057e003fd8597cb8e6bcd708837a24f6e9d234

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11.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.11-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e6098640f0e06d422ad8a4cdf002e7870b6920ede11ffb6650c78f0e19af0346
MD5 705bae729e1b22488228f730c06a4213
BLAKE2b-256 f17099ff6c156f2fc6453588fb12e83a12646b9ee73c7405a37ed1d42295ad4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-cp314-cp314-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.11-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b3630ae7bb52cd51461e94a4d387db01e1e3798c50565646516fb574f5cb638
MD5 dd40126f0323b07d81e7988f138ff234
BLAKE2b-256 e5cb91fe286760c76fcd542896eccd0dc77b8ac85ce1e08faf925d0a68708942

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_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.11-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 879d6a5a60abe71c15623a88731d6326bb77aed3a10171466ee208ce5a528c8b
MD5 b210b0fe51807ec58a8ecc9e0e4280ca
BLAKE2b-256 d93cef273e026f138cd629e15d29a28b90a535403e6a932f6e3c0f437eb0ebfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-cp314-cp314-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.11-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 868b6ebfb5e458746fd7734aad97de6b638f3c9def13857ebd18938fa7e06d39
MD5 efcc3c6bea964987f0560be911d73e17
BLAKE2b-256 e076b3db4861faa99618f04a7530c0f5f576613be99f54d59999279bee72274b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-cp313-cp313-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.11-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7319afba0c33cc2757378c2050ba528fa137f8359b877b3f0f2296200c63721
MD5 6fc88fb381125b0a449160c147f3424b
BLAKE2b-256 7a6bfae3d9ae8412b980984b9ddc0017735f80d31d40984f89e4aad0b40ad9d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_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.11-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 11e17334283ae50cce048e2cf0af36f6be41d66fdb52be53f5b59be11de94a35
MD5 300c8ada9d49a9622f899ac743bcf20b
BLAKE2b-256 abde2529078460b2c138e830e11d78551fa486bc727abbad014f2f813eedccc6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d88d475fa6564d1faaddbe46577979072843f3de42fb408130304c7ba453b234
MD5 9760a5aa21dd10caac9cdaaeff001476
BLAKE2b-256 44c057db373081d8a3eeb9e16c6bb2ce6aa3def8262cdcd2c278c7ba89dc1288

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-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.11-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 11ee4d46552f32b9be41659cfe11b067619870a78dc07b5c7cb4267aefac2dd4
MD5 c001d781ee4e0ae7c5be49f0a3ea026c
BLAKE2b-256 7bfaebef4b9f25d8d954192a5ed4058ff73694b0db2e76bafc4fb24d39deaab3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f87ca898038768eaedbf99b67b31974bed3f3520e653b9603b1d574684701631
MD5 c19effcf284394e4c0704cff2ca40287
BLAKE2b-256 e1bbbbae42efa821ae06ab3d197d722efcbf5cddc8db5c01cb9bd54bd1cfde78

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bb0a584f1e9112bab7e8d248a10d59cd84931fd6f4896432b312fe60d0066c0c
MD5 669e487dd0ca13fc741b8a1b21637aa7
BLAKE2b-256 a4e450be20cbcd0e3665462d98a966a368c686b45685b6f0c78fe78d64eab95b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-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.11-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43390e4cab2c5d1eaab8071e22dc0550fafda8fa220e3fe68c6bb45d99556302
MD5 4129b3cfe0b1df56109bf15d59c31443
BLAKE2b-256 8838487e3c365a3a1e053c2f416fe831beeef0e6f8cb2dda1a851f30751faa6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 42bb571a7f6653c291cbe5b6777d687762ef5835edf6b7e5bdfb78389c0f3ff7
MD5 668fa26597e7044df4523590ab7c71c9
BLAKE2b-256 c76ebfaec88a08a468b7f1df8d1f4620a0550cc6c2daa8e2f050072bae41682a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 42d1b83f90780f1bd8ac19fbb5b2296c91be3506dd9f04b99e5391041e8d65ee
MD5 76675674c509de586ac391e664045900
BLAKE2b-256 5ff0ac30e7215f55c041736e864ead29bcb367e890a81b97f11243cb874f2b93

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.11-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.11-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f99aa5140de553d544f2bdf5fa8ab1f820030f48f2965ab5fdce9318db5ee7e
MD5 0f173cb037aeb38782157baf7ab33e14
BLAKE2b-256 d9badcc6655ed552f395ea3c620ab4c1bbb8ccfb0a6fe5786fe938b363d3c7a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.11-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 24d97218372871a40e8bbae06cc58d7ab7da94d5b6709f29a66594dfc33f6bfd
MD5 ce4c4b6d33da1852d7f95ab5ac0ef74a
BLAKE2b-256 ea75415f4567143eb62916462e469262209299ae22f6d6c60266c1586aa8a559

See more details on using hashes here.

Provenance

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