Skip to main content

A package for implementing quantum algorithms using the pysparq package.

Project description

QuantumAlgorithm

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.1.tar.gz (16.9 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.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qalgo-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 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.1.tar.gz
Algorithm Hash digest
SHA256 82af7512c7323ac0d67aafd62a98b82621ca6fe8a62486d2a9cfb70aa11c2ba3
MD5 edd4d45505970bea63c96fc11d8ddfc9
BLAKE2b-256 6a60b0f30c11cb983be48ab64c3691e957871f8877481a4f084c9a06cfa0a277

See more details on using hashes here.

Provenance

The following attestation bundles were made for qalgo-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: qalgo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf5f468c9fb331aa590602638ce12798e451759a0e09b80e32cd1942c493f83
MD5 849cc99408498d3a15942245e9a28130
BLAKE2b-256 95a9c3cbea356a6443e06248cd9497cf39ffc6057b4235ad7a0955bf42052710

See more details on using hashes here.

Provenance

The following attestation bundles were made for qalgo-0.1.1-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