#quantum-computing #quantum-simulation #complex-numbers #calculator #back-end #toolkit #expression

qoqo_calculator

qoqo-calculator is the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations

34 releases (11 stable)

1.2.2 May 7, 2024
1.1.5 Dec 6, 2023
1.1.4 Nov 10, 2023
1.1.2 Jul 6, 2023
0.1.1 Mar 11, 2021

#228 in Science

Download history 926/week @ 2024-02-03 644/week @ 2024-02-10 257/week @ 2024-02-17 1555/week @ 2024-02-24 1880/week @ 2024-03-02 318/week @ 2024-03-09 1127/week @ 2024-03-16 794/week @ 2024-03-23 817/week @ 2024-03-30 867/week @ 2024-04-06 621/week @ 2024-04-13 912/week @ 2024-04-20 821/week @ 2024-04-27 585/week @ 2024-05-04 1268/week @ 2024-05-11 1269/week @ 2024-05-18

4,039 downloads per month
Used in 22 crates (16 directly)

Apache-2.0

155KB
3.5K SLoC

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

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.

Dependencies

~0.6–1.4MB
~32K SLoC