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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

Uploaded CPython 3.9macOS 13.0+ x86-64

quantanium-1.1.2-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.1.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: quantanium-1.1.2-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.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2920bf35409c9fab1c84b596f090811f095ac66f0e6647a1c03f7118039b379f
MD5 4e89ac16a7eece3725daf372ef1665d3
BLAKE2b-256 ecf52270973c6bca9f373470fde9020f107e8a5f86a7e28797d396c039100f05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff9d91c85a09b0e61b9d01cfb3f2460be6c0f68bb546b926b32d51fa31078a11
MD5 5401c6fe948e175d652eec0ea16cf947
BLAKE2b-256 6ae2da55d043aed67e22eb86a75d709db64919ce422a0e87137a3cce2ebff201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 76abc825734a53776560730eea80a9b73a6c54ff2546821b17f44c49960a6caf
MD5 8ab5bb15c000fdedd15db6f35b18e62c
BLAKE2b-256 e79573f3d7b671b5d69fb87dd8362ef5ecb744d4b1d09b6173b6939609ef5f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a67c69a95ad154e4787bb77c3f022af376447ac1e35e7d7342feca0a8fff6285
MD5 c7707519d278f71dc645b50208b50034
BLAKE2b-256 d640c3e8072983936447f43ca710c9f2ad2b100b806953009d96e5f9bf041344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b246af9922e0366d99977a748f549a037c05224498a7ad3f8c886d8bbb8fe3e9
MD5 ff176d13ddf54f3ebb8c441109a48425
BLAKE2b-256 d1104d813b04a8e295d61bbf7d8eb5597284d0f34da66532bf39b5af783834f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.1.2-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.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bb2a7521f28cdae701660fd61e41f80b712113861f436a09a728b48d2214566c
MD5 6a1132fb5cefadd19b79e60841df84c4
BLAKE2b-256 6239a5eee2ea54b96ce0433b8448ef0056d7e7f8f0ef511bffb272cee5eda9c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 12155784fa14082e47fab542e68e657ab733af20e5ee4624daba2d1589789484
MD5 6baab3667ee676d72e48d0a6d025fef5
BLAKE2b-256 afef65e377fc87eabf0e7f23d725c148e9b3886634a44918ca44fc875a2eb04c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f270a8e2ff55fc206a7341b5fdeb2659afef074a479f0963b2372a9d6151cef0
MD5 f53ae30cd01175d9edf445d1abc4d090
BLAKE2b-256 35b552302f9601dd58506ecc50dc9008ebf999c82d23085d82fa097dffe662e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 77183895ec010e3b393ec558cd2614e47b94e2b657cf1f8096552a464d0aa874
MD5 aea8744941648492713c9acd7649813f
BLAKE2b-256 c2a5b0c50c9a921ef23030fc011790d8838641dc7274a0e719e44de23e184f3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 43401b8fe2618e0f4f58307912397047dd7a957a0200880f6f9fe783722ad3ef
MD5 37f637605ca4ac90747a5e3ac96ac966
BLAKE2b-256 577d1725e5cfc44c3c3e6f40129f8e948c7e88d9ce020cac80fd8f710b3c435e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.1.2-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.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 827cae442a315bd311f566705f54c80e7191c568abdeeaec1937daf1919cde13
MD5 3a4bb51aa8bed5eab09a98c943fe050e
BLAKE2b-256 04f00da0bcf9809e999b6c733c3d716d180f49492fe255a7fde22e65798a484b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 62ca9fa345fa3d4833d2fd022e67997421cf9dd790741bc25b2c16db27b6675a
MD5 039f89903b1a0d9b791982514026d410
BLAKE2b-256 349843c3af3877dc84366953fb4fa19df48a90b4bb93ea9b59a581a6d1896d6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bee6a84e0a3cc6305bb7013c119b91f4f32311094c308386f326ba449fb91f35
MD5 bdfd14052e3012bbe15edfc0be451892
BLAKE2b-256 71ec0c8d0533ec92e6819b1e197bfaa595fad468fd8c4e93706364275a4db86a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e214f0142409d6fb525ad8dd855fb2ea040723598ffbc48389ce78eeabe72e26
MD5 5a32fff885b824db43ffa6294792757b
BLAKE2b-256 4fcaa0179e7d467f6f1f6e76de4035340591eb02cafeb7666e31a91f06932cca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 69cbd90de7fc205621b2d3a0fa779e55a4b856f105f78ae6bc9b2cbdb92c22c4
MD5 2dfe645ba346f4c6213d7731c7e62675
BLAKE2b-256 6019529702c3c0d77c29f33e1cb47d60115458e2d1f691a13eaf6bd717434b23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.1.2-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.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 53bffe2246c3c294a12c60c39e3da5e4291a94682e535570cd317cd2a56a73de
MD5 f41ecf08b8156e643f966d5448bcaa70
BLAKE2b-256 43da08dd5d4aa15345b6c575e0d619da84a36bfe9f8b8e98eb18953d7aca8dcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ad4ce456784790bf615cc8f998374232e564ec0d7435fada66fcea764fb1baa
MD5 d24efb1ffe3be3b0c0a6141a52b33dba
BLAKE2b-256 a28d3848696f70ebb868764a57104ee11d8d5783c692039943372db9bf1a9343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 48db74c901721e4a43c702a1df75c33b3bc460f54087fd36548afec85e716aff
MD5 36ffbf09fcffcd5fe28a395c5f9c6e96
BLAKE2b-256 e186a5444e8af9a7c293de1c86f25be208e6d8852952463e955b252819a94eef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 15ca69c17d33062552d46d4dc507c2e261345401051ef37b8a697645278c9a48
MD5 ffe94a074a52503ee06b12c065272378
BLAKE2b-256 001acdb4b28b7ddb35bbc0c328ccb65f1a78b672093262506129f47815ddb9b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f50ba54a59b5de7314c05a9342fb578e808c0db562d5ded2eb7481af1ee79893
MD5 d86dae6219bc884c01c95b90f667bd29
BLAKE2b-256 132bc535df03f370b71056404d0820bf586fa1d805c7c65e71beb2de5628acbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-1.1.2-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.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2609f7aedbea87c66a9cd4150257b8d4c8c79e081287ecb69a5b9fc36e4b6d5d
MD5 28fd7fa9b09ea07004ec5749db34dafe
BLAKE2b-256 81002572c1f9457e0d2ca1a28c424c2b6fde8efb3c414f9e6fc212a106e077ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 930959b841b81a85c24935b1baea0d99bb64193b00c731f174d85672f8e7bf88
MD5 48fce0627ebb92ad6bee073d614574a8
BLAKE2b-256 8342b3ae1ebfe977277d82b50e487f44edf4e9f8c7f318b5a3b2850a5aefc5ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0e6345443359e2379ce9925d6eaaec03c95ff3a311731f2206e70922de86d54a
MD5 84ec24f3307c8f765c2c51b2d9893af3
BLAKE2b-256 de7b2f9aac5ff826a21c016859b763dc7a6df507194ad123aabcc3957ed008b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c82b0dcefe58d12c6b84fd731508a7e7ae1a2614f7a737ace7922758910361a6
MD5 d4d9ed4388a7b3c39fb742df70c94c5d
BLAKE2b-256 5ddbc9d8f9930e53bbbf18204e491354ba8a028536875f649bd2d951b02dbf32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-1.1.2-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9dfe2980b99fc1cbe2ac8cf6433fbc53360a5d34551030c3f1ee10f6d9866b04
MD5 5556142c4406e75afbd9f0ebc2093f7e
BLAKE2b-256 282d3b30919cf5492b9c810f25f650a5d0bceaa3e2b6cdedae9ebd5054fa695c

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