Skip to main content

QuantumAlgorithm

GitHub version Documentation Status PyPI version Test status PyPI - Python Version

A package for implementing quantum algorithms using the pysparq package.

Installation

To install the package, run the following command in the terminal:

pip install qalgo

Usage

To use the package, simply import the module and create an instance of the desired algorithm class. For example:

from qalgo import qda
import numpy as np

a = np.array([[1, 2], [3, 5]])
b = np.array([1, 2])
x_hat = qda.solve(a, b)

Algorithms

The package currently includes the following quantum algorithms:

  • Discrete adiabatic quantum linear system solver
  • Grover's algorithm (TODO)
  • Hamiltonian simulation (TODO)
  • Shor's algorithm (TODO)

Documentation

The documentation for the package can be found at https://qalgo.readthedocs.io/zh-cn/latest/.

Release files for qalgo 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qalgo 0.1.2
File Size Uploaded
qalgo-0.1.2.tar.gz 20.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qalgo 0.1.2
File Interpreter ABI Platform
qalgo-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.4 kB

Release files / qalgo-0.1.2.tar.gz

Download URL qalgo-0.1.2.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ee6d1d7dc5db60f45ccb7fe8008fc3f30911434aa2652cf45adffff9dae7e32e
BLAKE2b-256 checksum
How to use checksums
6c9fdb1eb104d1bf1b5d01e874d9531ee87f320882def0554381a3823dd6c9b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 7, 2025.

Transparency log

Release files / qalgo-0.1.2-py3-none-any.whl

Download URL qalgo-0.1.2-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
825b9972f0ea6b4ad8dbc5b238917c050cf821f52b8371aaaf2ee7dd45b5f00a
BLAKE2b-256 checksum
How to use checksums
d657ba1131e6cef9e5c88df32d96a1fd8d798036acfc1a7a6b79664211ba16f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 7, 2025.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page