?
Quiz Verified
What does a Hadamard gate do to a qubit?
Question: What is the effect of applying a Hadamard gate H to a qubit initially in state |0⟩?
A) It flips the qubit from |0⟩ to |1⟩
B) It creates an equal superposition of |0⟩ and |1⟩
C) It measures the qubit immediately
D) It entangles the qubit with another qubit
Correct: B
Explanation: The Hadamard gate transforms |0⟩ into an equal superposition state, written as (|0⟩ + |1⟩)/√2. If this qubit is measured, the result is 0 or 1 with equal probability. This is one of the most basic ways to introduce quantum parallelism in a circuit.
Topic: quantum computing / gates / superposition