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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee6d1d7dc5db60f45ccb7fe8008fc3f30911434aa2652cf45adffff9dae7e32e
|
|
| MD5 |
209f44c95f03726d9f1ae026c9311397
|
|
| BLAKE2b-256 |
6c9fdb1eb104d1bf1b5d01e874d9531ee87f320882def0554381a3823dd6c9b9
|
Provenance
The following attestation bundles were made for qalgo-0.1.2.tar.gz:
Publisher:
release.yml on TMYTiMidlY/QuantumAlgorithm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qalgo-0.1.2.tar.gz -
Subject digest:
ee6d1d7dc5db60f45ccb7fe8008fc3f30911434aa2652cf45adffff9dae7e32e - Sigstore transparency entry: 265094702
- Sigstore integration time:
-
Permalink:
TMYTiMidlY/QuantumAlgorithm@ae397d2412abd065ed0622c081ddecd16c4fa044 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/TMYTiMidlY
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ae397d2412abd065ed0622c081ddecd16c4fa044 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
825b9972f0ea6b4ad8dbc5b238917c050cf821f52b8371aaaf2ee7dd45b5f00a
|
|
| MD5 |
e9ee6cea53a48e376c9b34239d2c3e8f
|
|
| BLAKE2b-256 |
d657ba1131e6cef9e5c88df32d96a1fd8d798036acfc1a7a6b79664211ba16f1
|
Provenance
The following attestation bundles were made for qalgo-0.1.2-py3-none-any.whl:
Publisher:
release.yml on TMYTiMidlY/QuantumAlgorithm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qalgo-0.1.2-py3-none-any.whl -
Subject digest:
825b9972f0ea6b4ad8dbc5b238917c050cf821f52b8371aaaf2ee7dd45b5f00a - Sigstore transparency entry: 265094715
- Sigstore integration time:
-
Permalink:
TMYTiMidlY/QuantumAlgorithm@ae397d2412abd065ed0622c081ddecd16c4fa044 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/TMYTiMidlY
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ae397d2412abd065ed0622c081ddecd16c4fa044 -
Trigger Event:
push
-
Statement type: