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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-0.1.18-cp312-cp312-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-0.1.18-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-0.1.18-cp310-cp310-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-0.1.18-cp39-cp39-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.18-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.18-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.18-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 338371208cbb708ec2e9c4913f7a9edc9da8aeb9e1069c726e3ff700910536f8
MD5 9053f18e25318c9d43303efd15f61272
BLAKE2b-256 82d808d73830b9a55a637ad320ad9b22ce77eb7223e3cfe961b6589f4f47eb28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f963d5febc82d167f20acd5a5c9d8b128aa098987765841e000ab5d4be64a56
MD5 883c89e4081e1388e7539d3273764ecc
BLAKE2b-256 9052f3e4ca3ca1f252bb6c0fae14cdf5df4f3c31d99c1b73cd4d52f533009d92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 88cd8cdce354389d119f8a82335b5e253ffe1489ad8428d1c4344f4f62dbe4b2
MD5 b54cca0db505ff253c83651713c2306e
BLAKE2b-256 2c47440019d93cc437fcb5f3c20fc327f9731b2b7c9ce6bd6143d346653c9d44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ace86bc52e98ced675fc8e678342741e00665f01605595fc630e8b3cf44347ba
MD5 2a13303e0354af5484b23b8ed5aa29c3
BLAKE2b-256 1d26ff2f29faebd9dcf3a97cd7dfaae1466275378a9550238bbf7f5ebaf062d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bb85bedb5c78d7ddc4edba52577b43aae07e9a319c4ef03ba2837cecc936728b
MD5 4fda9f7dec4d498fe143eaf6879cb71a
BLAKE2b-256 be350090c1521b8d312188a39a61f790953fc58c3bf3fa4f0dccbab1b15ff097

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 10ac0ba09b1e475d6d7abb1130a8e3d715c38a7ee93512aa4a6a4721726fddb3
MD5 770a2638dca50cc3e082da39f5cd8665
BLAKE2b-256 698431ef714c231cc90fe276ffb44061cc54a54065b319893baed0ca86f9523d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 20a40d44548e51248264eb9f7bc0bc02e12c0110d596986db899ca91b2c0f9f7
MD5 d0d75f0068e53ace27eff50076d20d14
BLAKE2b-256 5312d854210a90a387a05c18aa89471bd5b9c245efeb7ea40d45f38286d876f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f58e15dfbe6ab2f2f9b6141ac8c86b412dd2c0afc62f640339d6307eafb574f
MD5 184bc9e0accd61f613caa3ce48efaef8
BLAKE2b-256 2c83a15a8646afa35051027ac8223479157653c5e22bd54dc2ce8d764fbd3cd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3842e54df1434deafe54f108931d8cf36fbef7c5283789e759cf93d6b10ff14d
MD5 fe501d6c86621c5bba5695105c16f6dd
BLAKE2b-256 e07058b73bc16d8f342f5480d19ca13b52190e09d2b5d4ecc570ef79efa324bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b2fc3571e408e016521923ac454fad49f25bd6069111a5b892de0c478e993549
MD5 9026aaed31584b1106b46f3e08ac6a30
BLAKE2b-256 3e9321b6aba27d0b4acc21ed8e2e7fbe4a760d096dcd61f72d21d5a4ce3b8c16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3003372aa2b86a04d2c4b21fd919a5ec7719b8bf52a135a69baa12feddddfcd5
MD5 561e948e5bf41e429a8e8a738d1cfd41
BLAKE2b-256 61b82c10859e562ec8e1e1202a07874ea0015d80d5e2375aa42f3217cfff15d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a63bf6d53d9ed726a1979eaf83cb7f15b8a29bfa9a5fbf18d42d6985118f6189
MD5 fe21a22da6b546a3d2b1a07f9b05d435
BLAKE2b-256 d002be60185bc733d0ea2bb857edec29915330f4ddd88c32ce51dd5ca7df534b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.18-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.5 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.18-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4edbb156486e14049ac9e04230e1a37badb3d71fbd4b74e3563bf9d3f132f29c
MD5 eefebd429a28313528faab106ea34454
BLAKE2b-256 2531937a3ed4d4e2da76b42617912fadbbaf873a77a02dc6ca39a54858d2c2c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87ad50bee9416855881b0a4d18d8eeb5bcbebfe956e980d3e8a34eee9aa66669
MD5 9ca68d57e70d6fdf9869e7805f0c5c66
BLAKE2b-256 c2494f33cad17c35f792bc6c59cdfaca2ce05e596ce3f20538b056c3b05594cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.18-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 05650bddbc75af51af4e9e8b7bbb49fc119802cea5364befbc7b501de661195a
MD5 2fa85487d4910ba3d65bd9d2675e771c
BLAKE2b-256 f21ab9c00f3cf7038d5e886864df542d96b3b0144fb4ca2a4b2e2098fe1d7806

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