New answers tagged

3 votes

Where to find the Grover's algorithm for Qiskit 1.0.2?

Grover's algorithm is now part of a separate package qiskit-algorithms that must be installed separately. The documentation for the latest version is here, and here are some examples.
Egretta.Thula's user avatar
1 vote

How to Properly Run a Circuit with Qiskit on AWS Braket, AttributeError: 'AwsDevice' object has no attribute 'configuration' by Current Implementation

AWSBraketProvider is deprecated, and should be replaced by BraketProvider. After following fagd's answer and using BraketProvider, I am able to submit my jobs.
Chien Kai Ma's user avatar
2 votes
Accepted

Understanding the diffusion operator in Grover's algorithm

In Grover's algorithm, and in general in amplitude amplification, diffusion is a reflection about the initial state $|\psi_0\rangle$. Which means that we can write the diffusion operator as $$D=2| \...
Egretta.Thula's user avatar
1 vote
Accepted

How to actually solve for the eigenstates in the adiabatic version of Grover's algorithm

Using the same notation as in the paper, we have $H_0=I-|\psi_0\rangle\langle\psi_0|$ and $H_m=I-|m\rangle\langle m|$, such that $\tilde H(s)=(1-s) H_0 + s H_m$ is the adiabatic Hamiltonian. In order ...
Tim Pokart's user avatar
0 votes
Accepted

What is wrong with my quantum grover's algorithm?

There are several mistakes in your code: You incorrectly assume that qc.cx([0, 1, 2], 3) is an $X$ gate on the fourth qubit controlled off the first three ones, ...
Tristan Nemoz's user avatar
  • 6,162
1 vote

Grover search - data representation

Very nice question and definitely not so obvious (and also important when thinking of Grover's algorithm in practice!) What is typically assumed in these types of demonstrations, is that you have An ...
sheesymcdeezy's user avatar

Top 50 recent answers are included