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

Uploaded CPython 3.13Windows x86-64

quantanium-1.0.3-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-1.0.3-cp313-cp313-macosx_14_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-1.0.3-cp313-cp313-macosx_13_0_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

quantanium-1.0.3-cp313-cp313-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

quantanium-1.0.3-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-1.0.3-cp312-cp312-macosx_14_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-1.0.3-cp312-cp312-macosx_13_0_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

quantanium-1.0.3-cp312-cp312-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

quantanium-1.0.3-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-1.0.3-cp311-cp311-macosx_14_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-1.0.3-cp311-cp311-macosx_13_0_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

quantanium-1.0.3-cp311-cp311-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

quantanium-1.0.3-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-1.0.3-cp310-cp310-macosx_14_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-1.0.3-cp310-cp310-macosx_13_0_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

quantanium-1.0.3-cp310-cp310-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-1.0.3-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-1.0.3-cp39-cp39-macosx_14_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

quantanium-1.0.3-cp39-cp39-macosx_13_0_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

quantanium-1.0.3-cp39-cp39-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for quantanium-1.0.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 52b8391152fcc0eaca24db008194d66f9f840130203c54b14c98fca06d8125a6
MD5 001c4f98ec0b760fb52aae0a5b5c7813
BLAKE2b-256 6395d6ee740ccd1f02c79c2e4e681fa293063ce64096e839659f0635456aa184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58808c57789c28e184f24e8569fb441fc133079e9507fb4b0e2cdec097bc50c1
MD5 43ef23ab057c1a4bcd64bb8719fbf124
BLAKE2b-256 89bb7e13cef6a8d319b94262c22f6b66b3cf6c62b5e387b3875bdd5a026574b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bb15b3d9c76ca4ed73344d5c980f8a1237ecdc059da5171aa4b8684ea406929d
MD5 218af3a07a64d72ea4ec55b08bfc0e39
BLAKE2b-256 dbf9ca425fad534d7c4d1c7464287e11cc268f33c15ddda98faa0f3dfa8f13ab

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e268bb5addb7ebfeb73664b9f7ab7ce7b9d5589e9210b7d019206de17d01aea0
MD5 187e6253447ee9276c176303dad03d20
BLAKE2b-256 ce16aee4e37052ca4616183d9cbf92e9c483c86a39221a355d7ad2dbd81f5e11

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8b5a36fe8482d1fc5ef4b0866264433bc5470a8c654f48da9c1491fefa3d4ed3
MD5 5f7e31313efe81f3b1230c93e0deb2cd
BLAKE2b-256 bfdc95dacc0d45ef29a645d16c8fd80637eb03357e12850d5c5d4820cb080142

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for quantanium-1.0.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 591fc01aad19d19cbe090d793b88d4446613675e5153dac0a4d5c527d27473e2
MD5 cb0355f23cf93136ac85023360a42999
BLAKE2b-256 44fac039b6228a03f667c39badc42bd802bb97d9390283d1d19dac6e00534586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0d81e135ed56730eda45f66b5b8addfcc616e79598fb8d5b00b829a0865c0380
MD5 9f10f1eaa094dd9b0b7fb6a2a63d1a0b
BLAKE2b-256 b29f0884dc8bd59ecdf0865d3394d966ec14de5422ac90fc1ad0c603a0d24cc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d76d67ff83dd97ef7ffa56d790a542e3c3142104be2471251cb8d171c01a1cb9
MD5 5a26fbcdc03b1671687b2d4b5b479e7c
BLAKE2b-256 d6da1b20ffe9af7ceeb72fcecff66cefd2c34c3c025c24b7400378f5bd3bb594

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 24fc70851fc17b74dc00cc2b6675ed8e2af89cd1b4280fe2a414613c6c4faf5d
MD5 e57d90c6e8e5a794ebca1e39231af1fa
BLAKE2b-256 5918380bea3a33f8300cd6f114a6833bf22cf6aee5f38550c2a12c8e1b3945c4

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cdd7f6831f0e18cd003465d197847e1de63290ff3b39f39d9e07fdb326340596
MD5 378caed22dadc480a8cb0db4288ec9a5
BLAKE2b-256 470228a5ba3d623f434b467bfc84fdac639d50ecb1320f38137e6f94d8d4cade

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for quantanium-1.0.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2eca42501fee3a7a1bee80a99d153ff365e2dec7d17023799e81bb13b6c80edc
MD5 4cb24eb2a0b13e3653c2d14e5c211843
BLAKE2b-256 29b6fd34e8e5dfacb2346e3a29606e4905dca8f7261d240a755cd4616120b70c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9cf11ae6c0738e5355a992a99a66c26e42b46d8a4d4496d99003802bacf9487a
MD5 5430794921d04bee15ea9e7be3fb5318
BLAKE2b-256 4c31e5293127ae0c567063b44fdeb9615788d2f75734ca406249bbccd3fea39c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d07e516fa6cc4a209848ae08f0ae5ea2c38320f445a31d8b632c2c796b3671b5
MD5 c6b81770be5bc8a03a5cf36a9493f301
BLAKE2b-256 affeab5f08e4a059f0efd61fb8e67278c1829ad2ed4bef74bea12daf89f25177

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c1d8b3a1d903780dacb86298ed21c7975e863385ce860b5404de38e5a6e26915
MD5 9314d48a456828fee3d4f4444ac99b4a
BLAKE2b-256 0cc0824d968b6cb624fdb1ca45b0cba70d1667fbd72cf5acf7dc536e3043a79c

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3c7c06aec723896d3a0773c93fa26191d2dfe46be8f7f53ddf298671ad258f52
MD5 2380746c81f5a97a7dac54f289d16944
BLAKE2b-256 82f5271d82ec09a0dad6b8a05cb82ccb18293b16e4405738bf9f9db9aa6c4a6f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for quantanium-1.0.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 36b6628633e16a95cb10e725556ffa6380720c15b350876f5a725af62bf23d61
MD5 c38c9154e712017b2c1b7d8909a7b004
BLAKE2b-256 9094fb6d9c2d5c8f42f9fa8e8ce3558e65a18ea8d1b2f838ef718dbc2280556f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37a0f31f7786b9f234daa07c283e002cc6cbc7fffc23076a962cd1c35c2a3b9d
MD5 2c91cfd581af6c535d9d6df0cde42254
BLAKE2b-256 cb5fc7da1097860e492d5afd727c8b75b729a8491ea5af73fb4d5c19702dda87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f1cafb6b63b4fa8cabc08e3292a5092449244d71d28a53024d90540808df1d19
MD5 2b9bf1805ef2b4b9460490da214c9e21
BLAKE2b-256 1ad0922a1dd529ea39b92450d3638d40499fef370a24e3585f41946ae858cc85

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3f4e216034abdea2266f26232c15a39a0ae26488bf4acb05d45e7dea598598bc
MD5 0b7a11f9a00024f07c31ceb3b4058fab
BLAKE2b-256 b9c23393d42700e6812c940df727ae9f05c60ca2a34b9205ec402272db2a5c66

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 352522cd8e4f6fbc6c4a8d0204699df04743d02742714263317ef715e21b2e70
MD5 62e7ad2375ac685417c0ef921ed38129
BLAKE2b-256 69a7b122245c44e88c2d54e5e07c1bed16b7d3b1262d76d336964d20cc273981

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.3-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-1.0.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cfff1150dfecfb8aa64008a4f308d827b1af4bda3e601073d8538c8944cc90a4
MD5 6888b3e589e8d7db27c1ff3f6fa9216f
BLAKE2b-256 98308f14c5e58f91df3457e5c25349533c2a49bf68deb890022639c3681b9af1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fef69a9405783a057ca4a6ae4da8b62aa33ea225b126f8aa627f605cfa3e448a
MD5 60e89456c744e3992f604fcccda5dab3
BLAKE2b-256 3ffdd1cef3684f949e1812f81ca37b647fa5dd56efe7456d5bb918c8a1148928

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.3-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 910add43c38769f592cf56e000396489bbec14e9c7f474a0710018653d9907ad
MD5 10b95e3538f63e362a804d13b9d36a2d
BLAKE2b-256 88fc08827f02ed8a1992c90dff9bea125305911eddeebe95e4baab56630c41b0

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e53782818a0fa85a7e1e1becedbd247616dfc7d97c42068d1adfe6d16123d423
MD5 2ee285fd7faa122bbaaec56780ad2fbd
BLAKE2b-256 f18c618efe4d6caf9f704b2fe269c2f2ea42617a51e11f1c0a924c84ca18bb85

See more details on using hashes here.

File details

Details for the file quantanium-1.0.3-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for quantanium-1.0.3-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2e215ecc0a2a1cb1914e41bfb05c1a080a250ac69efb7c91b7b034a38a0a6f18
MD5 160718f7b64ab7208bf72eb567132245
BLAKE2b-256 64a1139765f192c773af5e6387930dd44d66474f18f8fbdf503aa7a500451fbe

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