All Questions
7 questions
1
vote
0
answers
199
views
Amplitude Amplification applied to HHL Algorithm
I’m trying to understand and implement the amplitude amplification algorithm described in the HHL paper. I’m using the cirq implementation of the HHL algorithm as my starting point.
I have a couple of ...
3
votes
2
answers
581
views
Source code for a Qiskit algorithm: HHL Algorithm
Is it possible to view the source code of one of the Qiskit's algorithm?
Actually, I am trying to find how Qiskit implements the HHL algorithm. I want to see the source code for this algorithm.
10
votes
2
answers
522
views
Quantum implementation of arcsin
I am looking to implement a quantum version of the arcsinus function. Such a problem is motivated by the HHL algorithm where $x\mapsto 1/x$ and $\arcsin$ can be used to get $1/x$ from the ...
1
vote
0
answers
387
views
Implementing the HHL algorithm with negative eigenvalues (Cirq)
How do I implement the HHL with negative eigenvalues?
This paper (https://arxiv.org/abs/1803.01486) says that:
what if $\lambda<0$? This problem actually does not hard to solve, since we can ...
2
votes
1
answer
178
views
How to encode eigenvalues of matrix $A$ in solving $A\vec{x} = \vec{b}$ using the HHL Algorithm
I am trying to implement multiple parallel subroutines of HHL algorithm, each working on a different set of matrix $A$ (when solving for $x$, in $A\vec{x} = \vec{b}$), to find the expectation values ...
1
vote
0
answers
171
views
Exponentiating Hermitian Matrix for use in QPE/HHL
I am currently trying to understand HHL by implementing a very inefficient Qiskit simulation script that performs HHL on an arbitrary hermitian matrix $A$ and a vector $b$.
Because I am currently ...
6
votes
2
answers
942
views
How to draw Qiskit's HHL algorithm as a circuit?
Qiskit Aqua has a module that implements the HHL algorithm:
https://qiskit.org/documentation/stable/0.32/stubs/qiskit.aqua.algorithms.HHL.html
How does one draw the implemented circuit?
*** EDIT ***
I'...