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

Uploaded CPython 3.13Windows x86-64

quantanium-1.0.12-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.12-cp313-cp313-macosx_14_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-1.0.12-cp313-cp313-macosx_13_0_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

quantanium-1.0.12-cp313-cp313-macosx_13_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

quantanium-1.0.12-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.12-cp312-cp312-macosx_14_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-1.0.12-cp312-cp312-macosx_13_0_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

quantanium-1.0.12-cp312-cp312-macosx_13_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

quantanium-1.0.12-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.12-cp311-cp311-macosx_14_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-1.0.12-cp311-cp311-macosx_13_0_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

quantanium-1.0.12-cp311-cp311-macosx_13_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

quantanium-1.0.12-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.12-cp310-cp310-macosx_14_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-1.0.12-cp310-cp310-macosx_13_0_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

quantanium-1.0.12-cp310-cp310-macosx_13_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-1.0.12-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.12-cp39-cp39-macosx_14_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

quantanium-1.0.12-cp39-cp39-macosx_13_0_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

quantanium-1.0.12-cp39-cp39-macosx_13_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c854d62fea0559c95911e474d993c4332f752cebcf9fd89b7055691e90d26d2b
MD5 693806069f49b89cda1161ac32ce000c
BLAKE2b-256 42ce279b11e983fd9a4040c285d761fd09641b5b461bc7196e490b6f5ff9860f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f4e5fcce68f05ad5b9152e15fa4895907731eaf62772801ce07c3ee4218d385
MD5 43ba2d6af29720b4d80129bd3cf59c62
BLAKE2b-256 20b6142f7c9ed35fe06f87949ff42d245da079f0b37f4dc821afcd2339ac551a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 aea0356d2e0c9d63e5688e8a3e4da6a07c5c9b29d4669e35d7ef23e6223ddce3
MD5 10c87f1b89691ab8374318b5bfc86afd
BLAKE2b-256 3ba53fcfb4879dcde4d98e15c5da2548cc9a817a631d2714601cd144dcbedc71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 979d1b51c642f6b6e7fb74c46f0f606074fb522b1d0c2074eb169d1e264f8548
MD5 2456c85fa7e1b42947028dee6de3ef8c
BLAKE2b-256 452f9d0bcaa0c8ecc0f20ae5f7102b9ce9e45ae033622d88d7d966b63995eea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7004086162ecec4633dd2a77e2acde5e60f3818c0120c6f2397f255fd098d6f3
MD5 47494fdc7be2d5e05d146bbfe3d352a6
BLAKE2b-256 92733eedf1de47e1ee2a6b42a8631ed4ba0d1fecbc96dea12c96fe8da0053005

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c55dc56fcf8aa9875b63e2bd6c046a386cac01a572423ed7c861f7e38dd40eac
MD5 ef5e00e6392d5cb80711a4c5e95e2d11
BLAKE2b-256 5f7a64725e9b69554e08e50ad09296b790944e8ea885b9a6121b1b65c91b5c13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 430cc5ef8a2b04e0e9b363fb823836c436f2d2cbfd51b9ff491d6996ed72b795
MD5 f9a6d64701406a92ce2878f9c63f6d40
BLAKE2b-256 419f20f401ba87f2797f52ec3026153f1d99a438c050c0833ae9e2265ec0c786

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 69b96c3d4809767a6fc971acb7bd42f0782e04686ff924f4057d4683390b5e1d
MD5 052a4dc06068d92531673a329b779671
BLAKE2b-256 5335a98f6c509072300136c9d8744fa854bf6288f9a62cc72f4b5103d4baa9b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5089e2531538db2188b6d32fce5d74f39c2b53648fecf77723eab33258f6399a
MD5 013f90446a28c096c00f5ca29b922b52
BLAKE2b-256 09493e988d3b251c0ff5bd80ac7d85d2ede4a3fac5b31f4c21e227bcb209067b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e3670b1dfd40099569f8cc0257ecf48b77c776fcfec55faf9aa33a394bccf25e
MD5 26d76fd51e68fbc67dc6dc481a9fd303
BLAKE2b-256 d90d80550bb5e62ba76c005a5ab3428c3eb21438d88c64bbb0ebd18335be782f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 75e90115e181be57dba1bee44a0a4a1c2177579d57aaf3b0b988b5d09c3cc9ba
MD5 3fd445edf1f2cb479f275f20be5619ec
BLAKE2b-256 e3b38ab7b29948e2832e19a6f9e7fd3ec9df2e95ae5fbd61c732568abee0ee5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ba53f2271ad00221c0290a3670ec1006954fd9932f6c9b8f8633d4f8b4b72ba
MD5 007514c048cac58639427eebd3be6d68
BLAKE2b-256 041587c10c170e8e44a41c2260c116464af762d07133ef0773f3ce285349a4ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1708a7ee5b12579c57ce89eca5a8837dc819ef434439f345f87ce2d1fb2340fc
MD5 55f5877deb02a8569af054b18c8c23ca
BLAKE2b-256 e25bcb4c10897d307fd1695874ed649ff0d4067ed81be9501726b7a9bb98de5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff80efcaace553d6fb91f7c9d76d9cb46c83fa66a5b4a0af3852894966648a33
MD5 cfd2ffd7b6dbf7f57e6907c84fd26156
BLAKE2b-256 6154f2f2e8e941c3e403937d4363b28ab9bb1395fa12a36586bc25366d361586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5a53c7a692a07c4038f2fa3e6baf53efbf5230fe9cafe5bf694b21232fa222a1
MD5 9c899b902212458993d500fe5448eddc
BLAKE2b-256 87487621b4fb7fcd7a9c604352bac61b3f52a2b2958c1b7411a707d44dc36aa8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 42f8419cc687c421c4cef9a5dc7e04e623e34f72c8a07ec3b5948e5d063003e5
MD5 bb83c83e7e7463bc2af5f4e39d8848ae
BLAKE2b-256 9f23c44b942a56c17ffbba102aa0d3436370cea75c6e4a1167dfc0fad75e2bb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b5dca031caa8fb4db1696b5d93b54e32d0addbfa48798df96a73ed10a664463
MD5 a5efe77a8780b645cc65a81a4809f346
BLAKE2b-256 9e390514ebd1ab6529d0683f4cad1e2f6f6c4a8d10685f53bb7c8f83dc441f19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bfcb0dd25a27b27450cb879153cf9b2e06d690a489504d242262297b23ad2f7c
MD5 af44024b9af9131a7263296aac3329f4
BLAKE2b-256 782f9e0a2e98544b5c927d687dd7f283504de31fa8fb52c14c734ad45e5f0ff5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c83ee5ea77576fba9c9f46a1248e9c3a2bbf6cf6287d1b46c7189cf92a8f0bd9
MD5 09f367e671fa2d2cd4b841f6924cb3b1
BLAKE2b-256 8c848eecae579555d360f18c344631f2da587a6b53981764f30a43cf35bf5655

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8b14c56afa8bf9ef3594042e05b97ef3f8bee56acdc3836b2260085d368a7d42
MD5 6b9b9fea033ffb8cde9cb79043f20832
BLAKE2b-256 93a09243157beb0030f1f8e66e95413391a55bb347c83a46f247ddb7d7d9efd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.0.12-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.12-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 60419c1149e30769d5fc78a112369fd62b584fa05b2a9a35fced9d6244a60f37
MD5 bc7d41894bdc53943a741cc2e003adfe
BLAKE2b-256 ffba4fa394bc60af1d056978f75d90f4e7de97d77dbf20dd7dafdaf9fb49492a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b07e0e703738e91321d05f345dc4e61a7dfa53aee750357a8f9988a91598b140
MD5 0e2bde850ac5498e6439954ee4d1d171
BLAKE2b-256 e58f5d59327b6d1d04078ba16a1a3748d28284d25555a2e933c44f30bcb81df3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 171b6fb4b142743a4d0d04040e2d4e6066ef0bb97ee9e3b4a8f2c6a319c1c0a6
MD5 45e6e0f6977db29813a45c9adc4cd3ab
BLAKE2b-256 72440a42880069398df2a4f6fec5f77d3eb7762be659cf0bc826cef873f18110

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 faf444c1b66632a6c078b646429b5c5d34e54dae39bcd622957756b67bb83010
MD5 1dfd0a3e27240d04731c3172fb1f90f6
BLAKE2b-256 9a0ddfda55310677686f05fda7824efccf1373830c281063bc13db8fc90c057b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.0.12-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a3cf24466820c62290ab36d44e6d16f309773440edb81cc24dc0b1c419f8d70d
MD5 b854d78bf99ac4af708ed7e1a44fc56a
BLAKE2b-256 2eab0f314d369b6e95b0b0188e4a73890365b33c13724707c88cc5228057b4df

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