Skip to main content

A package for implementing quantum algorithms using the pysparq package.

Project description

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/.

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

qalgo-0.1.2.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

qalgo-0.1.2-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file qalgo-0.1.2.tar.gz.

File metadata

  • Download URL: qalgo-0.1.2.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qalgo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ee6d1d7dc5db60f45ccb7fe8008fc3f30911434aa2652cf45adffff9dae7e32e
MD5 209f44c95f03726d9f1ae026c9311397
BLAKE2b-256 6c9fdb1eb104d1bf1b5d01e874d9531ee87f320882def0554381a3823dd6c9b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for qalgo-0.1.2.tar.gz:

Publisher: release.yml on TMYTiMidlY/QuantumAlgorithm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qalgo-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: qalgo-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qalgo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 825b9972f0ea6b4ad8dbc5b238917c050cf821f52b8371aaaf2ee7dd45b5f00a
MD5 e9ee6cea53a48e376c9b34239d2c3e8f
BLAKE2b-256 d657ba1131e6cef9e5c88df32d96a1fd8d798036acfc1a7a6b79664211ba16f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for qalgo-0.1.2-py3-none-any.whl:

Publisher: release.yml on TMYTiMidlY/QuantumAlgorithm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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