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

This software is still in the beta stage. Functions and documentation are not yet complete and breaking changes can occur.

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

This software is still in the beta stage. Functions and documentation are not yet complete and breaking changes can occur.

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.

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

qoqo_calculator_pyo3-0.4.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

qoqo_calculator_pyo3-0.4.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

qoqo_calculator_pyo3-0.4.1-cp39-cp39-macosx_10_7_x86_64.whl (791.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.7+ x86-64

qoqo_calculator_pyo3-0.4.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

qoqo_calculator_pyo3-0.4.1-cp38-cp38-macosx_10_7_x86_64.whl (787.1 kB view hashes)

Uploaded CPython 3.8 macOS 10.7+ x86-64

qoqo_calculator_pyo3-0.4.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

qoqo_calculator_pyo3-0.4.1-cp37-cp37m-macosx_10_7_x86_64.whl (787.3 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

qoqo_calculator_pyo3-0.4.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

qoqo_calculator_pyo3-0.4.1-cp36-cp36m-macosx_10_7_x86_64.whl (773.9 kB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page