Skip to content

TMYTiMidlY/QuantumAlgorithm

Repository files navigation

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:

  • Quantum linear system solver based on discrete adiabatic theorem
  • Shor's algorithm (TODO)
  • Grover's algorithm (TODO)
  • Hamiltonian simulation (TODO)
  • Quantum linear system solver based on HHL algorithm (TODO)

Documentation

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

About

A package for implementing quantum algorithms using the pysparq package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages