The HHL algorithm can be modified to compute the pseudoinverse of $A$ as is shown here and here. Is there anyway to do this in Qiskit without coding the entire thing manually?

  • $\begingroup$ The article is behind a paywall. $\endgroup$ Dec 2, 2022 at 17:57
  • 1
    $\begingroup$ The original HHL publication has it in the discussion section arxiv.org/pdf/0811.3171.pdf $\endgroup$
    – bonsh
    Dec 2, 2022 at 19:29

1 Answer 1


I can imagine if You can decompose the matrix there is a way to build the complete thing more efficiently. However, in the end, You have to be able to construct the matrix one way or another.


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.