3
$\begingroup$

If we have this given circuit:
circuit 1
So the output for $|0\rangle$ will be: $\frac{1}{\sqrt{2}}\left(|00\rangle + |11\rangle\right)$
And we have this given circuit:
enter image description here
What will be the output for $|00\rangle$ and why?

$\endgroup$

1 Answer 1

3
$\begingroup$

The Hadamard gate is its own inverse. Hence, the two Hadamards on the first qubit cancel, leaving the control qubit in state $|0 \rangle$. The bottom Hadamard gate will put the target qubit in the state $\frac{1}{\sqrt{2}} (|0\rangle + |1\rangle)$. Since the control qubit is still in state $|0\rangle$, the CNOT will do nothing to the target. Your output state is therefore $\frac{1}{\sqrt{2}} (|00\rangle + |01\rangle)$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.