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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.17-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.17-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.17-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c1622bfcbd829279676b9c99ce9f38df1f8674adfa63894456cad98cda950b7e
MD5 ac404812fa3dd09f5895c6c8056b3bce
BLAKE2b-256 ad28f5121d8e1aaa39e2330e88adf1ba65bacb70fb64391e16bf1f4585e7ebd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d48535c946340bf8b06533b54f1cb5ad4039ea718d707ae302db268a4f6b219
MD5 406acc0d787e71569d1ad4d54d70ee54
BLAKE2b-256 4692a09c44e2e9190d36f33ad2d8595f8bf14b1d9ac4ce7c1d61f162e07860c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4017eb1a2b6658735ef83f3993b5d76536ed9f8feacc7c57a27e4d52d2e293e5
MD5 5c8ebf39ad888ca4d0525ba793f69f9b
BLAKE2b-256 1bb6fbba75ee8330805d19a0d8bd663c5a8e1a603703bea2bd9ad0a2709c33a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a64fe7f70de3955d8f8cc34bd4656768fdc6a2c6c3633d642f41bbda3859f5b7
MD5 d21ecf385438c5bb0470a199a80759cf
BLAKE2b-256 dc4fb8c22411ee110f5d6f0c030b9aaa1208ef3917348a1d5d30955bdca46fd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df582ce32ebd30af92c111dc10e30ff09cb32ad3618bb90ceb43c1f36a3f6c4f
MD5 1b33e0e3b7e80a053cadff22826cd6dc
BLAKE2b-256 b1dce98915c7e933c31f2a2579a6da77a94122039f93b3a8ccc79d82c2316afd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 04a7a24b5d0efd142b4696b1fae5f3bbaa686e2f68dea3d57c99545899c191e5
MD5 396f49d16722b26bba537cd5190aeaae
BLAKE2b-256 3599760c6e13e1117e033090f465666365d303f719f0d58bccce1dda5320ce25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ab4d56adb71d4aa2d5da267e7da77771cc572ee6b1d24232fe6def4d2c5689f0
MD5 a005ecf90efea0d997e1668873b8e2fd
BLAKE2b-256 9253e2b33c733defc9abe08ab89ebc3dd0cd31d848e959ba16d9269cab7f9573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2ef54cb8b61d4ad25813f781520756a1130ad554194c15ac1a47ac7d6ab4213
MD5 0b1ea9fc48dabe338d24694f4c0194af
BLAKE2b-256 8e66919b542a2a2c8abdb79f7acb22ccfb263c5127d6e6e9140fb668f8d3edf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 34add2ca724bbde3b4d2cbbe52bc3d8cf31c5f4042d62e6350a7f2581ac7c257
MD5 00aa55466b865e1bc7ea367604718e47
BLAKE2b-256 30276fabe9722a21b13306f3af195fe4338fb7e33bdb9e15819c65dc3742f3be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.17-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.17-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ef424ff4417e6d2f558688e97ef4fa630a893a215b96d95a6876399e7cc35c35
MD5 7d0ce331f6f30ac7d0d28a7b3fd4ffea
BLAKE2b-256 9dca4200ba49db5f81e2a75e02d2d46eb9e19806c2d9233a539105497ea80954

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0aa5043281a94554c3ca8ea2595dc6b1d69e169f4cbed81236fbec087a0dd132
MD5 2221c8830b3f3c6beb1e478e183e582b
BLAKE2b-256 8c7964d467227291e5d6d10d8604c14938425e7813ca7b8c4e8acf5c00524184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.17-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 69b1580b4d60b211901a4b777025d65bff2a28b8996af4467ead2dc487f1719c
MD5 c3b42a13ea565fbc65424e691581c870
BLAKE2b-256 2e8414bf67ec355a598cd37b6f44a6396cd3daa29c441a4be37455b32ba88558

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