Skip to main content

Python wrapper for the MIMIQ Quantanium statevector engine.

Project description

Quantanium-python

Python Wrapper for the MIMIQ Quantanium statevector engine.

Prerequisites

Before installing, ensure you have:

  • Python (version 3.10, 3.11, or 3.12)
  • Git installed on your system
  • Virtual environment support (e.g., venv)

Installation

Quantanium is implemented in C++, with a wrapper written in the Python programming language to enhance usability and ensure support with MIMIQ API. For the released versions of Quantanium, we provide binaries via our Git repository, specifically for the Linux platform, which only require a functional Python environment to install. You can do this very easily following the instructions from the next subsection.

Installation Quantanium-python

To install quantanium run the following:

pip install quantanium

!Quantanium only supports Linux and MacOS (x86_64 only) for a version of python >= 3.9


Troubleshooting

  • If installation fails, check that you have the correct Python version (python --version).
  • In some cases you should consider upgrading via the 'pip install --upgrade pip' command.

Quick Start

In order to start, you can use an example script from folder examples: Otherise here is a simple example on how to run a circuit:

from quantanium import Quantanium
from mimiqcircuits import *

# Instantiate StateVector simulator
sim = Quantanium()

# build circuit
c = Circuit()
c.push(GateH(), 0)

# execute the circuit
sim.execute(c)

# Parse and create circuit from OpenQASM2
qasm_file_path = "path/to/qasm2"
mimiq_circuit = processor.parse_qasm(qasm_file_path)

# execute circuit
sim.execute(mimiq_circuit)

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.

quantanium-0.1.35-cp313-cp313-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.13Windows x86-64

quantanium-0.1.35-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

quantanium-0.1.35-cp313-cp313-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

quantanium-0.1.35-cp313-cp313-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-0.1.35-cp312-cp312-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.12Windows x86-64

quantanium-0.1.35-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

quantanium-0.1.35-cp312-cp312-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

quantanium-0.1.35-cp312-cp312-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-0.1.35-cp311-cp311-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.11Windows x86-64

quantanium-0.1.35-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

quantanium-0.1.35-cp311-cp311-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

quantanium-0.1.35-cp311-cp311-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-0.1.35-cp310-cp310-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.10Windows x86-64

quantanium-0.1.35-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

quantanium-0.1.35-cp310-cp310-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 14.0+ x86-64

quantanium-0.1.35-cp310-cp310-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-0.1.35-cp39-cp39-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.35-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

quantanium-0.1.35-cp39-cp39-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 14.0+ x86-64

quantanium-0.1.35-cp39-cp39-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

Details for the file quantanium-0.1.35-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c54d071d78e7b6671d02387cb1e4b04be20d713b308dfeb8ae7ffaaa30e8d9b9
MD5 e70769b914f349ac5907b260b7ef3449
BLAKE2b-256 6c92cd983cc40375c06f754a73817ae3272f89bfb8e16c720234f07b0b61f1a2

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8be4b15ba1afe77fe95858f732cd528558289f0fc5cd2a365d7b752c17cc73bc
MD5 da46aa924e2703d96a483842cdad6197
BLAKE2b-256 4d9268568fb59e8478f8c48e4a904033bf3e5d890678d2cf6eadd5233f12f7f3

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp313-cp313-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 46929dc9e3c45c4f487bed23e8053d9ca1a4f6181b6a3b10a9e29c613c4e7539
MD5 6380c60228fd375b7722f227b492e101
BLAKE2b-256 01d7558f8efa5ca4d1d5010d269f03081d889fbc753efc3f926518085ce95436

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 94adffaa94ed6ce2586e1bfda629508b23cbbfcdb3dbec6c7718f55f6132491a
MD5 53b1c3c62105f66922e8d27c3d92f650
BLAKE2b-256 5360dd095a4186a811ffe6375feaec3209b72123cd2fd039108cdb4d9d935238

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f941e625b28e0f091d49b4d3556dd3fad5b095909610fa4809f5f6d4af601d4c
MD5 aa7fc9aa18fc69a5d3e35dde4c03a93e
BLAKE2b-256 9c1b832b3cbcb4d533b51b2b167cb421f61edbfc60418b22e18c2e417dd3c8a2

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b4ddf7189c30c9b12a512c325f79d29aa1eb7745423d51a6b03eb0d8ca9d53c
MD5 3d4ff0380a3e16828f6dc60f6d4a6b1d
BLAKE2b-256 a64c2c7d0ac95d149c5a4d5b875d8b1fab7b1f10963aaebbb8cf142632903f7c

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 52fad3fad3282704c00c433d36c50f2b69d3434c3d93e41a91611782989eca32
MD5 2dbd434f6c3789ab57553feef536c768
BLAKE2b-256 40e3fc5d4756614af685db554e4fb9c8b159bfe5c94bd16bff4cf5a1edd30d7a

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e7b0b7cede6c3ae214fed97ac6825103adcd98db7c321c92c40c87502a2285d1
MD5 b3226496e1c3cb0b50524c6c0c020a18
BLAKE2b-256 84bc676b39fb403aa06dbb6013133dc0d64fd51134a9501e3cff9e21edc31a7b

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8c18c294226b1eb376e2e4696f05846f02a9e3dc472233a399bd1ccbc52a643b
MD5 58dabe96e454b2ba9b4d67025e28a259
BLAKE2b-256 e0b22690ec9c28ed36a6bb4e7c84c78a73001e6c56c738a4c1fb56a6a8972159

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a91b9ded4db99d257df47b63d3d698011779b06a250727cdac34f5d0e84bc631
MD5 dc72c41f50fb99790fc4a49805628d30
BLAKE2b-256 b342acb938a541a78f2249e82078c7dddf295723d04c6ae05ceae8fca3cf7f58

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp311-cp311-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 f9ba827c825299419d51b3eedfe904bb779a760eab29c03e3bf04649b3b850d4
MD5 2c5b42d6123ca5ceab6c4667bc83f1f3
BLAKE2b-256 bf82d8fc2d7696adb93024ae788d5fcdf8e25fb959c359803209f1b3c5b27f5a

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4d3e171e88bd1f87b425def9734219d9a48fe525eb78ecafa5a898c98a7976a8
MD5 7856d9504752713c1dc0e5635da24f53
BLAKE2b-256 535be8ce940516ad1deba990b22db7be4c2e0ae7ec698f2d6a2678965aa8ccf4

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 513fe47ab0d0a420ed529bdd0ae71b0421a983b33b75b9c7f4797df372f0bcfd
MD5 e7d17b14efd9099cbc3f97fb0c1591f3
BLAKE2b-256 e7386d7809a7ac7c9872a72c29367e726e616a77249a1ed680e561a22fc14813

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bee4c70a3c4d5094d6ec9eb73183af50551a21139f7d133b6ce7ad1b001545c0
MD5 12bc18306019188867683bb5c7db8142
BLAKE2b-256 1b784d811db65b751849f040d9ac882a3ecd5c2654339ef1f95faa9cf838962f

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp310-cp310-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 33411f9eeff371876579a73c4300daad6cf3b3eece8186cd1309b4ceb3b6175a
MD5 733a1883ff4a2ebc9a9eec73d653d9bd
BLAKE2b-256 9df6ea6ac294145973a22b0d5a5530502d65721ca3fc647200dd10c215b80062

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a47a330b962d29d966f8b44e52ad8f95bbc19953a01c5b9f983c0982a6a69ccc
MD5 6eb41560e6638c6292866847b7aab723
BLAKE2b-256 9a7d0bea3dbaa3a6a4984c8653973dcb44be556d5aa55a3bf3db76b113889c32

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: quantanium-0.1.35-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for quantanium-0.1.35-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3c39bac4ba3d8f8cad8108e3459f9e71e5f07a87ec4eca61de2c25490b4401c5
MD5 40036a24db368df4773bada55d3a9bee
BLAKE2b-256 06aa57002298b9c8068b469b96bda7e6f39c70591f3b59627e6c69300666c0ea

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f3b5a9a545abc3d1c405841b7471b103881e2440b5dbcc39fb7fc34987ae6588
MD5 f394f93b0e96d4f1076d256ebd1ad595
BLAKE2b-256 48347cc1810ce34a4f77ea3d68d651d619bdead7d619753d6ce1611a6a3a43e5

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp39-cp39-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp39-cp39-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 527c981ca05c7d12e678806f384f370b88fb5361ae93e4c896a945abd2690179
MD5 648f0658cb9358a34e8c766b9c23ab44
BLAKE2b-256 5a06f69d27532632da27bfcd8ad4d995c6b0dba4161d5e467b0b9c3b69e52d06

See more details on using hashes here.

File details

Details for the file quantanium-0.1.35-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.35-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1497cf6f00c569e0979962416907ef93d4aa52037c57f1761435560697a5ffc2
MD5 0eb7805de4258a9965f2e1561f36a7b2
BLAKE2b-256 2dcd9a655e195f01bf84675a0e238adfc317c20feb5e62a0afc8cb1f8f5c436b

See more details on using hashes here.

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