2
$\begingroup$

I am working with a very sparse matrix and it seems inefficient to load the full matrix as input into the Qiskit HHL algorithm. Is it possible to input only the non-zero elements, instead ? I am working with a "clean" banded, tri-diagonal matrix.

$\endgroup$
2
$\begingroup$

At the moment this is not possible, however in the near future it will be possible for the case of tridiagonal symmetric Toeplitz matrices.

The reason for this being that qiskit does not support QRAM or "black-box" access to the matrix elements, so to be able to partly specify the matrix one would need to develop specific methods that work with this limited information, which is only possible if the matrix has some structure.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Thanks, I appreciate the answer! Will the capability extend towards tridiagonal symmetric banded Toeplitz matrices? $\endgroup$ – thespaceman Sep 15 at 16:36
  • $\begingroup$ I think we mean the same thing, a tridiagonal Toeplitz matrix is already banded :) $\endgroup$ – user96233 Sep 16 at 8:03

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.