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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

Uploaded CPython 3.9macOS 13.0+ x86-64

quantanium-1.0.9-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.9-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: quantanium-1.0.9-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.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 71224a59ba779cc836028d6bbf48fc75ef0df87554745fb16892bcf7ffe9668b
MD5 743f4b831c3c66c64264b7ff2f0269d3
BLAKE2b-256 59eed6a7e3809087433bc5c6916cb39f281edf47e8e14ed5f1f078ec5e77d8fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 efd5e2d89bc5923cf86727893a4034bd614ad74398679f2a506d26436ed885e0
MD5 ef58da5bb29dbedd82b1f84af756249a
BLAKE2b-256 0ab8c59d2990220206811074ea860bab19fada8d52a1e59459f2c66b6156d262

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e182a2ff5e18afebc06e146a3fd0673cef71561314eb8e39f88e6f68ef4ee222
MD5 6478bfbfbdaa78788a6206578b94b0ad
BLAKE2b-256 219b6f805cf6f36e4c8941848de1559d3b7efe7e7f2d80cbd5d95396d6c2555d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3999a345fdf2268947f3be90561c22a4febcf511993bc1705852761e1b7720de
MD5 18d1e34a4967d4801c2b1508edb48b04
BLAKE2b-256 7ea6254e598474d86f316691e3408f2c1771d27d9fde7d628948e86b7e358001

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f117db851a4e00fccc143ec438ae976e3ac979b2f3f108035bf25cdcd9e58501
MD5 e2309a9907e998341e2eac5dda64fd9b
BLAKE2b-256 412cd634789c87428a6630b3c40c28611cf117109179758e6a566078256901b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.9-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.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7afc99cd1578e709ff617c55f650a8982b05c8ac957553adaf3ab4c65a96faff
MD5 427be9fa1a42c78fab16e8feef9f5af4
BLAKE2b-256 6eb2a4412aa42ea46bffc773dbb414e84a19412196c1ced412f30a63aa6b8f84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64f07546d86d269ed22e440f5e40270093954ddf79de7505a5693774815b9b65
MD5 9e7130ec8559d55b7b267323eaffc42a
BLAKE2b-256 96730bed39960d539eb399ae4f052774f70f35155365baa7cfa00a8325a1731b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 09d08c4ce9bc3a6ea54174e3209d12e360eea90f32e1a3d3475de1210d852fcb
MD5 1fed32cf20c802e1db9dca5740ce943f
BLAKE2b-256 bdfbc6c87c078c96fa11b0cb99197d78e693660d00ae3a46db07ababb4003c13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e9ad036c7eebc6ade5112516de654fea68e5cb9cc81c6ab21e4f055de95e0247
MD5 dc0c8fae6ef73f2d62346a63fb5fb430
BLAKE2b-256 75cd8521e4b72ad1a91485ed6007e1235efd5efbbfc1ce36588f495ea109d70e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c5264701f590aa566d70a18b2e8389add92126f5e22f25ca18e127c1f7d17da6
MD5 ab7bdcbcd4845cad329cc63cc7743005
BLAKE2b-256 123e71c6b7b3aabf366462b5d240b7c7de1d5ef0868c6f450a70b5b124c07b36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.9-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.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e425048316f89b0c4f454e6b6a9e5a79d9ab5e5c3011fe5682ae57e3c57acac8
MD5 7e9768b33060ab8e37bf5182d076095d
BLAKE2b-256 20c8225913c8c6b980305b4e32563b96373e509ed388c89a9af8cf022cd6c699

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7860a7ec8a6fd3a00db719853ea4cdc7976bc35f5e1c5b95b5d22760b80a155f
MD5 8b330339ccf014425987ee32f411a673
BLAKE2b-256 cae5e07a919abf2a5c7bb132dc6a6c4954e3ec5eaac9ddfa713bfe51a4ebfd5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3d6e7ea4e4297c55db0c2dbf533dae33ab227d1d24c12e34b8b5b55b32c66dff
MD5 a03ddc04a3aebc632bfe3d59f77b3867
BLAKE2b-256 ea56faa7114a04312ee560f1bdd6c51f6c9daae21b00fa5e8132f3bc33418f59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5dd102127941a6feea666435fe86ad2c44aab02e9aa30299a7e5d936177d82b8
MD5 59cc2c83f3c6ed3d330176d01454b7b0
BLAKE2b-256 9e4bf9946d277641c7de97b01436647dd58cfd1ba0c7ad8ec6150163f632b483

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 384a0454e514f766c78092d42b280865de422f89be1eea13cdfe81a56cd1a642
MD5 6afa8e4e98fdf764aaed38b468332014
BLAKE2b-256 b4e0df4748ec7b52488a5f58898f5b8bdca6960f0584554ecfc1d269ae255fad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.9-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.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5b7a0e233762ace05e5e2fcc0279de011fbe2f2d203831b19275679c15cb588e
MD5 6698020d7146a5d5be556b793e9a11e0
BLAKE2b-256 541ca6b4ab94fd7858106f6f8bde1874c0e074bd41d726a4fb8e333ce0f714e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae18046fe4649c2f98d1a44aafbb95d63f96473f7db30e185534e270b54883aa
MD5 ecfdda6b2cb8a3b6023780cd17e8758f
BLAKE2b-256 a0df7b3bc6b5f38006362e95d5438bf31515d670627d34439475e0df588247be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 084677c6638557bd34773842dcdd8ce46e9d6989082821d7b525178c8a4d28ce
MD5 7c2debb2a55d29d90d09a7dfb877a1d0
BLAKE2b-256 67da59a0a5fa75ae9f9ab264384c5abab5b843c74a9d678e9357d8c497ffa11b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 45c81bb444a5a7639cea1226ec419a203dde9ccec69f7be4caa08303a4abb2e7
MD5 ca04edfce7ebcf605a08adc0c0a1df3b
BLAKE2b-256 b0ca1f93afa87bbfe0d09b1636304182629a0cb2ff6a169f25b872bd0fd96f92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5932f0bf37a062ca18480025aefda7701bf0f2c50525e01182fd0b1ccd589b3
MD5 168a61db46b9b07f1810498c5c90128e
BLAKE2b-256 2b8a488c6045759a8796bc65ed079d80bd88b90335929443404d28dfb007986e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.9-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.9-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bfbbe241573b62dc36572322d5e98f429adb3807aefdb8770f51a3e5db0e0fce
MD5 ba16bb894283d756e0c3efbabc81a611
BLAKE2b-256 dbe0bf326c8aaf6d341b0bb49824f31f61d284fa5f1f81e54c847d95eb80aa7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00802ea5a6132ee28fda88d466f134327af13f1e70ea8f5d88391ddb9363a42e
MD5 39d5bbfff746a610e7b9cd2a4740376f
BLAKE2b-256 45b1a7f19e32ce06e70f0144f118a13dd6bdb87beba8b150f7f2e279c3581a28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f4e732d74836ab10db4355a39d5b83bb8d3e106c5ee211d5ccb2f95f0ef47352
MD5 3ab9938b2e00ae4862590cb8ff6522f5
BLAKE2b-256 9044e02f2ae765bf2dcd3088431134e5aad4b4f662492f574d0d7905654d0b3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3459cd967294b027539a9b43c185209501e4fa8fc91d655b65687165673518da
MD5 c6efe159eba18f15b75c064cf691ea5f
BLAKE2b-256 f4654c44e99c46206450201e284f6241ee6c196803f5a87ac26b59833826d593

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.9-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 18a79196603f994518f416e687e82b85796da1c3ae6bef2207df8306dada0dd2
MD5 a4cefff6c4aca58fab75ee76fe7b60b6
BLAKE2b-256 ddf68e873db914bc16d9a0aa78af5cae17e2fba64bbc983a547c3760a47ee459

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