3
$\begingroup$

Is it possible to view the source code of one of the Qiskit's algorithm? Actually, I am trying to find how Qiskit implements the HHL algorithm. I want to see the source code for this algorithm.

$\endgroup$
1
  • $\begingroup$ Do not forget to click on the "Accept" button if one of the answer answered your question. $\endgroup$ Jun 18 at 8:23
6
$\begingroup$

Qiskit is an open source. Specifically for HHL, see https://github.com/Qiskit/qiskit-aqua/blob/master/qiskit/aqua/algorithms/linear_solvers/hhl.py.

$\endgroup$
1
  • $\begingroup$ Thanks a lot for the help $\endgroup$
    – quankid
    Mar 22 at 13:33
1
$\begingroup$

You can also use Qiskit documentation. There is a source code for any of implemented functions and algorithms. In particular for HHL it is available here: https://qiskit.org/documentation/_modules/qiskit/aqua/algorithms/linear_solvers/hhl.html#HHL

When you get to a function/algorithm description it the documentation, simply click on link Code and you will se the source code.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.