Question: It is desired to implement the Bernstein Vazirani algorithm, but ( alas ) the only controlled gates you have available to you are controlled Hadamard
It is desired to implement the BernsteinVazirani algorithm, but alas the only controlled gates
you have available to you are controlled Hadamard gates. Recall the standard BV algorithm,
below.
In general, if an input gate is part of the code, it flips the output auxiliary bit from a to
or a to a where
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
