Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mklq-0.1.0-cp314-cp314-macosx_26_0_arm64.whl (76.1 MB view details)

Uploaded CPython 3.14macOS 26.0+ ARM64

mklq-0.1.0-cp313-cp313-macosx_26_0_arm64.whl (76.1 MB view details)

Uploaded CPython 3.13macOS 26.0+ ARM64

mklq-0.1.0-cp312-cp312-macosx_26_0_arm64.whl (76.1 MB view details)

Uploaded CPython 3.12macOS 26.0+ ARM64

mklq-0.1.0-cp311-cp311-macosx_26_0_arm64.whl (76.1 MB view details)

Uploaded CPython 3.11macOS 26.0+ ARM64

File details

Details for the file mklq-0.1.0-cp314-cp314-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for mklq-0.1.0-cp314-cp314-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 27dc10d497e28da620852fb62ab8988ac963ad4f3323f0d9e20446be312b3d6b
MD5 13b4d28b3303cae4985728a9aa73899e
BLAKE2b-256 28fe2b2a102bf525ee7467697490d304f2ca9d308f7b7b758fad5d980d937c4c

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mklq-0.1.0-cp313-cp313-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for mklq-0.1.0-cp313-cp313-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 a284cfe4117b24f427ed7788baafc2e163a17ca4fcbb1a6318f5433fa26ce2a7
MD5 feaa0cb23750f6d0672a1bb8c96e1a87
BLAKE2b-256 7c1736fd6bd1f9a360c94c0340d90a7606f5d8cfa55dcd2679854f0e56348071

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mklq-0.1.0-cp312-cp312-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for mklq-0.1.0-cp312-cp312-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 615a3ac38b60fdf2e731c430acf134d2117d88e185391c707968d65fdd923efd
MD5 1078274c86264506e8bfa5a336858af2
BLAKE2b-256 9c02eca2c3b5cb15cf3e6e177c250289d63a00330c86592fb0e0c7f46d16d4d6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mklq-0.1.0-cp311-cp311-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for mklq-0.1.0-cp311-cp311-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 5ec902b84aba73a64fe70056c9086e778ff7a99305702d5b3fe673986e0cdde2
MD5 66f0463947ff377e2166e618dec46408
BLAKE2b-256 31efeca2f5fc2b26ce1a30f7841294ad7a586211a551b150e1dddef6103289cb

See more details on using hashes here.

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

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