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

Uploaded CPython 3.13Windows x86-64

quantanium-0.1.25-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.25-cp313-cp313-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-0.1.25-cp312-cp312-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.12Windows x86-64

quantanium-0.1.25-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.25-cp312-cp312-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-0.1.25-cp311-cp311-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.11Windows x86-64

quantanium-0.1.25-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.25-cp311-cp311-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-0.1.25-cp310-cp310-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.10Windows x86-64

quantanium-0.1.25-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.25-cp310-cp310-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-0.1.25-cp39-cp39-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.25-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.25-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.25-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.25-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 19d048dc59a18a586f5ccd0eab802b73a2d8691e8fe88a26b28b6f01817900d6
MD5 39c6f9f4f41c3f545e84352c5bc4063f
BLAKE2b-256 58b4e7ee51c59dad4c089a3d3d17ce9ef983d749fb30809ae4861d42affb6838

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d21db9616a87d236abe39b6afba718c59c892027f1adcb2bd209e3ec4c1f3919
MD5 06de92455262b820848e54f37a678b3f
BLAKE2b-256 ea31e48b00b7416990f7e51a6d7c2ff5e3b0ff92196a996d8db3ef4d5aeead88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 98193988f08b36f84e89ced738f45ed82462371a60c5b9ccad93590a54be5667
MD5 dddc3c759ca11634e27865b4da8e08d4
BLAKE2b-256 c2f4fe230fc255f7009b2990e418919ea91d31f8c44f1e90dccb9006f6e94926

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2663d1fc8cae7ebafee909f48c379ed5ebfaf58a2d8d38bcb7418c5253306c02
MD5 c422b15177d13d5eb4f639f27f8526ed
BLAKE2b-256 d65aa980e8a74ea8f33219e370dbb3e57a2dc74ebfc282fdf20cb4f12e747a6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c201f150541bca28e2467f7e7e8524b584ab763126c56363c8c3bb5ba12a3651
MD5 0bc9a5d94df52211df3ab4b42ed63030
BLAKE2b-256 f7ca0f0f0e3d4de4fe3bd29aee749e951f791f88562f25deef403011d06fadce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 14eb8e06cb7857700d3d34066d13b7cf88b73c0b029d56fae9ddeeea3c36f835
MD5 b1997818a8cb9aeefb812f1abc23c6be
BLAKE2b-256 abff2175e65e36b2fea34b3aacc050ba3fac3b397947872c9001870be3daf7b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d382d718e9d34165ec270aea24040afe58e151691476c3dceae10b7e251dd487
MD5 5b54db09689c22ecff69a5eca6444b2b
BLAKE2b-256 c2728ec6ceb05eac55cd5e7de4db3e5fd2f6fe533d97ce9c45368977839726ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4bf611a86837157b9432f6611f3b9ca8deb6d0c1457be3d1c8af02e2c44436c3
MD5 be8441f48bccc3e7cbf752d507b38b18
BLAKE2b-256 71b186e63a42c863a73cd059e0957eee719cd45d1fb9bd284ffec3a0afbd7ed3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6c6213ffa8b154d0bfee08dd2e97fa6f5b765a05794eacb46b2578beae962618
MD5 5f09b6cda58cf3acee9c24e4053edc3e
BLAKE2b-256 f88609089a5ca80b4ea40aabef1d3cb3baf3a67d7ed043ddb58861d4c70df5af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f43e263eaec1fef4281e6354f433b9514aa01f60967bff1af7853f6637514b17
MD5 e76f5c98166270238f9f2112e6e49db6
BLAKE2b-256 9c4ad029066188ef2cfc42d8ad7b1ff3c4976b6622097b0247aff269d9bd5f8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0ff436c7aebaae25510c9807351ddf2c57df3b3a4826c651f9f57ee41676c85e
MD5 032d13ba4f2408b99afc2efb75ffd9f1
BLAKE2b-256 b1bf810176316a4e1c80f483984f58bd430195e080cfbfd69e0dd5c319203c8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 05c06d7d39564d26439ed889108c19f1cb6f02dbfe815d8693aed190142e8afa
MD5 b7993acc6ae4238c624933d124fca51d
BLAKE2b-256 22935393eac5361a9726ccbf67e1e9293ce3533932d4bccb44ec864a6c6e3190

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.25-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 4.3 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.25-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 55ae26bf4a8c29e0de8f53a3257530f555e1b8a9c2507d3fb5f6ed2925ff47c6
MD5 0f0f6ef1e16ed3f3d18d926e1b98c7a9
BLAKE2b-256 9c90eb26c891f482379b319abc5b4b1e5821a00dc463fea4f3fa9cb8d20dadd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fd4960ba20ce5127125e40f53bd678d6fae4e5ad72f06f65331a27fd2311326
MD5 002cc7ab3d7c7284b31a205181b2ef6a
BLAKE2b-256 0dbc0c5c72d6a8029b3e189f5b0b2aeee1a6e9fef8b06b8939d57d46b8226f41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.25-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e088d5b1783fcbb2de8f095315aa5976ff1ef2b443a1783cf880443daefbcbf6
MD5 a25216c652777bf57bdbfb38376f75a5
BLAKE2b-256 a0730f8e2e540fa91d0106247273d533441a71a697b445d000460133a075052d

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