Python interface to qoqo calculator, the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations
Project description
qoqo-calculator
qoqo-calculator is the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations.
This repository contains two components:
- The core qoqo_calculator rust library
- The python interface qoqo_calculator_pyo3
qoqo_calculator
qoqo-calculator is the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations.
qoqo-calculator provides
- A calculator that evaluates symbolic string expressions to float values
- CalculatorFloat: a struct that can represent a float value or a string based symbolic expression
- CalculatorComplex: a struct that represents complex numbers where real and imaginary parts can be CalculatorFloat
qoqo_calculator_py03
Python interface to qoqo calculator, the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations.
qoqo-calculator-py03 provides
- A calculator python class that evaluates symbolic string expressions to float values
- A CalculatorFloat python class that can represent a float value or a string based symbolic expression
- A CalculatorComplex python class that represents complex numbers where real and imaginary parts can be CalculatorFloat
Installation
This package can be installed directly from pypi using
pip install qoqo-calculator-pyo3
For x86 based Linux, Windows and macOS machines pre-built binaries are available. For other platforms a working rust toolchain and maturin are required to build the source distribution that is also available on PyPi.
Contributing
We welcome contributions to the project. If you want to contribute code, please have a look at CONTRIBUTE.md for our code contribution guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file qoqo_calculator_pyo3-1.3.1.tar.gz
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1.tar.gz
- Upload date:
- Size: 47.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f65335b488f23a0eee874a245e88f08b79e6335ccf09a433da691c130691532 |
|
MD5 | 72cea7730caed8fd2c0d9230bac2685e |
|
BLAKE2b-256 | 8c02662bd2e9c7e2d2409ed6bc97f721ba64891ec185b6d32a15e9cc9d71dc3f |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 326.3 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce9fd3028325e9c0e2779ef6d1609958db08da974d859da0ac2ba1bfb02fd11 |
|
MD5 | c806d1d6799d99f86ea593e7220b1531 |
|
BLAKE2b-256 | de28880023959f767e0deb0e0e00eb2f1c07f4aa6fb1bd4d104565f1681de636 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 312.1 kB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7732fb8855ac6e5d37802c0ec4d29144e0ecc06d4bf90b600a253be692af851 |
|
MD5 | d31d3f9961956749d19150cf66959e80 |
|
BLAKE2b-256 | 40f9a24891010438678e8f7d2f6e38b57bb57e83f625c364cba31b8dff68173d |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 312.5 kB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e435e0e6007cb5b217897ca4daaa44460e1ca63ff790f05662afe7cd832c9b15 |
|
MD5 | d90b56cc94b7ccc525c953c369c2c558 |
|
BLAKE2b-256 | 57dce08d18b215284c46d6b55f6b28052e0cf97b07a3b3f64c698daa0a950728 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 312.3 kB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec33f251f044b762cac89a06014ec8912c622aa6086ca3c54b2ee1f81cbae185 |
|
MD5 | 5c38cb68fb77cd3fdb70cbd089571e77 |
|
BLAKE2b-256 | f9bd0fd655aeb92b87a92bbba26f56a79e57a8ae1cd76d90024fe115975a81c5 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp312-none-win_amd64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp312-none-win_amd64.whl
- Upload date:
- Size: 256.0 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af28ac3723c83a530d1cc1ca2890412d602d02fc313decb5fc6cc32c7077e703 |
|
MD5 | ddc336409275627a9b4853a6ee3f973f |
|
BLAKE2b-256 | c4863ba31bfa39cf4dc86dca11525aca4a8e76ce3b9df0fabf6758d3227ff93c |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 327.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4cecfa04451e4d7cdf8c53701e3acc223deaac03bbb57c2ba8332f6fe4c3574 |
|
MD5 | 5c37d7f91c2d37e74fb7c7d2e1e25a0f |
|
BLAKE2b-256 | 43cd763fdd8ff9f8f1ae54fc6a86775588129df4f24c6336d97cb979dbac6512 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 312.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e5141ca64338a18832d59213b858976c8e46a214de4afc4da3f121bfdc722c |
|
MD5 | 834fd11c194b4d0c0f642460607d839e |
|
BLAKE2b-256 | 1a63ef3ff783ae083ecbf0e4d906dc480991f69c7ba62ec6df11e9fc0526512b |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp311-none-win_amd64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp311-none-win_amd64.whl
- Upload date:
- Size: 248.4 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd65c1991164c9b7d58ae8d5384b1dc242d0bde97c02287bbfa54876648bff6e |
|
MD5 | 1ade594f0986c39532b546cd8dd13cdf |
|
BLAKE2b-256 | 966008efba870e40685db91ca96d9860b9ae717820c499de51df3645035f196d |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 326.3 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90758a6e2bbd10d3fa573e3961add1f1ff634969b3cbbf7974b7ef73b0b57cfd |
|
MD5 | 8e5490f6c30f4390fd3925dfcd10b060 |
|
BLAKE2b-256 | 5e801ee06ffc63a5525db1ebada25bf37e9f6ba2f43758c5352fd688cc0595bb |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 311.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6468d2c4d395236e464b1808fe88b91c6822a55023da469b83372107040823cf |
|
MD5 | 4a2d7afd6f046b539776470a5f60a12a |
|
BLAKE2b-256 | a715a46f6f806015f6fbd3737668fe2deb4e9a4ec70dbd63ebef80d8ffd86fb7 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp310-none-win_amd64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp310-none-win_amd64.whl
- Upload date:
- Size: 249.5 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad1195ccccbf7627ee7f8a1a0ee0d6eaf06fed63efd0342957649ff2dcd38fef |
|
MD5 | 1ddc8a02a6d7c758e537f4bac734d0bb |
|
BLAKE2b-256 | 77c16ce99f033734621eff30ad05e3faf86b7962733b1e85087a382764eb7758 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 326.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2084d7ca8f40d3c8b4bf0750f97a8ed9468ac2f40c371338ee9479bfe8410b |
|
MD5 | 012fb6512468df014630a8d592b6c4b0 |
|
BLAKE2b-256 | 47f668392f293530b0e97fcd8d0a99491f928017dd86a1c853628b26a0681907 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 311.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bee6d9b1b37c349df51a5a085379b335a3221b70d5714be70fba6bc12f3df22 |
|
MD5 | d9c7a019185cb3a092a9b2ecda33dd4d |
|
BLAKE2b-256 | e9137030ae8edbde32a7b138104c246dadb0e8e74578e7a69403872ce28b4b5b |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp39-none-win_amd64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp39-none-win_amd64.whl
- Upload date:
- Size: 249.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df6f16478922db8595282468370ee55d9d34e3e57ccad1ee7d94a81897a7fa6c |
|
MD5 | 39e33e4dd2aaca79ec55e08b7146a289 |
|
BLAKE2b-256 | 59137544c601edd3025c54f9046dac22eff1f42526cd3a3a3a3cfeadf3acc5a9 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 326.5 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98548e89147cdf8c52988536db55e8e6bc6ef9d7e3e234ed3f6b245a8687579a |
|
MD5 | ab61b79740af09f3889bd7540b15722f |
|
BLAKE2b-256 | 49e6d5caa11a35a8c055ef85f28aa017e5163e33c97eedf57377c0df9865eba5 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 312.0 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf74ab9fc622b28bed3fb9a89de532932f1b088d4ee92701b4a22284cf53dbfa |
|
MD5 | 859d642b25fdf8e8058043a722b42021 |
|
BLAKE2b-256 | aebd2eec86678a0bb35cffa530ce69cb6f78fa8cff099a490738e9d9c36077a5 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp38-none-win_amd64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp38-none-win_amd64.whl
- Upload date:
- Size: 250.1 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 622af3888ffde70850f8b1a15089acb58c8619e8d151eda53acfff305567541e |
|
MD5 | 8203a0da6e60df1d026879d368439ef8 |
|
BLAKE2b-256 | 0b5b0934fa78bf3d181f5a10de596927685fd1c67ffe8bed167c2153a8e5e547 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 326.5 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dbd8f0ee14581a2983f0ea8986459f9a2721a4643d04084e4965aa8f8a265e0 |
|
MD5 | fdcbc6eded9a41798155252f43b2a4c2 |
|
BLAKE2b-256 | 03e6069fd4bb55fc248aebebe62c26f26c63cc7628ac3b89dcb9ba0e4197abf7 |
File details
Details for the file qoqo_calculator_pyo3-1.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: qoqo_calculator_pyo3-1.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 312.2 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e08c3fa93aebdf5ca9f0aca7a4210e17031f9b134137b66c591b468d01a5215e |
|
MD5 | ce1d98e3c65d260c9bbc15beaa32551e |
|
BLAKE2b-256 | 12544321c84ac86e0cb0258c3add5c7ee64ec6d984c983e66342680cf6834bb2 |