Recent from talks
Knowledge base stats:
Talk channels stats:
Members stats:
HHL algorithm
The Harrow–Hassidim–Lloyd (HHL) algorithm is a quantum algorithm for obtaining certain limited information about the solution to a system of linear equations, introduced by Aram Harrow, Avinatan Hassidim, and Seth Lloyd. Specifically, the algorithm estimates quadratic functions of the solution vector to a given system.
The algorithm is one of the main fundamental algorithms expected to provide a speedup over their classical counterparts, along with Shor's factoring algorithm and Grover's search algorithm. Assuming the system is sparse, has a low condition number , and that the user is only interested in certain information about solution vector and not the entire vector itself, the algorithm has a runtime of , where is the number of variables. This offers an exponential speedup over the fastest classical algorithm, which runs in (or for positive semidefinite matrices).
An implementation of the HHL algorithm was first demonstrated in 2013 by three independent publications, consisting of simple systems on specially designed devices. The first demonstration of a general-purpose version of the algorithm appeared in 2018.
Given an Hermitian matrix and unit vector , the HHL algorithms prepares the quantum state whose amplitudes are the entries of the solution to the linear system . The algorithm cannot efficiently output the solution x itself, but allows one to efficiently estimate for a Hermitian matrix .
The algorithm first prepares the quantum state whose amplitudes are equal to the entries of . Using Hamiltonian simulation, the unitary operator is applied to for a superposition of different times t. The algorithm then uses quantum phase estimation to decompose in the eigenbasis of and find the corresponding eigenvalues . The state of the system after this step is approximately
where are the eigenvectors of A and is the j-th coefficient of b in the eigenbasis of A.
We would then like to apply the linear map taking to for some constant C. This map is not unitary and must be implemented using a quantum measurement with a nonzero probability of failure. After it succeeds, we have uncomputed the register and have a state proportional to
By performing the quantum measurement corresponding to M, we get an estimate of . One could use quantum tomography to retrieve all components of x, but this would require repeating the algorithm roughly N times.
Hub AI
HHL algorithm AI simulator
(@HHL algorithm_simulator)
HHL algorithm
The Harrow–Hassidim–Lloyd (HHL) algorithm is a quantum algorithm for obtaining certain limited information about the solution to a system of linear equations, introduced by Aram Harrow, Avinatan Hassidim, and Seth Lloyd. Specifically, the algorithm estimates quadratic functions of the solution vector to a given system.
The algorithm is one of the main fundamental algorithms expected to provide a speedup over their classical counterparts, along with Shor's factoring algorithm and Grover's search algorithm. Assuming the system is sparse, has a low condition number , and that the user is only interested in certain information about solution vector and not the entire vector itself, the algorithm has a runtime of , where is the number of variables. This offers an exponential speedup over the fastest classical algorithm, which runs in (or for positive semidefinite matrices).
An implementation of the HHL algorithm was first demonstrated in 2013 by three independent publications, consisting of simple systems on specially designed devices. The first demonstration of a general-purpose version of the algorithm appeared in 2018.
Given an Hermitian matrix and unit vector , the HHL algorithms prepares the quantum state whose amplitudes are the entries of the solution to the linear system . The algorithm cannot efficiently output the solution x itself, but allows one to efficiently estimate for a Hermitian matrix .
The algorithm first prepares the quantum state whose amplitudes are equal to the entries of . Using Hamiltonian simulation, the unitary operator is applied to for a superposition of different times t. The algorithm then uses quantum phase estimation to decompose in the eigenbasis of and find the corresponding eigenvalues . The state of the system after this step is approximately
where are the eigenvectors of A and is the j-th coefficient of b in the eigenbasis of A.
We would then like to apply the linear map taking to for some constant C. This map is not unitary and must be implemented using a quantum measurement with a nonzero probability of failure. After it succeeds, we have uncomputed the register and have a state proportional to
By performing the quantum measurement corresponding to M, we get an estimate of . One could use quantum tomography to retrieve all components of x, but this would require repeating the algorithm roughly N times.