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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-0.1.21-cp312-cp312-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-0.1.21-cp311-cp311-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-0.1.21-cp310-cp310-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-0.1.21-cp39-cp39-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1e0cf8d185b3269360cf407efaddda397f8d7c7e9e228e67be25342abf3f43b6
MD5 d4d34e22245e622ecd3c7592b4fc9497
BLAKE2b-256 6b488d5717c2201736d0979cc89435ab1277d899a119e2c1c5e5b603b139a275

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d117a444bc639daa9d023296e550edebd6059de867e9684225c184e2e9282b0
MD5 9bf404cbc4e0702c182dca2317c7d1fe
BLAKE2b-256 b1902d0507e9104875936baaee99d617ee0ecb5652428d9d665eea55ac57a71d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3b3bc87fd0c1ed6acf469bfebb133c1c8e198f1b4a46dbe5762655000afb1d09
MD5 87081f895e7f1b419f4d84729b956d22
BLAKE2b-256 dc489c020f1884d6570d38f9e70fe82c600bb1ea9dccd039e17b343dead1be8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cc8f7fbc0fa8509e219dd6364e77bea9ef133e74acd9e2de26e989af99e2dc7a
MD5 4c0a12a884b5a44087facb9c8ec35235
BLAKE2b-256 dd267de18ee73d4cfc9c312eec9f49d0a9ea3d4b7df636eff1ad78e8777567a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cea610ea631c4056c5eb74ab7783ef5c8322881b01da38ccb2774d45a78a2b03
MD5 ad301f37051b0915e9c0cb1bae1c33eb
BLAKE2b-256 b7e8340dc737bdf54761fecac4d85743c678f8f254b582800ce2379244b83519

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5851aa0bb20cbb74270b77c443fce6112530f828a5293f86cdc1803e5582bb90
MD5 529501d542e2bb709cafad8b06c0d0c1
BLAKE2b-256 1c62eb478a7d4c66580d987ee35ebd12cc0aab4ca01f93ff2435d23c2b39a339

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dd217843178560248b7dbef26885d5dcad507f4f286a318c0b97d5a3284b7796
MD5 f498b09f6f7737e85bbf60f624c06089
BLAKE2b-256 faf2d9834ec1fb450f421bfb514c25650a4638dc73ec372136fc0f72525da3cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53bc5d31333c99f620078eb609f013c27df6d423e5b1d17a8c59149e479570f5
MD5 4a86201b64565f2134c46a841065f3be
BLAKE2b-256 62b2581276c6d70301a13531232901f9720b5d24c812ad1a9bf75d4d242738ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 62d0057613e2158817fe6613c2c8db955a718539d71cdfc23a836ee1c9c75e45
MD5 bb6f0af1334fb7489be07ddbea2e8b0e
BLAKE2b-256 0dc73cf3d6abd757987793e1c521971faa1f803a88c00e9d2bdedfd47cf4f690

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 29379a2c15f26216a3720fb7bb6f3ea416b3d81761ea32d1ba9f7fb2bd3ada2b
MD5 cec7fc2fc77ff4817d9978931e2bc94a
BLAKE2b-256 35c4d976260c77f8aa9f464e1ac99f0396cb136c3351587e51d4208b5be30a15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 71f7a0efd997ea6377fb5adaad1d240caa5ee8001aa1901217e3224b16be6c9c
MD5 5218373e06318290ef690e59c9550f2c
BLAKE2b-256 86cc4f2f4081d988ec07a9f0b18bc58e9d93e093aa701ca8dfda0fc170f8dc7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 82e21efa04314b2caf85f6b5511c44d7a1fd33494dfa32b7b738717d03f3bea1
MD5 12a3d174f2546bcdc55b321d9e5f0fb0
BLAKE2b-256 4d0830b2ae6e73ea4074853f830a26bec13ff3f86cabca89f8a8f8fc05a97aa7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.21-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 4.3 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.21-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f0b9e49e19c965ad1af9485d1774f8c307af1ebdf8a1ea1b885581ef79df3af7
MD5 307bc6ebef5957918d454968644347d9
BLAKE2b-256 ae6162252687a242df10b7cba38b342d9df5413be7dede56f9c9052715b6fdd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 990cf342e4383922c04238c9be6bf3857a08fa2bdf3a5db0d67bc13c5aea727b
MD5 5df817979d94eebc5bc13bfacb5151d8
BLAKE2b-256 d28000efa25ea27faa3cba7cb073dc28b401a84dcd06bb4de19ac2788f8436ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.21-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1d5a14b104b9b263a7d60520ab24827b47bebd791b9362e866f8bebb75800f51
MD5 01ac6129a382ee9143999ae23d21c9b3
BLAKE2b-256 a2402da55baf9476ab162e1ca0dfea0422df7b2a8223aee3eeca530dee713403

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