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/.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qalgo-0.1.2.tar.gz | 20.2 kB | With provenance | Details for qalgo-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qalgo-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for qalgo-0.1.2-py3-none-any.whl |
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 logRelease 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 logSecurity for qalgo 0.1.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for qalgo-0.1.2.tar.gz
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 logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.