Question: 1 . Consider function f 3 where f 3 ( 0 ) = 1 and fx ( 1 ) = 0 . a . What
Consider function f where f and fx
a What would be oracle associated with this function?
b Build the internal circuit of the oracle. There is no single way to do this.
c What is the matrix associated with this quantum operation. Textbook mentions it but it is incorrect!
In lecture, we implemented the oracles associated with fconstant and
fbalanced and compared them when input to each was rangle
We saw the results were the same, ierangle and thus indistinguishable on a single run. Now, having defined the matrix for f in the previous question, implement the oracles associated with fbalanced and fconstant pass each input rangle and output the result. They both should output rangle and thus indistinguishable in a single run. Also, render the circuits. Both should look like the following:
qoff
qn
Let's now consider a function that receives two bits as input and outputs a single bit. It works as follows:
f f and f f
a Is this function balanced, constant, or none?
b What would be oracle associated with this function?
c What is the matrix associated with this quantum operation. Hint: It should be a matrix.
Now that we have defined the matrix for the function in the previous question, let's define its oracle in Strange. Pass the circuit input rangle and rangle output the result for each respectively rangle and rangle and render the circuit for each. The circuit snapshots are given below
qoff
qff
qon
qff
qon
qn
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
