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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-0.1.42-cp313-cp313-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

quantanium-0.1.42-cp313-cp313-macosx_13_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-0.1.42-cp312-cp312-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

quantanium-0.1.42-cp312-cp312-macosx_13_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-0.1.42-cp311-cp311-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

quantanium-0.1.42-cp311-cp311-macosx_13_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-0.1.42-cp310-cp310-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

quantanium-0.1.42-cp310-cp310-macosx_13_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.42-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.42-cp39-cp39-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

quantanium-0.1.42-cp39-cp39-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

quantanium-0.1.42-cp39-cp39-macosx_13_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cd77fca9a5da02008209d61a75e6ff234ae68cf1567fd266c895eda6fadc999f
MD5 fcaacf0a993e3cfd60dc70f5ffbd355a
BLAKE2b-256 515336cf09df80dd536d73cd2b2073aae62bcc533e2de7c44174751dd1ba4d44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2b6ebfbb0fd8ea8c4640620a627fc9725df47523c3026c5df94f246637b0b178
MD5 98f62fd7e7ec9d8ca2aae854a8fadae1
BLAKE2b-256 580dafbd532dc5cbb6950e4b89f81237142da914a6524be555b9ec576821a79e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5acb2ec28e57bf6648ae285cbb60544fd1aaf942d7fc638e5928437fa8d0932f
MD5 e81a354c8f940cd0baa86256703383c4
BLAKE2b-256 8f9072b3167879e17ee410076dd5ad1ab26051ef22950a43992dee922de6643b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 17935f7848b2b5b0f765a02d0c8a9879548b2079d01d111b78b202ccbdcffff0
MD5 bce97ca31ee77708edba6ddd542262a3
BLAKE2b-256 1e4d57db7947dc31548527bcf0dadd199bc728a958e86bdfe23a1bd82ef52738

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aabf8372f7ad8e943eb1c966279aadaef92ecd4ece6a3098aadc8cdd896ed255
MD5 8e1c2329683692a647d8154c8cd2aa25
BLAKE2b-256 5047c3309ab78926f77d3afa1deb54fbd2765794e18b450d414390b1f63a4bf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0756131f7430269ddef78441e868fc628813bcd50f0de0a56ccf1221f420d340
MD5 9e5bcd9bfa6c1c4f63f447cff73bc579
BLAKE2b-256 49d378f65c89d72cfbfe03d27b470ae158716113fcc2cc4fd5e2484bd8136822

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 278a5bedb82291e9bf26e25edfc0fd2c32c99b54ec90c5048968a093811c9502
MD5 a38029f77b2491c2f0c803a5b8f1e352
BLAKE2b-256 fa082226c1dc85c3de3934b2519f6a3b93fe1826453c0942ac74b6405b422368

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b6914b611f7f652d9bd75f220246cb500184b5d2d6ca28145225e8b5772896a9
MD5 395888d23cc2a8df4daf8efee9b8c08d
BLAKE2b-256 7a542a7ae7a31ee7326ebf10b9b870782596e82f9c14e5b7b2f105ecc1833a61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c955355208f9da271e324e70b36e7e81d3f8d4b58dc7773a161a6fdb88c61648
MD5 f207d9f452d45a75afc96a320239e485
BLAKE2b-256 1713be84bff3c8e2664554cbac1fe9729c041ddb412b8470e038619d97153fa3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c08c284649edc10bd4b274ac657226bdcdc2fd352a410a45f2aac5da193d3cf1
MD5 737dafce109edc0bffda8591503894ee
BLAKE2b-256 068d547e276ff32842037cda30248cad4b3d05e41a9c05a80a54702bc4c9026d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 00318ab48d0cf047ba37466c46fd0f7bcd31e73c64779a1fd3d4836a1830f4ab
MD5 964122d61c81632c2a7e69434976e8c6
BLAKE2b-256 be75263a7655332376fcd1e2341f555603ffee8a547a458dd0fb426952658263

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38f1be8bbc1610424ea82d95771d817f3de863fcbd35438b90150eb4f818bf73
MD5 704e92eae22ea622f474b94ddf2658c3
BLAKE2b-256 f77d8720d9e4942ce2c5cf178be94850b66347ca58267689f9381abab6e2ef6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 45da93c0264cb8e672f3ede247b47a3a75ea01d42cf75c81c1684684d95f7fd8
MD5 22576ec4868966a1b27ed67ccba27b0f
BLAKE2b-256 5388bee6734d5b75208a8c30247cedc8fb32dfda3a2c303ba67ef6cc1cecf9a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8870716a073089b80c035eb6fb5dfe4c73824c79933fa787ec974501da7af227
MD5 654dc07d9bd898343de320c40e6ecb67
BLAKE2b-256 6e407e04a26486712580d23d3156be3e9e85bc59f6ba9f71f154b0d45dba4f3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6c9361764a137bf171ebb99d7c3baac4b2b135346a87e4a71fa18578a3df5062
MD5 d29ab763ed2ff9ecd1f7b8833310e200
BLAKE2b-256 c136f560c8bfe8d9539c38dc19d54011171ec7c1429b862b2c52469561bab2f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4955264dab6726a1c7088e4b708d1e2a1c7792dc7f7531d0b53d8afd465c5161
MD5 aa874f089c7c938117d2e99dc25493f5
BLAKE2b-256 07284abf2d1864e3eaaec423d32833d423d57b8ce8d3a4c13abd21f2eb440637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 528d8179cbb2140b37c54561917b382020a5883aefff503d03dcf27c350c1fe5
MD5 31af8d0877db8fd00d3d7c52503abcae
BLAKE2b-256 82dcde0d41c864ad1904a18bbf89dfe91000c24cb68ff2f02180646530fc7e3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5993eada2b6e7d3ee9737876d3e0c1f9b172d395d1c4c499ab9992939f6886dd
MD5 7476c7ce16f4d425ed8782a01da23264
BLAKE2b-256 580e43d5b7316bfa7757411d3e007d08b8d8e3d033415db5ab46631e9a3e7d43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 10ea4e0d617abb5406e62e4fb329dd6e4c0f98a5c7f6dcd486e312b5cdd5a7df
MD5 ce0ab72e1033b32c8587a88cf04f4649
BLAKE2b-256 e01a91fd69eb62b00521f85bee428c9507241b2250d54fe6c146711bf16f58e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 344efe3224c483820b2c513556121d4c00eb1284265e714b525c6aa6aeb210e7
MD5 4d89c20d2236695db2d4f25e10904300
BLAKE2b-256 8daf8713f30a6e34b83579fb7ae3eb28dda4642d8893e05c9d4718a15d8c1602

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.42-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.42-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 79a0d35fbafda236a0330dc61ae579ef9ac8afc6ec27b667d64ae826c91fe16d
MD5 83a5121a62e1fae63deb22894c9f496b
BLAKE2b-256 3dc683f8153b3857fea3efa5aabd980ffa2628c25cf6db012190d64e1926dbfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c504e3d89b0666225282a8fa79f223f1560a0f36e83c6182687e53866d1b6e6
MD5 54b39e0d508a9faafc18913f675492a3
BLAKE2b-256 6981d9c502fbbb7acc6be64ec51b569fa4660d6d7cb6221274ddccf3dc8fa405

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cad913977b0d185ada730df2a51db0c1c6f09859eff3627ec6f8e6b584df34f6
MD5 b64adeca990cf29821e8b2004f86b995
BLAKE2b-256 08def1c230621f2a593f7506f0d95b2606588d1068b538973a8ff2eadc08a184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2a01d7e79e93543dd822ebc70840c75177503fe9a32a51f48118c1ea8e41b587
MD5 65f4eb4535223a6a924fe23122eefb4c
BLAKE2b-256 188f047619f7bf071dd6cfc4c919c545d9693cc6d601d11299eacfe2290e258a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.42-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b8a5f939820eb167ecfd20beb6c1f661554ef3ffa67ecf843477e40595b4badd
MD5 66cec8da841ebda79ae28fbec44da37e
BLAKE2b-256 69ca59e884a1683d992167aa1f36b4177efdd515d7bcef239571946e6a7cb776

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