What is a Hadamard gate used for in quantum computing?
a) Creating entanglement between qubits
b) Putting a qubit into superposition
c) Measuring the state of a qubit
d) Sorting a list of numbers
Answer:
b) Putting a qubit into superposition
Explanation:
The Hadamard gate is used to put a qubit into superposition, allowing it to be in a state of 0, 1, or both simultaneously.