Contains classical and quantum algorithms to solve systems of linear equations such as the HHL algorithm.
git clone https://github.com/anedumla/quantum_linear_solvers.git
cd quantum_linear_solvers
pip install .
Or use this fork updated to Qiskit 2.x: https://github.com/agallojr/quantum_linear_solversThis tutorial is based on an older version of this package, which used an older version of Qiskit. The current version of this library uses Qiskit 2.x, so these examples won't work as-is. But the gist of the approach remains the same, only the syntax changes.
Tutorial: https://qiskit.org/textbook/ch-applications/hhl_tutorial.html
Other updated examples can be found here: https://github.com/agallojr/wciscc2025