New answers tagged

1 vote

HHL for non power of 2 matrix

Assume that your system of linear equations is of $m$ equations in $m$ variables, $x_1, x_2, \ldots, x_m$ where $2^{n-1} < m < 2^n$. One solution to make the system compatible with HHL algorithm ...
user avatar
3 votes
Accepted

Representation of a vector in the HHL algorithm

Note that $|i\rangle$ is in fact decimal representation of a binary number (or, computational basis quantum state with index $i$ to be precise). For example $|5\rangle$ is a computational basis state $...
user avatar

Top 50 recent answers are included