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.14-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.14-cp313-cp313-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

quantanium-0.1.14-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.14-cp312-cp312-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

quantanium-0.1.14-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.14-cp311-cp311-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

quantanium-0.1.14-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.14-cp310-cp310-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

quantanium-0.1.14-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.14-cp39-cp39-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d9e9dc94a9089d30d48967a8c761414404d56971efbd2fb3cae44098ff08a111
MD5 8cbeb047cce1a8015e170b910301b09f
BLAKE2b-256 0d3d561abeface82d741088418a5219c772f4d4e599256d69f01ed961b919eed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f9d915d2d94066f70cdfcbdc0070a1ba5a728f5a117b6ace2cf35c6a6f892beb
MD5 2396bbc85d5fe7f9bf581d3075d89ab2
BLAKE2b-256 7f3f1556499785c929740efe899b90d334db37dc053868033faa7993132680b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2179025e419325366348c226eceaf994601702512646241c3846f4e243a0d180
MD5 123a99fbe549fe4379c80216942d9ac9
BLAKE2b-256 ae4f35e80d1566639a54c3393ae38de919fb82c891d61a514d2ee8e744c96cb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2346786c97620410cd5f7a1e02e204d469ce50f655032001b2002e960597b889
MD5 7a4796ac2fa6b88a055282b6759e483d
BLAKE2b-256 c78adf92e71758fc37ce84ac5e00fbd095ee3ced37f971447d6ee92e49dbb1d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f066f0f2614cee21dc4d8d057755dcc44f154a77fdf4ae327ca18fcb15fc2632
MD5 6237a147f4fcf2c2ee01d357dcdc4fbd
BLAKE2b-256 7ab95df7aa9224c58995bf069c91d29c4d2d9de2bc1fbff4ebd9821a9f72bfaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b946767af45281c95616e4be4ab3a17951e3b8eef08edd6e035c935940ab42cb
MD5 7d01453d13a9216a3af113179c07f409
BLAKE2b-256 6141de155fc3b824d45bd04b0dd6e5afb564f93b652f5b2f9887d1f3a7735d5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 45f3f1250ce2a29187b973e60764608634606f6ef90f0d45f62f0df18d3031c9
MD5 c552eb92f4b03a21d60bd4911b055289
BLAKE2b-256 827a7491096999ed278f763ced3d21aa9fe6f60727d5451753c74060a88f5cce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b660398aad1ffc5f9d48971e642181b3d654ce18896d008ca776c8f01f21f3b
MD5 c59cc071de03be56ac3a2d5cd1fff54b
BLAKE2b-256 929535703094e159b6a78e58dcbdc303fac52e5cc6ed2d7cb6f5c4f47c22a2aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c58817b5dfbbc0c452b12547fcc5b1fca02f8b6d63b6808cc4e53f71fad65d2
MD5 f26466fdd7b2ae957d9f4cada2ebaa34
BLAKE2b-256 5709989dfe6e7c529a77c08d39ed97b1666d87187ff39a0f6ce0ea512525a1d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.14-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6e0c9cf58dbca7ae26239be10507c4ad8e379becee77dbfb8ca3a1d676af8982
MD5 22c71d9f968085aa389b28de0a316699
BLAKE2b-256 54ba031a75f2a166b5b298ace85de94d7a1beb3f32722ac02d38a02fb038232b

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