Python bindings for Maestro - A unified interface for quantum circuit simulation
Project description
Maestro
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)
- Ingest — accepts circuits from Qiskit or QASM
- Convert — compiles to Maestro's intermediate representation
- Analyze — extracts features (gate density, entanglement, locality)
- Route — prediction engine estimates runtimes and selects the fastest backend
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qoro_maestro-0.2.5.tar.gz.
File metadata
- Download URL: qoro_maestro-0.2.5.tar.gz
- Upload date:
- Size: 313.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32bbea35df0a90b6442d577f26dd94cdefd8e9fb39ba893e135144c0aaf57605
|
|
| MD5 |
f9e1a8cc9d56a0cdf5b8386b3d550366
|
|
| BLAKE2b-256 |
d551033723fdb7ef278d15d7930b2bead7c9f23642ffc6e082e0d69694617f1b
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5.tar.gz:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5.tar.gz -
Subject digest:
32bbea35df0a90b6442d577f26dd94cdefd8e9fb39ba893e135144c0aaf57605 - Sigstore transparency entry: 1122716192
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
005b5f77ef4adeb2406079f19064df3695d6bd6381fe70e15d047fcbb32168bd
|
|
| MD5 |
69ca57372c594bee20eeff00326ea73d
|
|
| BLAKE2b-256 |
0dd172e1ee3a514ba710127e37e2bef52e719dfd55dfb1babfbcc016aba27a84
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp312-cp312-win_amd64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp312-cp312-win_amd64.whl -
Subject digest:
005b5f77ef4adeb2406079f19064df3695d6bd6381fe70e15d047fcbb32168bd - Sigstore transparency entry: 1122716211
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d7a7a015e485c58ad8aed9793e234f2c89d751a6b64f9fce3dd02bc6f88ebe0
|
|
| MD5 |
0a827f9956fd99ad6e363f67af3b265c
|
|
| BLAKE2b-256 |
1d566f60f91663e4c149f4083054663c928ca5b7b54cb0ff43cdaf3473909f66
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
2d7a7a015e485c58ad8aed9793e234f2c89d751a6b64f9fce3dd02bc6f88ebe0 - Sigstore transparency entry: 1122716376
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15d35bf0067f7e940857adb9b4dd6988fec050669bb5f15c42fdfc1910e7e215
|
|
| MD5 |
a5f7af8aadfa372f2ac34c9080201f5b
|
|
| BLAKE2b-256 |
00a1da25be7e597336768707aa601ac450c9f2b28eaa936c3a59dc0808fbf766
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp312-cp312-macosx_14_0_arm64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp312-cp312-macosx_14_0_arm64.whl -
Subject digest:
15d35bf0067f7e940857adb9b4dd6988fec050669bb5f15c42fdfc1910e7e215 - Sigstore transparency entry: 1122716330
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ef9140e106df86e469ef2b7f8d01dd37d2a61efaf74a5104ed9d7e832e684a
|
|
| MD5 |
e02ea580525aa0e0d1ab86f83ffed34d
|
|
| BLAKE2b-256 |
21c88d49589a234d42d530ce165e55922c193f19c58b26f489f87ac7da333711
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp311-cp311-win_amd64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp311-cp311-win_amd64.whl -
Subject digest:
09ef9140e106df86e469ef2b7f8d01dd37d2a61efaf74a5104ed9d7e832e684a - Sigstore transparency entry: 1122716310
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e782732265ce4dfacbf74fdf4543a03d34b8a43a7314a9f2559066972327ab43
|
|
| MD5 |
27fa942a74b4695a8f04c36909e36bd4
|
|
| BLAKE2b-256 |
f5813848e6ffef7f1dcd80878d8383cdb1c76ee07b30704cbaafbcd334c85048
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
e782732265ce4dfacbf74fdf4543a03d34b8a43a7314a9f2559066972327ab43 - Sigstore transparency entry: 1122716245
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp311-cp311-macosx_14_0_arm64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dd92933c0c41d21bcd59c1b2b50fb1388ffb5762ccf337c1b8a22a628e342a6
|
|
| MD5 |
35bd7a1a74029e335c7e87abb1c2fb0e
|
|
| BLAKE2b-256 |
e9eb0c61a5293a2c69e177da8b6117961962c6f5eb81c43ca23ed94a8b00c2f4
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp311-cp311-macosx_14_0_arm64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp311-cp311-macosx_14_0_arm64.whl -
Subject digest:
4dd92933c0c41d21bcd59c1b2b50fb1388ffb5762ccf337c1b8a22a628e342a6 - Sigstore transparency entry: 1122716276
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d28a2195d379e381b94d020b17fbe9fd09feeedf4374b1a0d7fade9e97cb88d2
|
|
| MD5 |
89ea354622e7193178aa116c4d42cc75
|
|
| BLAKE2b-256 |
9fa31a09110894e48dab130709eb050443d2997a7c80ff4592e97f89fe8d269b
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp310-cp310-win_amd64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp310-cp310-win_amd64.whl -
Subject digest:
d28a2195d379e381b94d020b17fbe9fd09feeedf4374b1a0d7fade9e97cb88d2 - Sigstore transparency entry: 1122716411
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47899ab2eb0fc78a0ee1b3d72f4e1cb4e477cb2aeb2d0c6772163d68d9580dad
|
|
| MD5 |
b9c8270c6740b4e5da1d8aa3cfaf856e
|
|
| BLAKE2b-256 |
2dbe282464d4e01c977d780d27a509247c81d2c1990a53b4a480fd269b38e220
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
47899ab2eb0fc78a0ee1b3d72f4e1cb4e477cb2aeb2d0c6772163d68d9580dad - Sigstore transparency entry: 1122716392
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qoro_maestro-0.2.5-cp310-cp310-macosx_14_0_arm64.whl.
File metadata
- Download URL: qoro_maestro-0.2.5-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36249456a601aeb210a07a7b2897f739602b48fef38347e9512566635049dede
|
|
| MD5 |
2aa3f4323deb2ee7b032a32acb2f4c8f
|
|
| BLAKE2b-256 |
6a67a597e2ff6a8b77a08b1930c555235f73c77485e0cafd098f142265ce6e1f
|
Provenance
The following attestation bundles were made for qoro_maestro-0.2.5-cp310-cp310-macosx_14_0_arm64.whl:
Publisher:
publish-pypi.yml on QoroQuantum/maestro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qoro_maestro-0.2.5-cp310-cp310-macosx_14_0_arm64.whl -
Subject digest:
36249456a601aeb210a07a7b2897f739602b48fef38347e9512566635049dede - Sigstore transparency entry: 1122716355
- Sigstore integration time:
-
Permalink:
QoroQuantum/maestro@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Branch / Tag:
refs/heads/fix/ci-windows - Owner: https://github.com/QoroQuantum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@232fc1ddef38e1b4140c32a5063d5627b1f63d35 -
Trigger Event:
workflow_dispatch
-
Statement type: