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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

quantanium-0.1.29-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.29-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.29-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for quantanium-0.1.29-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 69ba77cdd37926b05501cb520af59af98fee0396c4c801288767db206e4ff6e5
MD5 8185abc90e8544325ced662ca1f67e88
BLAKE2b-256 66f01d2060deae5fe8dc2fdcc02285b3b42f75887845bcaaf78a545ce24d29a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2ed758c3b274fb7dc0d70c5a446fc5ddba0c8ae8f419aef24d3e6be9fb3c172
MD5 aef9cf38f72a828f7c18e53e897c49fd
BLAKE2b-256 4aa06a2d3fef333e4caaed48a5d8ff411e9fa95045466b04a04854b25f048c13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 634c32582a42d8727d0ef89e90e48f90dea9dae8d777ca07b2887813c98ff468
MD5 eb9ede66ad8c970d3e42783bd4efdd91
BLAKE2b-256 78ead140974ffcc1583d94f77a24243ddbac7522c80d0fe879660dda639e9a0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 104e468f1ce20cfb58c53dac0a06d67ca6338967c777832538a363325fa8d018
MD5 6593a43ed135fdb120956d8d7cd47557
BLAKE2b-256 a152f59b8af1d1618eec04c5af98d76d38e562904b800413b93ae6e38d49857a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9f225c32592a0ccd902a382c649fbe28641db0b87318d107f45684db00254038
MD5 e8ce3f10c47033fe27e80aa9679610a6
BLAKE2b-256 939dfde65bd1528ed2a37e1d701821ef9082668229b12127fdf8ae2db0c0b013

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7f797e8486158d95b71730b320914f04b65f0c1418f2be56e5a34f05b6dc82ae
MD5 f72fdbec0e29b8dc589e5cc3c41c49d7
BLAKE2b-256 811ab1a23ffc814bb0e9734c7e3339b39dfeec46823cbe2697d8e1732e203b5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a627c04891298d5ff7d9188f6a7fd2d3ca3ac18aaf58cb3e6f02a304501374b7
MD5 3e387c26e8772c36e19d1fa79b5d955d
BLAKE2b-256 2eb39fe7d9f8cdf433aa04d16a78da6f4859190d464cc3599d059ec35ba799d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7893397a69aa38db4d540433d4e57d72e5280c31bba2e491ef028b45154a7efe
MD5 1b50bef183ea0557a58bfa5e35a5b1ff
BLAKE2b-256 42939ad86e34a74af187c99290e53dc647442c89a70369517cf2a6cfd12a3183

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0ae584084dcdca28d574172c5e27241c11263c06bee82dc0de77d981d6a1ce8d
MD5 96ddc2de55b8fee9447edb3ab4e41bc5
BLAKE2b-256 4cb5749b1e8bcd2b2b42a8cdddfe4c4b2f30e153684dd1c34ced2581491195e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b17da54e07bb7bc4585247f7ab467de55214f972991c7a90bb38e3dbc7f08f15
MD5 3894966522321097857bf61c97fa0d07
BLAKE2b-256 93c113c4699d5932a723927fe67a34f78eb4bd34657b345f4c62112828470c10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e288a05a284ab6cb48025b3931ea94856a75c4061c7000d21aef28ddbcf14215
MD5 f6e7210a483cddfb59a506f9b5276289
BLAKE2b-256 cc692dd6e60ab19bbe3c8add5e591f30e17912c79fe593c54a14500232f74642

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fa9836b13220c1e6f4ee450e5076b4fe1db698f38e8bf597474b13ce834992da
MD5 d9bafaffbc5f1502fe6a19f9d42c1b15
BLAKE2b-256 0aac806dfb0fa967d17710dc3677ce440b815e4151170f3c54970e6729f59402

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantanium-0.1.29-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.29-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 acc4c0333a45d887a2cdb4c10cf97db237243b4302cd94097d9a1b62123b2901
MD5 ab0bcdad11332d165b37c209170d27eb
BLAKE2b-256 b48427741a68f4469ae983f60b39ad6af15529d1b0185f6b6fa57b4c943981ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c93b9c4bc5e428c8f919423c0be5d328aa84e24271d461c13dee9c193c4b8a21
MD5 e9a3d56e98cbfc53d6685cbfa4302005
BLAKE2b-256 b31d857ebd199d20288dd9d43c15e7366870929c86183f9cef80c3b7adead34d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantanium-0.1.29-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5460fa3b8ad79d2cdccd96ebd830acaf74f8e718ee2e8bd6088c88ef39966de2
MD5 a6e7977230d6fbdc934042255752905c
BLAKE2b-256 f2257fb3c025340d6181dd8464648e8bb033e3a063cfb1a924d9467affa17a3d

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