Skip to main content

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

Crates.io GitHub Workflow Status docs.rs Crates.io codecov

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

Crates.io GitHub Workflow Status docs.rs Crates.io PyPI PyPI - Format

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qoqo_calculator_pyo3-1.1.0.tar.gz (63.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

qoqo_calculator_pyo3-1.1.0-cp310-none-win_amd64.whl (273.2 kB view details)

Uploaded CPython 3.10Windows x86-64

qoqo_calculator_pyo3-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (342.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

qoqo_calculator_pyo3-1.1.0-cp310-cp310-macosx_10_7_x86_64.whl (318.2 kB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

qoqo_calculator_pyo3-1.1.0-cp39-none-win_amd64.whl (273.5 kB view details)

Uploaded CPython 3.9Windows x86-64

qoqo_calculator_pyo3-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (343.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

qoqo_calculator_pyo3-1.1.0-cp39-cp39-macosx_10_7_x86_64.whl (318.5 kB view details)

Uploaded CPython 3.9macOS 10.7+ x86-64

qoqo_calculator_pyo3-1.1.0-cp38-none-win_amd64.whl (273.6 kB view details)

Uploaded CPython 3.8Windows x86-64

qoqo_calculator_pyo3-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (343.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

qoqo_calculator_pyo3-1.1.0-cp38-cp38-macosx_10_7_x86_64.whl (318.4 kB view details)

Uploaded CPython 3.8macOS 10.7+ x86-64

qoqo_calculator_pyo3-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (343.4 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

qoqo_calculator_pyo3-1.1.0-cp37-cp37m-macosx_10_7_x86_64.whl (318.5 kB view details)

Uploaded CPython 3.7mmacOS 10.7+ x86-64

File details

Details for the file qoqo_calculator_pyo3-1.1.0.tar.gz.

File metadata

  • Download URL: qoqo_calculator_pyo3-1.1.0.tar.gz
  • Upload date:
  • Size: 63.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3fbb303e72e42e7e8ab3b7c9fbe0f2fd1201c3f8d2659d8488051a62070259e9
MD5 2fd40295a6258f370f9adb46aed71d60
BLAKE2b-256 1aea58fa8d03a75bbde96167b36edfe70539bcc8ea7e23c34deefdd635a2113a

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 244bc18eba4facf10d94cf9e8d19619755c7283307a15eb4945ff87cfdc0b789
MD5 48d9339bf7c65eacd9e5006f884f6969
BLAKE2b-256 4581bbfa9f0cf0127c633a45a241cd29d9a53a0dc62faaf98b3a9c7fc7741546

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78093d2a1a565205f1681a2ba9ca0336ad10933f05ce85cdab1cf48ff2896c66
MD5 3f2fc3479227d23f227512037b27b02a
BLAKE2b-256 3a99f225d42c6f8bba0f44c38e563dd2d7ad64a9a490fdd0d078394b65468736

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b5285419d489c5d9fae85562ab9a8ce972390b719e5fb4814fdb8637f199b81a
MD5 d2077b53db82221d35c0b2ae4fadf737
BLAKE2b-256 c3669b35c3dd2c25442ed16ae9ebeda21c57911e090e4c0f5bd28265f2022fed

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 f8107c258b109130d8aa45dcfde0a78a3963a4e4b18d84f9fae36c4a635ca8a2
MD5 9c7edfce22bb9009b27be42fe16f1704
BLAKE2b-256 a6d8bd5565702202d54183511cf37152b747d5b831e6f5fbb3c1971773f7bf10

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 41906ab70e11e482b1954e0bccd43a8c9cb2024c491af7216eaa7192bf8dcdf8
MD5 e70d55778575338c88f6bf38f4498888
BLAKE2b-256 db1f11a3680e305a64fe4aa2926645035cfe424f05ab88707314733d1d85b341

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c8bfdae0b7f54cfb7ac822cca6e05ae4d5cf7507c7780bd86c8638a25f9621f8
MD5 ced895d95f56b3f8f6cddb81fbedbe80
BLAKE2b-256 58f2ec13f598824082fe82224dcfd677d2b1a477d20cde6dfb440db52b866f08

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 f9158aee13372b3ddb0b0afe183d5d9e5e7cff7174240c7f2164a8b55a1337db
MD5 e75afc870e378490556981723d7c6b56
BLAKE2b-256 1584c5a090139204a5792c08ef6040b8d358f4a13ceaa6741c6bc3ea7fbaee19

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 41d40224cafabeef01c041631984f24dfcf17aacb43d297498a3a8aac671cf08
MD5 6b5926fb97a0afe1623574212fa81c96
BLAKE2b-256 2c90a9006ecd253e094308cdc872ac2cb1bc6341bd122dd4e45c48411ff9047b

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp38-cp38-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c7b694d1cbaae7f9641dfd7da1a6d90bbf182528800198da55a4d808fbbc56c1
MD5 578d4aa769aafc15fbff5df4f72796c3
BLAKE2b-256 17501474ad1410841a4d911fb75f93345bc08c7ec0c362350bd9ef05f0c4353c

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 078590cfe6f3dea9611f19887b0b89e74c5a76831d3c0eb24e0ad75c1e2df4c9
MD5 611bfad9affad05bae661d7884e062d1
BLAKE2b-256 51d2c854cbda2fdbbdea1e7265e5d1564b895a01052275754b6e068d90e43307

See more details on using hashes here.

File details

Details for the file qoqo_calculator_pyo3-1.1.0-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_calculator_pyo3-1.1.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3f9129b661df311a3f3def3388e91f35ff4de07d7642af8f1b0aabb1a18798fe
MD5 a20644664b098ad46fe01fd136c89b4b
BLAKE2b-256 e1dcc0fd4a68b89582df87ddcb6861938c4ddd37510e182083613f37ebd21479

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