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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.20-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.20-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.20-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 67987e6d7a1d87a149d7b116a7a81a55bab718c761783bc32573c68c0218912a
MD5 0f61fe20c446aeb16e04319d473e7e8e
BLAKE2b-256 1adb11fe4bc479a7c67fa6729761f7c0d770ec66d4402e55bec6edfffccefcf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 489bcdce7eff4a2a8f3f8bd92c8d4ea68550e462511d5477cff5a0101306990c
MD5 b739de64a050fd50e27fb6312468bcd5
BLAKE2b-256 623c7a0974fe9312ef62d72ab316e1fc460d09d8ae7a341d4bd80c217e05771c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f85b3df7a14a2e3609ff95f9d4ec31627216afb739e8f1d674ee6b937aff6a61
MD5 4e5b2adfef635bcc4bfcc9b4618f0d01
BLAKE2b-256 9de29af4928018bfd0e004a3788a8ed0bce5b93c76b2ea8cdd3b792b0196b505

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 70e57e1665e1b77bd39a75f42e530c6d2c47029be2f723b52a8e4e7f5f0b9390
MD5 22dd5d876f3785195b07b8fb9431ba85
BLAKE2b-256 b53ce85f0076421902fbab14f52dd81b6d5fb29384bec68b16cc5b545ba5c4c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 77457eac62855357c3e2aad7c2c72ea74c3221a396de4ff7bd84308b6107d73a
MD5 a341c76a0a0042089c45eca6e0364268
BLAKE2b-256 b64e25b6b3d4d20f3d864f7947e45c7c30b85064e10804a24c8be3d2013321ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5de23f314e324b22d0ef4964ded1de25cebfb4a5cd80292cd191de1856ccecd3
MD5 dd27dccec7b1049fa15e2e879cdc2ea9
BLAKE2b-256 9532e76d1f898ad8fe540a10a98ca7f45373e9aa69d056fa846e045aebf92233

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9dc10713288f738da9fc6bfb4f055dd18e8982ca60170a9e238820322827369a
MD5 f18f0078cd1849122c17a8cdbe4b0e1f
BLAKE2b-256 62e25bd27f8c85291b1987aaeaba02028db2e361453ee0f44cdb647201f603d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b1fc61a1bd66232807788811f80cb88cab75b66148f94fe869a2af67b428510
MD5 7e20904b262c1f6efd49dda3d5803541
BLAKE2b-256 a9030df59f799fa270c988530d9f652237c541b29f694a32a70c8c103c98cc82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a0cebee7b84c69ffa8220d0c2daa361f8517784f0a74a26b0271464e859666d6
MD5 3d228e3a4fdc0001cb24e051cbf4fcc3
BLAKE2b-256 ce59cdc3f8f1d660632fa84ee9736411611ea40c61dc9d0f04ceb87aa565948e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4586284f649406c58fdd4400d07c8dc9b22daef5197081b729f1a6c547071d80
MD5 54b079e251d469602a809453549cf77e
BLAKE2b-256 62fb7906613920494e3085288be819ca1e1628fc679749fe2babd73ca6d8a36a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b980b6222368093f3cc78e435fd2d215adabac77eec0828e3040eed1a47814fc
MD5 4a81dff9a7b4963e966030da15e35731
BLAKE2b-256 f2159df46da67612fd63db13e2fbc99317214ad321f43b9cf509e4380e6e58a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2f85be18749ca2ef615436252130aaf83ad004d554fe04f23d4efdf47aeeb2aa
MD5 10165dd23c173d4816afed137dfe4652
BLAKE2b-256 1f18005cd0164233d63363d3fe26ffc4353ea205e4a2608274e07c7145a51d41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.20-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.20-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7e57e43af42854b03f89903e979eb03e08405eb52bcf452c5b258eae14cd1d61
MD5 012138bfdce43aa59edde1d38d44af7c
BLAKE2b-256 c0013bac062365048badddaab94c42d7ff0c17199fe59972f6d46ac787ff380c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8c8306e902bca8d6ad54718dbbc7ef5340a75cd8338977839d1ab598e3bb9f1
MD5 5853039698c8a4f9d762a37099e3dcf1
BLAKE2b-256 0f3cdff24d507c96b631d504823658cb59bf3289da39fc255dec74cd4c0a0507

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.20-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 251acf2d07cb23075c018672036c5d4f4b1ba0911a29dac47747b7c8ec81de2d
MD5 990d8e0c6b4220564e09c679b4555a4c
BLAKE2b-256 89514c93c5bff6a31c26031ee70100b7d393cabf899cb3fb3d5661f969e050d9

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