Quantum algorithms to solve linear systems of equations.
Dependencies are managed with poetry. If poetry is not already installed on your system/evironment, follow the installation instructions.
Then clone the project
git clone https://github.com/SURFQuantum/qc-quantum-linear-systems.git
Switch to the project directory with cd qc-quantum-linear-systems
and then simply:
poetry install
to install all dependencies.
This project makes use of the classiq SDK.
To use the classiq
SDK the user must perform authentication.
For more info check out the classiq docs page.
Authentication is as simple as:
import classiq
classiq.authenticate()
This will open a confirmation window in your default browser. After confirming the user code the classiq login screen appears. Completing the login completes the authentication process.
flowchart TD
subgraph Class QuantumLinearSolver
D{"QLS.solve()"} --> CH{{check}}
CH --> S{{"impl.solve()"}}
end
A(Matrix A, vector b) -->|inside| B[Class ToyModel]
M(Implementations HHL/VQLS, Classiq/qiskit) ---> |method| D
B --> |A,b| D
S --> Q(QASM circuit)
S --> V("StateVector |x>")