MKL-Q Python runtime for CUDA-Q-compatible Apple Silicon simulation.
Project description
MKL-Q Python Runtime
mklq is the macOS ARM64 Python runtime for MKL-Q, a CUDA-Q-compatible Apple
Silicon simulator fork. Its public Python import remains cudaq.
Supported scope
- macOS ARM64 only.
- Python 3.11–3.14.
- Stable local target:
mklq-cpu. - Experimental mixed-path target:
mklq-metal.
The wheel provides the Python runtime and target assets only. It does not
include nvq++, an installer, CUDA GPU support, or a claim that all execution
remains on Metal.
Installation
Install into an isolated virtual environment. mklq cannot safely coexist with
NVIDIA cudaq or cuda-quantum* distributions because they all own the
cudaq import namespace.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install mklq
Smoke test
import cudaq
@cudaq.kernel
def bell():
qubits = cudaq.qvector(2)
h(qubits[0])
x.ctrl(qubits[0], qubits[1])
mz(qubits)
cudaq.set_target("mklq-cpu")
print(cudaq.sample(bell, shots_count=100))
For source builds, C++ compilation, and current limitations, see https://github.com/wuls968/MKL-Q.
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 Distributions
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 mklq-0.1.0-cp314-cp314-macosx_26_0_arm64.whl.
File metadata
- Download URL: mklq-0.1.0-cp314-cp314-macosx_26_0_arm64.whl
- Upload date:
- Size: 76.1 MB
- Tags: CPython 3.14, macOS 26.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27dc10d497e28da620852fb62ab8988ac963ad4f3323f0d9e20446be312b3d6b
|
|
| MD5 |
13b4d28b3303cae4985728a9aa73899e
|
|
| BLAKE2b-256 |
28fe2b2a102bf525ee7467697490d304f2ca9d308f7b7b758fad5d980d937c4c
|
Provenance
The following attestation bundles were made for mklq-0.1.0-cp314-cp314-macosx_26_0_arm64.whl:
Publisher:
mklq-package-release.yml on wuls968/MKL-Q
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mklq-0.1.0-cp314-cp314-macosx_26_0_arm64.whl -
Subject digest:
27dc10d497e28da620852fb62ab8988ac963ad4f3323f0d9e20446be312b3d6b - Sigstore transparency entry: 2193157146
- Sigstore integration time:
-
Permalink:
wuls968/MKL-Q@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Branch / Tag:
refs/tags/mklq-v0.1.0 - Owner: https://github.com/wuls968
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mklq-package-release.yml@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mklq-0.1.0-cp313-cp313-macosx_26_0_arm64.whl.
File metadata
- Download URL: mklq-0.1.0-cp313-cp313-macosx_26_0_arm64.whl
- Upload date:
- Size: 76.1 MB
- Tags: CPython 3.13, macOS 26.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a284cfe4117b24f427ed7788baafc2e163a17ca4fcbb1a6318f5433fa26ce2a7
|
|
| MD5 |
feaa0cb23750f6d0672a1bb8c96e1a87
|
|
| BLAKE2b-256 |
7c1736fd6bd1f9a360c94c0340d90a7606f5d8cfa55dcd2679854f0e56348071
|
Provenance
The following attestation bundles were made for mklq-0.1.0-cp313-cp313-macosx_26_0_arm64.whl:
Publisher:
mklq-package-release.yml on wuls968/MKL-Q
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mklq-0.1.0-cp313-cp313-macosx_26_0_arm64.whl -
Subject digest:
a284cfe4117b24f427ed7788baafc2e163a17ca4fcbb1a6318f5433fa26ce2a7 - Sigstore transparency entry: 2193157213
- Sigstore integration time:
-
Permalink:
wuls968/MKL-Q@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Branch / Tag:
refs/tags/mklq-v0.1.0 - Owner: https://github.com/wuls968
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mklq-package-release.yml@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mklq-0.1.0-cp312-cp312-macosx_26_0_arm64.whl.
File metadata
- Download URL: mklq-0.1.0-cp312-cp312-macosx_26_0_arm64.whl
- Upload date:
- Size: 76.1 MB
- Tags: CPython 3.12, macOS 26.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
615a3ac38b60fdf2e731c430acf134d2117d88e185391c707968d65fdd923efd
|
|
| MD5 |
1078274c86264506e8bfa5a336858af2
|
|
| BLAKE2b-256 |
9c02eca2c3b5cb15cf3e6e177c250289d63a00330c86592fb0e0c7f46d16d4d6
|
Provenance
The following attestation bundles were made for mklq-0.1.0-cp312-cp312-macosx_26_0_arm64.whl:
Publisher:
mklq-package-release.yml on wuls968/MKL-Q
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mklq-0.1.0-cp312-cp312-macosx_26_0_arm64.whl -
Subject digest:
615a3ac38b60fdf2e731c430acf134d2117d88e185391c707968d65fdd923efd - Sigstore transparency entry: 2193157021
- Sigstore integration time:
-
Permalink:
wuls968/MKL-Q@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Branch / Tag:
refs/tags/mklq-v0.1.0 - Owner: https://github.com/wuls968
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mklq-package-release.yml@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mklq-0.1.0-cp311-cp311-macosx_26_0_arm64.whl.
File metadata
- Download URL: mklq-0.1.0-cp311-cp311-macosx_26_0_arm64.whl
- Upload date:
- Size: 76.1 MB
- Tags: CPython 3.11, macOS 26.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ec902b84aba73a64fe70056c9086e778ff7a99305702d5b3fe673986e0cdde2
|
|
| MD5 |
66f0463947ff377e2166e618dec46408
|
|
| BLAKE2b-256 |
31efeca2f5fc2b26ce1a30f7841294ad7a586211a551b150e1dddef6103289cb
|
Provenance
The following attestation bundles were made for mklq-0.1.0-cp311-cp311-macosx_26_0_arm64.whl:
Publisher:
mklq-package-release.yml on wuls968/MKL-Q
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mklq-0.1.0-cp311-cp311-macosx_26_0_arm64.whl -
Subject digest:
5ec902b84aba73a64fe70056c9086e778ff7a99305702d5b3fe673986e0cdde2 - Sigstore transparency entry: 2193157084
- Sigstore integration time:
-
Permalink:
wuls968/MKL-Q@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Branch / Tag:
refs/tags/mklq-v0.1.0 - Owner: https://github.com/wuls968
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mklq-package-release.yml@5da8aa56f32835de736a7cc180c2683c1b3c09c4 -
Trigger Event:
workflow_dispatch
-
Statement type: