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.32-cp313-cp313-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.13Windows x86-64

quantanium-0.1.32-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.32-cp313-cp313-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

quantanium-0.1.32-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.32-cp312-cp312-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

quantanium-0.1.32-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.32-cp311-cp311-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

quantanium-0.1.32-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.32-cp310-cp310-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 14.0+ x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.32-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.32-cp39-cp39-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 14.0+ x86-64

quantanium-0.1.32-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.32-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.32-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8fa2999ecea1e3eab710edc8b70b84bce843df0c53a8edfaaa56b93612794aaf
MD5 d2b6a24e6509fe0c626b0159220fff58
BLAKE2b-256 793c8e88cf78d20b75ac70a6cdbdc4eb24856b6c51ecaf036905bcded856c8f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7caea3dcf918316814bd7e1b6bc1fe9362af876021bcd0abecf09e7301ed26fe
MD5 18aa81edc3ac94b1eb202fa6f4ab4865
BLAKE2b-256 11aa29e3f284fa04fc936ba38c1b1682045293153da76be4eb1591915da45bce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 b772fe697ab0b683e584b4c075007e881c5c7df2b19b4e25161965010cfc3e60
MD5 f0708ab2c51acc0889875c5d04c15ed5
BLAKE2b-256 131707e19881be6d9cd7b5aa2013bb15757e39f3c9dd8bd753b2fdb1fbc6675e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3d67c0fe9db28bd36d14565493369e6d9c55cb132ab8cf84b3ac62a95144dee0
MD5 2f3643ab4355dc7b37d79a6c2a087696
BLAKE2b-256 9d5e177d5935edbd3d02afdd02ff73220fe9b332a8d8316b15807fc080800427

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5e3c702d2cbfb89693b5b7696ceb473e75986734895ff1cb57edcc45d22ee042
MD5 6e61d56383720726862364b57f8cf637
BLAKE2b-256 6f61cd248e8d9d48cdff2676e698c1a177a7d71df353ae5a2fbfbacf1e3482d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 376ce9b38312b46a10adb4a98df8a5e1679bbd2dc11562bafa0f50d4a061e386
MD5 57460a37b91f96316992b31ed54c6f85
BLAKE2b-256 350df9d78bedc6093301ad60f9fd4caa0efbf04380c57e17b791faae2685f29a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 4a4abab7c894d24df8cbbdf7eddbde857511d3943e7bdf628097ebf78cbf0923
MD5 555cbdd97b9338f22ad0366e1a85da09
BLAKE2b-256 7e2318cf4f97bf77ca6c31bf20ac68ed71b2bed8ec1e7d7f50479e63bd39e468

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 eaf605a5547d370bd59dc2b06674fac279f25007ba4d22e6afa85259ba679637
MD5 7cf3cd5cccc96d6f1b9133b685b25861
BLAKE2b-256 2aea2ae51d68d2894971f382062a0b3d48b93b6945f76337220ec61685eae323

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ddcbc54b25281b76ab3af685785d546704a8cc0b739bc2ca8d7b8fd820e51873
MD5 0bf3e7aa204e271abff8fde3e9811d63
BLAKE2b-256 950a0727df4fe50d7e17b75d927c1d32fc06ba313250a71708fb0522821e650b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7aaf0c12030d0f8030b12090f489879aa5d1a135447d81e85aa4a913e2a11a53
MD5 a2e143b84532148dd9b8de2e0b405968
BLAKE2b-256 55a98f81aac674d30e6b123b90e0342775bbd6b7b38389f598330ebc57d93465

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 a327a3127c8132ba9270aece3c9d3f08fc27e5309ca5e9628d7918687b26baa3
MD5 ff9296b3ece862d3ef167261b8b340d5
BLAKE2b-256 f919a66a1347f9e3088761d68cd7f1409afe910d8ce511f280d4378f7a8ea0ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fc0f6469da6f101a004b7d9f63adeb0b6ddc8bc302c1e917a24e8bc675af2dd0
MD5 994683d3789192ffbde2f7dc5b4c54cb
BLAKE2b-256 ab480db3fc77a424a018edef37a45d08a6b1c35140dc1d5cc299113111ab1dc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b4c9ccde779e13f2cfaad36c593c2cc4ec59e2c85b9f3bf48f5adf3a47aa5abd
MD5 5655540dc6aaa29a4a63f19cfaf97c8b
BLAKE2b-256 a3bf3dcf866d67fe6d824198e34fd8cee2a760cbb450df1b0c45b17bea415d48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c1bd5e34d8d78e2a63f062d42179db28aa3ffbea4ceac06e2b835b60dc8e4f8a
MD5 9a0ba762aa45244670ac4508945af3a2
BLAKE2b-256 e283b89d471df566c330af8018ddcd56d4134a553928171fc6a82f5459d611f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 824731067fface56a5cdfc1a8434e2c4fbd2c036f400466de42b5016fffc95a5
MD5 bc87d0918cd3ca631bc9a05b17c38d7a
BLAKE2b-256 e51cec9425b21ed234cfb5361e03775132e50b38173f91fcc2b6540a4977ad03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3e0415d03618d901fc3e030854facdf8b8dd1160f857658ebe188fb3bcbf101c
MD5 d14785453a00fe54e90d4c877c7da362
BLAKE2b-256 417c94e58f8448167d4830e72f135b1cba84b46fee7462b0e5cc32843fa46f34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.32-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.32-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 47fc44ad63231b8f6584e6b546855c3f4941f9f835e6af1c34b60a52232ef800
MD5 0fb3bf86ad50e5aac1cd89f794806a10
BLAKE2b-256 51218c38bf309e8a1cdde77cfcccdc6c63a598fd9f35082c069e3a63fa7cbdba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 753056485ff450c281cc02c2de023d3c28c97633391ae0debb470bef419acc8c
MD5 a2723d4024d41354d3e7336c14896b9b
BLAKE2b-256 df8cd4b84afcc6ad79ded59cabff7ddf667c82cadb91d4786c296bf7488afc35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp39-cp39-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 71dcfbaedf51f6dcebfdbcba9b2bf7b1f8e5217b339c9616ada8dd2ae768a656
MD5 b0425924d38f5199863165f20a113987
BLAKE2b-256 e26023bea6287071247bb871117b8ef3a57f80a831af809b0a84c246564f2103

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.32-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c3e000dcb9e48acb237db0bd24baf1a4198fd479c107a30ba0061e3e952365b1
MD5 30b19858af3f898ee1b091540fc24d27
BLAKE2b-256 331d0e45f5b9ff344d656881b2fc066a93dc993a286c45a83aaf8319abffbf8e

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