Skip to main content

OpenQML

OpenQML is a Python library for building quantum circuits, using them in PyTorch and JAX models, and solving portfolio allocation and risk problems.

Install

OpenQML requires Python 3.10 or later.

python -m pip install openqml
import openqml as oq

The core package includes CPU simulation and OpenQASM import and export. Install openqml[torch], openqml[jax], or openqml[flax] for training. Add openqml[qiskit], openqml[cirq], or openqml[pennylane] to work with objects from those SDKs. On Linux x86-64, openqml[gpu] adds CUDA execution with Triton.

What you can do

  • Build circuits with oq.Circuit, measure them with oq.sample, or calculate Pauli expectation values with oq.expectation. Use oq.convert to move circuits between supported formats. Circuit conversion
  • Fit a model with oq.Model or use an OpenQML layer in your own training loop. Training · Model architectures
  • Use oq.finance for portfolio allocation, scenario risk, and option pricing. Finance API

API reference · Backends and platform support · Changelog · Contributing · Apache-2.0

Metadata

Release files for openqml 0.44.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openqml 0.44.0
File Size Uploaded Provenance Actions
openqml-0.44.0.tar.gz 542.5 kB With provenance Details for openqml-0.44.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for openqml 0.44.0
File Actions
openqml-0.44.0-py3-none-any.whl Python 3 none any Details for openqml-0.44.0-py3-none-any.whl
openqml-0.44.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for openqml-0.44.0-cp311-abi3-win_amd64.whl
openqml-0.44.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for openqml-0.44.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
openqml-0.44.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for openqml-0.44.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
openqml-0.44.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for openqml-0.44.0-cp311-abi3-macosx_11_0_arm64.whl
openqml-0.44.0-cp311-abi3-macosx_10_9_x86_64.whl CPython 3.11 abi3 macOS 10.9+ x86-64 Details for openqml-0.44.0-cp311-abi3-macosx_10_9_x86_64.whl
openqml-0.44.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for openqml-0.44.0-cp310-cp310-win_amd64.whl
openqml-0.44.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for openqml-0.44.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
openqml-0.44.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for openqml-0.44.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
openqml-0.44.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for openqml-0.44.0-cp310-cp310-macosx_11_0_arm64.whl
openqml-0.44.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for openqml-0.44.0-cp310-cp310-macosx_10_9_x86_64.whl

Total release size: 7.8 MB

Release files / openqml-0.44.0.tar.gz

Download URL openqml-0.44.0.tar.gz
Size 542.5 kB
Tags Source
SHA-256 checksum
How to use checksums
01e01aa3c6adf03826228ad31a2411b7f528bdd1f1ff614f69af43f226b5f29f
BLAKE2b-256 checksum
How to use checksums
9976c38970aefe481fc6f870e0634f6690dcd3ef2179bd447b90488e71dda327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-py3-none-any.whl

Download URL openqml-0.44.0-py3-none-any.whl
Size 646.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83fc75672be17becfd43d9d03d18e8fa71d713e6ec61713fc8a4539f0dae4044
BLAKE2b-256 checksum
How to use checksums
dcc09d22a1a29e64b28e94f5adecfdf37e30d7085541f1718947544b8346e92d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp311-abi3-win_amd64.whl

Download URL openqml-0.44.0-cp311-abi3-win_amd64.whl
Size 658.1 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4c3fc46e5f124ec5faa5fd6aeeaed725815101db7e5755a67eca2f9bfcb5cf6a
BLAKE2b-256 checksum
How to use checksums
beeca6841e12be305acc0a499b4a312d239ea15f6e6f41753662d954bca3afed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL openqml-0.44.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 659.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
7ffe39321dcd2c52a27293e2b7110ee365e18939ed4a8cd38d34b466e2ecfcf5
BLAKE2b-256 checksum
How to use checksums
7936ebb6c68fda25657e8ae2aaa3e9433079e8263b446c618bd8db9514de2f9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL openqml-0.44.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 660.0 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
5a9b348c0a1529c7ff5d5925f4a3b90c80140d4377e2f5facf9c880381cd15ea
BLAKE2b-256 checksum
How to use checksums
f745ef29bcff234f87ef9e858142030a1f3de2ec00e923fbe35bd25764713839
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL openqml-0.44.0-cp311-abi3-macosx_11_0_arm64.whl
Size 652.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0e60518bd69483ff62e44c1ee505748e37df6c28f8b14b1f390dc6904e5f48f4
BLAKE2b-256 checksum
How to use checksums
fa09c1f077a86f6234a7f9e3461c26e3e1b81e110c041b986dc022ca72764972
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp311-abi3-macosx_10_9_x86_64.whl

Download URL openqml-0.44.0-cp311-abi3-macosx_10_9_x86_64.whl
Size 652.1 kB
Tags CPython 3.11 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5ab32d0f0d432750bec94313ba20657ad51802d948303905fa9e23247d1a79be
BLAKE2b-256 checksum
How to use checksums
c2a81e7b348679b37d707da61251eb6da7059176a27a9dd0e5f99aadb159e65f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp310-cp310-win_amd64.whl

Download URL openqml-0.44.0-cp310-cp310-win_amd64.whl
Size 658.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
49798ffc9ad064ad25137460c41c5c59d008f05f7c8d6d08b58b647cb26d3050
BLAKE2b-256 checksum
How to use checksums
1d0e6e9a93e5f270655c008e7348acb3c3946659195645882397cae61eaf6f00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL openqml-0.44.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 663.2 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8aab699c4f45e49e3afebe9666a0c141897c9bde68114e8dbd69f530e097742b
BLAKE2b-256 checksum
How to use checksums
126751eeede54de78b1a039ab1e658bb40a6f335ade5f70f02a9482458e90466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL openqml-0.44.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 663.3 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b9284173f927928d30648e283706acf333e05168278cd442c677ffb0fac070aa
BLAKE2b-256 checksum
How to use checksums
37c639f72b7a577286e36e2c445786cdcc5475d1460eadcf08353349a898f7a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL openqml-0.44.0-cp310-cp310-macosx_11_0_arm64.whl
Size 652.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1739323e093d6fe95a343d149a7011accd93e19dad6a813a1da0d2d14bb281a7
BLAKE2b-256 checksum
How to use checksums
b79ff7b489220ae423c9219e5534ba36907a30ba316c210ae34914cdfc661e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openqml-0.44.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL openqml-0.44.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 652.2 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
f523cf01442ca85c11e73bd24b640f811d8ad3880bd3a81c0596653bd4894708
BLAKE2b-256 checksum
How to use checksums
1ceca79c65ead95a8892f9b9b200fa4ee6a65cb3f5747459e97f1b79ee02f9c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for openqml 0.44.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for openqml-0.44.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page