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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.23-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.23-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.23-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.23-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b201a5887fe1134db83c5ebf2ed5f1097a91e2a6e71ae2bafa57c13b99af577c
MD5 a6f8008bbb33bb78dec22b98db9e4793
BLAKE2b-256 06b83776077f766741220b2b80328181940dd036595c823bb7773420a7e09d83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d28ebc09912a2d1e2883f05a3361072fbfdb6fa56d85352959994ba451c485a4
MD5 960bd25fe3c25fb9d4704b0d3824d202
BLAKE2b-256 6d9c838bd8f6d18cddcd9b606dd4c23a42c16376524a30036eb33b38057f9903

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 07e694e63183d0d98ded478e94a0678e6716231ea2ad6def95e381ec45006350
MD5 40054d009387d29be441c8b677423bd0
BLAKE2b-256 0e8518beac0b54d4b7b63ffe7b6c095c4213369f8fb33b37d1bd05f4f4b119a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b3145f871f2b33bc3e40afeb55027354f4988f3386182f956e9bd75c85f7715a
MD5 aaabe48ba3557c1c6a2c751648d5f902
BLAKE2b-256 b8115e38415e8789f60b474b1e43a8f9efd3020fabe80cdb1afec77ca016a6c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c1cb40c2c3b9523b6928aa259936cba74a024c71b623145fc62b23913053081
MD5 f1d59dc53e308f7fe0a2e9cee1b57d6a
BLAKE2b-256 61f539e00ff5aaa9261d06d83b2ba51aa3007172b5b13b70997e9faa88ecb6c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6e0d7b08620e7eb8d02c338683916b97e8bf971a9b053c834a7803ead267c949
MD5 ef68d8a47f75479e568f6482868ba1ed
BLAKE2b-256 242da590d0003927345a42886e7bb614c37b65f31b67410d6f92e5bfbc55b949

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 31768f2a339bade394138173c46ed4dd7337bf230308a443cf3ac53cfbf573c8
MD5 69e40e9be100a491834f592bf86efa95
BLAKE2b-256 8ae42c9505fb2e22d72f3cb71f3d971e0d85b5e8ae820f8aaad42e2e3d6cb0df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 001762b7c9b0f408163e90f31d0268c3828f1651d49e8be8567fbf3691eb6ede
MD5 b19f890b21cc872951973bc6d3dbb275
BLAKE2b-256 a0501afb38fd32d99cfa128dd65f9648975ce00d9c5521fed6c3ff5ddb666cd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7e903da30a1dad086e5fc7d8477e9a959f12ae41af10776ed152a8f530955285
MD5 604f58ec24ef4ce7a934797db908588b
BLAKE2b-256 f2e8e1ef6db66872ee786891f5da6faef5065899e79e52ea37679d4749fee97d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 356d0f03919511ce695afc987dc95c25e40df70dd267f1d24259daa4f258b9f2
MD5 6fd25f4cc83e26d9a7c5801ff8d89487
BLAKE2b-256 922b05a69d3bb5f94cb180e227c03366842b33fff49a7d11aef5a5fd4786bd32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d05fbf29bffb474afafe80d59014600fe25b29b14b804ab51a469c692fa67402
MD5 a66afba23a203003eb83189ac56f1e41
BLAKE2b-256 9ab42c77e4195df813c618ba4522c6fc7e702c601fbcf0dffdfb771f36e51765

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 58e74563456603a43ba20fb3461b319713b5d9f5bf8ef8b566adc189e66e77d0
MD5 1f0318f2aef3d4ce6ccd762f7f90089c
BLAKE2b-256 c4187c2f646b67ae6fb8241ba85b539fba43a1b15dc46981765de6e7b4b89682

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.23-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.23-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 fbbc40c19aab8b1efeb59677671dd6b3299503660ecaee1cd40a3ff462ffe889
MD5 b71785dcc629a46ee9769173efc2560d
BLAKE2b-256 e4b85fa529a006caa8aea9c82c02c7fa42328d89a8bb42ca453726852c550c8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4aeab8f3a16129c487b040c678d3dbf22b92029169bf75713a74d26a1bdaba1
MD5 6a1cc049a441534a3ac8c686539f74c5
BLAKE2b-256 eb5de7ed6e84c7fa792886f40664c8ed13b5da533d34544c3ed95356e8d56b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.23-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a780f99a496bce3991b8edac68c369f61a37a7613fc152e1fe9d130de7ad2f1b
MD5 00d87dce8cb4f38bbbfe1fb861186e26
BLAKE2b-256 94bc98f3b6a80eadcb77b5b124a17d4a764e4e5e07536f8df94834d29d9799e7

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