Question

3.Draw a quantum circuit with three qubits that returns|111i or |101i with50% probability each

Fig: 1