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
When building manually we recommend using maturin to build the python package.
A source distribution now exists but requires a Rust install with a rust version > 1.47 and a maturin version { >= 0.12, <0.13 } in order to be built.
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
Hashes for qoqo_calculator_pyo3-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4afaac7bd1dbb72ad73c5afc4b32bab61b0bb70cffac9baf53b9754c817184b |
|
MD5 | 42fc2fd1ba449d21684516822d7bd37d |
|
BLAKE2b-256 | 0297f8bd9e91b7528cd71894f2bd77ae7a03cdc924aa1d7cccf2c269c67e1d7e |
Hashes for qoqo_calculator_pyo3-1.0.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 417a5223be50f91712ead1362292ed429508944409cb33293da170f0e365cd3b |
|
MD5 | 30879ff8f4a57aec297b1a6d795da765 |
|
BLAKE2b-256 | 3235eb996b157cc888cf6e4f56a722f81d7e0d6cc9305f7ac8657689ad26118b |
Hashes for qoqo_calculator_pyo3-1.0.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15391c80c475809bcf6e76412cacfac0089c67dd8ef43ad2086864897726f3df |
|
MD5 | e8bf9e170c955b23bdf985027aec75d5 |
|
BLAKE2b-256 | 7c56287b283b5c08c523a4a05036fdda11a2abf5ecdfa003910e3e396e81adbb |
Hashes for qoqo_calculator_pyo3-1.0.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f303730a7152c7d0a2f7214db6856770a14b9ba4685b2a3501c36f80bb6fdd11 |
|
MD5 | 87c01ebb6eb762f7d4879605a215fd27 |
|
BLAKE2b-256 | c43a1c572f6ed3e0c8f95401034a111a4c42a16c5a46d13038a28f0b50dd3a57 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8d7c1482187cb7f78c31ea6406dcd371980d32c937502028cae2c3caee5d7bd |
|
MD5 | 5a9210d757e12d124fb68c3686ff5663 |
|
BLAKE2b-256 | 61b96d3242ae84429ba30593ab919b8f61e73637a3d3d63e7ed09824186cde4a |
Hashes for qoqo_calculator_pyo3-1.0.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e3e4ed7a85952b0ff34106b1a6b251024e3f3d1fe8276e78f04141fb37616d |
|
MD5 | d93353541be8e51e972c6a3fb4a9c7c3 |
|
BLAKE2b-256 | 4d4f68f839bdedc4b783cb9e44e7a7b1939a49f4572753fc4f50f1a2fb726d25 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 547c4806ce5b86ee0e65728976e797fca2892aab8c3c6cadcfbf5c352885ed4b |
|
MD5 | a2805371fd563d9223e5708590ccdbf0 |
|
BLAKE2b-256 | 6d63764738d103a0dd2aaa7c62d38d5cc13abd314ac54cd3f0166ae1eac029c3 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25482aee59d010d14ea5a1966504f2d9acbe830c6120f5f46effae9d6f8c086c |
|
MD5 | e592fa041a7b29c2159bd121baae1781 |
|
BLAKE2b-256 | a0b57e25862598cf16d8b3c380bd9fe1d1cbddae09177b1cecc6fed0f8d1bd16 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa3592f59b713d203ede099e66a2d267318dd200916773a94be4e94f96a8f0e |
|
MD5 | cc4dc06e1491a0c9fbcebcb49e33a9b7 |
|
BLAKE2b-256 | 4c9e587507d640c9169fac51b7858d5c7135cb3e1beaf9d4b868d98bbb8242d1 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e29ea0f6b55775a6f24cd4c860877aab5724712284a393cca0b3ff2dabcb2d80 |
|
MD5 | 84d7e46fc670a1be6b21a6939524d1dd |
|
BLAKE2b-256 | 8486b7d453fe9c0fc8964a3e08a29c102ebc8ffb1fa5f92537495155c7e4b0d8 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d62348f4bd51a29a7e877e22494467606e88a1d63c7da83e6feb8c6dcb055a9 |
|
MD5 | 0238598da84323a79acca5ed057e8aca |
|
BLAKE2b-256 | 6328e76c21328d7ad90dc7082ce0bce56ffd85b590dccf7ed42b92e6bd461a28 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2175e4b34e8131ed9fbe70f7a3e4a7ca6aa7e958d0f65f13a5db3e06623f2df |
|
MD5 | edf3e5c996c69c9130e5861d80a0e9e0 |
|
BLAKE2b-256 | 652f27fd466d5f19b6ff27e964597095c65bd132477e730d8bd9a3f2757d17e2 |
Hashes for qoqo_calculator_pyo3-1.0.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ccf6f059c52e71115803cfe77338669f0cc59efc9140c9fa8d1a94d0d94746e |
|
MD5 | 02eff57bf01ce8d25054de2514466618 |
|
BLAKE2b-256 | 5268fbbc85780fda7e4d3f30436092efa68180ee616d88ee31eaf09b29a37567 |