How to solve this problem

Let |W> = 1/sqrt(n) (|0…001> + |0…010> + [0…100> + ….. + |1…000>).

Design a circuit that upon input of ~00…0> constructs |W>

Any pointers on how to attack this problem appreciated

Add Comment
1 Answer(s)

You just put a Hadamard gate on every qubit register. Every |0> will be equally likely to be a |0> or a |1> afterwards.

You can just go and try this on the IBM site. The amplitudes are not perfectly 1/sqrt(n), since this is just 1 simulation run.


RE: How to solve this problem

Answered on December 12, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the Terms & Privacy policy.