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.12.tar.gz (382.5 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.12-cp314-cp314-win_amd64.whl (6.5 MB view details)

Uploaded CPython 3.14Windows x86-64

qoro_maestro-0.2.12-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.12-cp314-cp314-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

qoro_maestro-0.2.12-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.12-cp313-cp313-macosx_14_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

qoro_maestro-0.2.12-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.12-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.12.tar.gz.

File metadata

  • Download URL: qoro_maestro-0.2.12.tar.gz
  • Upload date:
  • Size: 382.5 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.12.tar.gz
Algorithm Hash digest
SHA256 8ac63d5bae745813f981691f0b021f189771f04161112c8c1035d87b8273e628
MD5 84e726699bd1c3586b321425cd3bed57
BLAKE2b-256 38d068bb1b155650cb2230a67675810bf5e8eebabb4db9e9a375f091e4125b85

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 c829321db2255e2e06173a94a2485eb77bd71ac226697aa14155158325fc8226
MD5 a648a7f6a3b2ae66af37aad674b27365
BLAKE2b-256 b6bbddf0ca058cc298e6ed22f7d49d7c30bb5f645b9889208fe3512333206d9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 feceb1a1ad241634fc531edca5eccbb56e2e6b004f96d87b264c59c44d7dfaca
MD5 4ac63551fa717d5449dd58c033b386f1
BLAKE2b-256 43c4211279f7d0c6b8388e696f1260392364a8af9e3ec702910bb3d575c7cdb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.12-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.12-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9220837b7b7fa7791432fd1f181f4b55e9e1e7e3471a9702d82a25a850d7bcc7
MD5 a788814bbe5bb817eb97af9121886939
BLAKE2b-256 3008705f0ee9c2997004d60b03811b7973e52fa1fb25bbc0919799967fd2c866

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a3aedf2cca60a49e752c32bb04f4bbdcfc055ad832ca80413c0950b901666f2e
MD5 9b968a8a3cbff4cce192816d9d5edd32
BLAKE2b-256 6dfecacd45060774f594c23f6e188907ba350bc80e4d5b17de7de1856e86c160

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 20996c9e576491ac17f4c38f039f8e554bc7e716cb80d4f4f81bc6377c78aa2b
MD5 7a168948cc995ab963087ff0db53173e
BLAKE2b-256 37a56def7d171696495ace55b16b517455d77cce33105f86674c393a90ca1361

See more details on using hashes here.

Provenance

The following attestation bundles were made for qoro_maestro-0.2.12-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.12-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2d5d0597b70017a2b0092d787bc88076954c531858e4a7894c87d00fbc36a650
MD5 bf4be74bc40aed759236e55c9f58de63
BLAKE2b-256 83d9f84e3b5a8de929dcee907399e139ac6736fff82e0de9468082ef87e92730

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 12bcd4bff7e78561122301caf68930a8377b06a71bed315170ccf51b87d2e02d
MD5 989eca272d492d7a87808fc20f9b2faa
BLAKE2b-256 d94943bc8ff801d987f359efdeb2eefd3215ea805e072481b34cb3bf5f43fc00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9da696b3e5af711c0b42e66102356b621460b40202407aa22cbafc9b397f173e
MD5 bf69a277ca1caef7aece4e8e38365d8e
BLAKE2b-256 3537008f6cd43416805b99668ee448deacd03738e57c943bf6ac84157f44d8c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9881c5087569ebb035606bc5084feb5fb7fa12472f9931c16d93b03f11020382
MD5 500f34e6940a6ac550ac044c51e98295
BLAKE2b-256 f74b7f8b2cb95342dc94d8562a996ded2facd94ae2d221544b47b77d31afe3da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 690624db9755295aa1d7a0b1caabda2f0489607a1b59b75a5202428fe999d371
MD5 00bec7bc03395cd20acf51bab0285054
BLAKE2b-256 9ad6a1eb353db05f9878e1ac5905666e4192e32ce193afe8e1b74597a92ba440

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 df9f6eb95fcb2ca1f24853b4d53f495f5c8cf5cecc100d2f192650bde1518bd4
MD5 49aeffdfd75254dbc3d62ad90e8c7400
BLAKE2b-256 5f8a15c064f7269253ee05c75f9de17e426228059809671db706b6195d330216

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 14c6754c25efaec70093d4425190e4abcbacebfbb1000f495ad5a13d582ee797
MD5 66bc28e699e0372a8167cf90b17ddccd
BLAKE2b-256 0e49f5c08cfe9ebb420d188ad3bd4408d9c504a9ee3dd27cfe9e2bb5c82091ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d9f776268d5ba55bbfa8466a9001fdbc4704025cdc13eeacbe55728cd68436b5
MD5 9e12157bb4ee8ab08ecd3423c7ecaa8c
BLAKE2b-256 a099b93138c75a9ac62c1b4adc1c0812d42a348d5d6a9d2ef9e758e619fe770d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 92dc56183ff90273ad459af59f77ffc39ad61edcf592dd3de483940e30278c9d
MD5 2dea2a012e5ceb68b6f424170e4152f2
BLAKE2b-256 1d8d9bd2d89249846a2630c604ebac9a3747753efeec38eadaca2bd630737ee7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for qoro_maestro-0.2.12-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e32a2cbb5a16ddf05d7a81075fdb8918cc45fb1df576b85f22a60b0f0be1c1ce
MD5 5a51a84cc158474edf13f38925f76f8c
BLAKE2b-256 df11a7d6f39103cca84c992f89af2f4e221b978b082f17aa28f4991777c08554

See more details on using hashes here.

Provenance

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