2
$\begingroup$

I want to extract the HHL solution from the StateVector.

I am doing this on a $4\times4$ matrix. For a $2$ by $2$ the solution is available in the StateVector $8$, $9$. However for a $4$ by $4$ matrix in which cell do I find the solution. Is there a way to find out ?

Here the solution state diagram

$\endgroup$
1
  • $\begingroup$ The solution is stored in qubits where right side of the linear system was at the beginning of the algorithm. $\endgroup$ Apr 1 at 5:23

0

Your Answer

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

Browse other questions tagged or ask your own question.