Ex5 11

$\def\abs#1{|#1|}\def\i{\mathbf {i}}\def\ket#1{|{#1}\rangle}\def\bra#1{\langle{#1}|}\def\braket#1#2{\langle{#1}|{#2}\rangle}\def\tr{\mathord{\mbox{tr}}}\mathbf{Exercise\ 5.11}$

Let$\ket{W_n} = \frac{1}{\sqrt{n}} (\ket{0\dots 001} + \ket{0\dots 010} + \ket{0\dots 100} + \cdots + \ket{1\dots 000}).$
Design a circuit which, upon input of $\ket{00\dots 0}$, constructs $\ket{W_n}$.