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

Uploaded CPython 3.13Windows x86-64

quantanium-0.1.34-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.34-cp313-cp313-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

quantanium-0.1.34-cp313-cp313-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

quantanium-0.1.34-cp312-cp312-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.12Windows x86-64

quantanium-0.1.34-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.34-cp312-cp312-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

quantanium-0.1.34-cp312-cp312-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

quantanium-0.1.34-cp311-cp311-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.11Windows x86-64

quantanium-0.1.34-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.34-cp311-cp311-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

quantanium-0.1.34-cp311-cp311-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

quantanium-0.1.34-cp310-cp310-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.10Windows x86-64

quantanium-0.1.34-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.34-cp310-cp310-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 14.0+ x86-64

quantanium-0.1.34-cp310-cp310-macosx_14_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

quantanium-0.1.34-cp39-cp39-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.34-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.34-cp39-cp39-macosx_14_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 14.0+ x86-64

quantanium-0.1.34-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.34-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.34-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 854e93fab56f654de0363b9fc636dea2468025410aea249148c8dca3367901a7
MD5 855f39c74ac953e4e4a1a5360125b9cc
BLAKE2b-256 edaa3fcd59aca1ddbf50190122c0d07139437751166fd8a5d95e387330f40ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d5b7fcb83996a2ce38387371a3ada0d9b3d090a93faa1fb5732c5a57ad20481e
MD5 c570de5b63a83562556fcb7cb6926f0e
BLAKE2b-256 e4af7d91731ed1154ad40e97a232c81396fae033f986df6bf0b8619cccd87cb2

See more details on using hashes here.

File details

Details for the file quantanium-0.1.34-cp313-cp313-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.34-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 16e2c2c7fb7717180ff919df66a03be36c03a09d2c93620baa641b4755437f49
MD5 8f8f5c07466d27bd8415daff2ae72b66
BLAKE2b-256 4a193de04fdaf7e68c399c739f2b8de81a3be1ec397f0cfd0c055c88c1d8db4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 180ffbc5284382938115e3baf592ea6acf8474151221b41716e08d8fa9d581a2
MD5 a17afa9d1c12f11201bc9160c0a71472
BLAKE2b-256 db111b7c990374e571f69af736d90d2139d573ab2def0c131ebbff2b2bf7b2b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 13e2b9892fa407bc6801d6c7c0ef2bf6f1fc05e2815a94e36caa8fa6263bc612
MD5 25c4b589bf5a2b921a2ed7e8ff3bb42f
BLAKE2b-256 d3b6d04b6d1313d44504b65acfb5606294ccadeb6eded7104737fe08cc9c4737

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 609293c4fc418cac8c75cb76fcefdd1acabcd6efd51b3a7644e3e3cff984368c
MD5 00e47fad2c2254d4329e88573eb5fa5c
BLAKE2b-256 628d1cb985fef388223510dc5156a7c9013d54316eb24ae9a4c07b4e7770f61d

See more details on using hashes here.

File details

Details for the file quantanium-0.1.34-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.34-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 aff9d0260de0c467821b74b50d3ab63a59adfd8c44f89dce06836fdc67c7a351
MD5 e5601b2ff104d5e211ef8ca2b49e801a
BLAKE2b-256 4c65141e50a35dbe0059cd60fb75404cbf25f6a0494c11103b249cfeaafdd77e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f268226c5c9b0cfa5f27c2a8a2917dcaed5eff7bb3b9097de74cddde9f8bf5fb
MD5 726a65b975b2462b38d1717b7cdb8c69
BLAKE2b-256 87564c87d686aa6ea05d2203ca70ada2da763bb1b3a6d2771a5b4f5b3eb8890f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6081d202d37d2878501945dbc587c82220489d2b10e5e6c4fc93f5c1cbe35c78
MD5 a827150974595f27f031bcdfedd23805
BLAKE2b-256 e95f7266912fcc22c7eeb9695d52427bdcb578f1855e4ba2b42f91e1f0f25724

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c11ea91662ca737b8baca55d8fd94e725eec0b94bdc725ea6fc65f0bb6d6fc66
MD5 a18e46f400b57960802fac33070e7807
BLAKE2b-256 3cadd8fb89f20e95df48777b2978c8e899ffc7618576503c34cddfa0b1da871d

See more details on using hashes here.

File details

Details for the file quantanium-0.1.34-cp311-cp311-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.34-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 f3238c15f44530331a3543e36493364685a5ed9c3d5f210a101e198df4b4c191
MD5 8c3abf8f767f45baf570409a6ae9c4e2
BLAKE2b-256 5e09fecdbff45f546ebedd15c80dc0aab162965f060a2cdb675b73b0967078a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0f7a112f311e5d8355f2559f66d81e17e77fb0346065d1fdfff9294eee5f770e
MD5 aefc1cb3673b3abaeb35f287162e9fd8
BLAKE2b-256 2f4bd2740a4588438b2916825de567342b7a2dc16f29c00c05e61405dda35804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7bf2a4f5ea6953973817a02fbb5a0c9a7de9d7f59077a0b10490ef811c186f84
MD5 24ec1ec531df06dd3cbd2006f5d3518c
BLAKE2b-256 f6db7d2fc036709d7a51a2ed43f4592df5733e452a76b6f80e387620648e595a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e67df4b4970c0baec649cfd6dd837d74fa2ce0c632cda8708f7ab5c546b308e
MD5 3183053858a57ec2827b6117c61ad7d5
BLAKE2b-256 0baa127b085f0bab2c5a34490a56a397bd1e4312d9963b4ef50a937549ce14a2

See more details on using hashes here.

File details

Details for the file quantanium-0.1.34-cp310-cp310-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.34-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 6f1f9fc624dc487afdefc1163c4ef1471bfeed3422bcaa27be544fc53c6c2470
MD5 26daa0f4fec2abf0077d3247514203e7
BLAKE2b-256 d5efbfc6d262b8225b09a70b3c9b92705a605498dcb36e8e560ce6200cafe248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2a3546271c68b1d077e13c3426f72fc03f64c3202faaa9f112f859431794248d
MD5 c7fa9e03f38594aa0a31e4e457d52837
BLAKE2b-256 524c529c4ef191e8f5e7f91a48e352a0a143ff7d7af5a20c1c55947e882e4b55

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.34-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.1 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.34-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b60b4750d0c9b6cb9c53958a1450f61f4856450764eae9766c1ce13cf36df2b7
MD5 4269b86aaff0ba3b0f6d0765d9e0a941
BLAKE2b-256 e292573efe324a00467ff0051d83dc449246c17436b1063a5d5f754c886894f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b30b5a5ee224db9f761044fdc44251e6d5f6ea94c909711a9cc857d740cf6fc7
MD5 d96e6fa7bc075afa91c615277038a4f5
BLAKE2b-256 9638a3761cc076da4c2a1d3223d897cbaca481de7f608af5a9fb2e6de0e258c9

See more details on using hashes here.

File details

Details for the file quantanium-0.1.34-cp39-cp39-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.34-cp39-cp39-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 70c4940aaf4b81954350c107250a2762d31537d3c0505c950f2095c9fa829b03
MD5 3d37db1ada99937cabd49743e6beb85d
BLAKE2b-256 abeb2455fa3d1b06989756dfbb538f6a6f8699d6909f58615ae50d98cee2897f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.34-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8e21673524b711c3819b47b98179f900aeb7c606ac2e8c671fdb7f94d2a9a0ea
MD5 63596d948185b5e4cdf6feadc053702d
BLAKE2b-256 5d95878349ff186183b46ed05fc74f5ba0090e30c6902c88b3b090d65a264676

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