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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

Uploaded CPython 3.9macOS 13.0+ x86-64

quantanium-1.0.0-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.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: quantanium-1.0.0-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.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d4c58ab89730bcfa55ef46d241c8a352b9b9dace2f45a4bd49a8b02be9bf177b
MD5 b109b7e9652bd3d3d77b6b8e4413a089
BLAKE2b-256 dcf16efbef72f2423ec91f6dc034b3d2b1067008d3a31ffe6db72417370e2871

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30df7448142f48ee18535da3a4a02d4ab66040922c4ffff560aad717c1a1921e
MD5 1bf0e585602d97765c7cae2772ded1e3
BLAKE2b-256 ee092332aa598b99d6643136516112c706058e920d5da4dcf513a1085e8a1e3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 497a223695f0850f61898fea71cfbccf95fbd495792a580b1a7605391cc1333e
MD5 d6d2dcc6552878d51a7e0bafdb269335
BLAKE2b-256 f419fa690b7590b80cdf5ded8d214f333ea94b7b966b8311cf455f3cec0a3d18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 42c15443d6b5d28b4fd803508b1043f7d8506a2097c6c3226254eed38eae1d11
MD5 b8baae877b6f7fc30c592ad38a817bbf
BLAKE2b-256 a4b5552052b15be4618bd27cb31978ff18cf37a5eb54b661e96b50a247e3f648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3272633f545dbb563f16f8a61b9ba4715c473bf1f9af9bb2bd724f55ddeea24f
MD5 be1a729c5d1ed09cffdba478538e8e94
BLAKE2b-256 95ff84a24d957120f4c896f61175fa0c7dd1d3ad4017967cc6a544fdee8e7dd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.0-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.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 435d602b8c888c505de656c3cbc537de49fefc6d8306aeddec61d3b0f11f852e
MD5 9a0df8fd3a00d56e37989680f42ad771
BLAKE2b-256 6352c4c3aed1b3fd8f21d1b3c6731a42f0ec9d7995a05d6002e80015f374c15b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ff7019e416be225802d260320246e052df92321b1bc03f07b75815a14c3620f
MD5 4ad5336508bb6f2feb2d11d21a137e01
BLAKE2b-256 240ad0059a18f9d0d8a5cc8c2a49217e2059b0361b6c06994adf1765023e9afd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e9767a493a34e8a1addc930abe47491ddc113e5c5d77b84eb1ecf9b6e3f5da5e
MD5 b5fcd8578f82192593ab58d343f23cb9
BLAKE2b-256 f1862027236cfdde56ea3d46758b9b82229181afab77a174fe4a89ad6558fc15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a62125f47bdaa2c18743f817fccefe24e5a8bca29a7f2c941c698302cbc34c1e
MD5 033df363e62d0477327f49f9479550a7
BLAKE2b-256 1ae94ba57f34288ae60a43a80d01c524c4c46ff8f8489a8bf18dfc97e1156d22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ccc88b18611034a4289a02f6c50fac49be90dd8bb814f66597af0a9a284783f3
MD5 16c06e0d727ec5e721364a523947a56d
BLAKE2b-256 963a67649fb089da74fe583644a0677c1cccb72b45d6a91e0ad833309a3aab74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.0-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.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ade19fd9f6334f4e1f0c28b91a266ce89bed275689999513a669f0533694de3a
MD5 9454f034ad0171253276866ab04a2ba8
BLAKE2b-256 248f323f15fdfa65fd2836ae46e76e227e726ca61115d4494b6c53f52bd051b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 432b4ba0d2f80346f8eabae85ef5b94a40b05c7b0cd6cd4b447721c271f9f2e4
MD5 0dac037a5ef4b78c60d54111924bd1ba
BLAKE2b-256 a889aba9a37b809321fa544c3300b313352ed43c13bcef6da06d707bbf0cfc9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e74d57438f46c1f0e9cbbbe2feb5c82d92c6554fc0a633eddb47a0cbd72be283
MD5 7b59c399489ce8a5385ad32876f83c2f
BLAKE2b-256 31a9cf07b4f1a8f036da33db8248eda817553045e2efda00384835cfa8fb50f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e073f35889c621a0b614a2055d339434945e01be4e4575581fdfd1362ed37550
MD5 2074cf54b62f9986aac3b3eecc880af3
BLAKE2b-256 dac6282b9674357a196d7001c0f8648cd1dd28ba88457caeaea0ecafca9074db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1a8cb65685c8e29fe62cd1b43a736460b334ca024d852630685dbdad741faa98
MD5 d20236d8450fda0f484cb5b3080a235a
BLAKE2b-256 fef01245d5813ab3a1237147d28e30eb2d9991dd4d1d314a67738e7955f3212d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.0-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.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4300a70b9504680bfab47dab262a6812914e976d83ec9842b8c70a6a504762ca
MD5 e60bd64137b6561fe6036f28b502ca0d
BLAKE2b-256 4661465ec7e6590ea6d350484b5c13a13269deaca8af6a0a64ba13c139f210a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 476eb6d8b4c4e839b789d311f5857e76c2d72c3342d9c88f501d7bb2e8a19fe6
MD5 ecd6822bae3b35f872b6e5cc45db7e92
BLAKE2b-256 c14ff69c2e5e00dd30e5eb1d0c0552fca0ca652e5b1743be9ca12eed8ed64fde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4bcadb4a57044bd42a21e4689169b1ddc2ad7751cad7eacf6f4d7e58a6951bc8
MD5 aec1158b6f2a1ff77122ebeaa2cfa119
BLAKE2b-256 daa905c9c36d3678c1af5c261423199b497a08104a273f80c3fbc59e0b1ec40c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7c6f9eb2cda573604ae1bd64bf2dcd23b5a8f72bad55186ba35fbc7f22ae756e
MD5 0cad392a7121d39808570d9b198f5f18
BLAKE2b-256 5c511412294830e3eebed0aff8987cfdc617ee29a575f6fa2f615bf210a614c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5164ea7f61c24ada5bb95b2a071640c6a904e62edcbbb0b349b59e1ba776bbf4
MD5 abddbf4c693d61add33b1b273ff04cfd
BLAKE2b-256 99f338976eb1ed725f75901df51d21fef6f2dcf2c0cd1d96467920195c6e276c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.0-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.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a545e4b5e4f6a68ac0fa1c1be19ab232248d5f4a4c97699f17ab7bb667a5b083
MD5 3ceaa04b20ad76d0c95043734a7c47fb
BLAKE2b-256 7eb9ac621ea090d46c94797fe7c3063311fafd83f5f83dfa283d2b5f83d3829f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e536e5f17809222bb2d3721489daca02bba9da096a4ce82c7772437dac06cdd4
MD5 fe7a60d12e185f44eb18fae49b8261b3
BLAKE2b-256 cd4549179950249bbd8ec551a6245cbc5e3def06a05764c5cee81a9f44bf9cf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cb4dfd37166b8202e890792a8970ebf819733eb5772fc8b18f87fbba353ac4f6
MD5 192589c363c91fa01becbabe7a8c58b6
BLAKE2b-256 69d998357d1b6ba52bf8dde33fd768e383d50ef0f1046ae1d1d8989fea07d6c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9cd292ebfed77305a21fd4e3d71e95b0966fe2f9ed4ad03211f018dac2444ba0
MD5 6bf054b6bbef63cdf42292cc2b4c9b48
BLAKE2b-256 a811c46c0d8d7a0cd6807109c4e98c24fcc971c81dd7fa4c449fa94a49ed2d40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 443ea56d4c8ed279673cb954864653d7adc00cecb18b097ce1639242cf7cc351
MD5 09c8f2e6881f360e65dfcb901d1ca84f
BLAKE2b-256 d6e8b02819e438eef94b97317369073238f2f9201ed3ebc8ae982a4638f21208

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