The hhl-prototype allows to use the HHL algorithm to solve linear system of euqations.
Original implementation was implemented by @anedumla : https://github.com/anedumla/quantum_linear_solvers
gitclonehttps://github.com/QuantumApplicationLab/hhl_prototypecdhhl_prototypepipinstall-e .importnumpyasnpfromhhl_prototypeimportHHLfromqiskit.primitivesimportEstimator, Sampler# create the matrixA=np.random.rand(4,4)
A=A+A.T# create the right hand side b=np.random.rand(4)
# create the solver and solvehhl=HHL(estimator=Estimator(), sampler=Sampler())
hhl.solve(A, b)Tutorial: https://qiskit.org/textbook/ch-applications/hhl_tutorial.html
