?
Quiz Verified
What does a SWAP gate do?
PostedMay 21, 2026
Question: What does a SWAP gate do?
A) Exchanges the quantum states of two qubits
B) Measures two qubits and stores the result
C) Creates a new qubit from a classical bit
D) Removes phase from a circuit
Correct: A
Explanation: A SWAP gate exchanges the states of two qubits. It is especially useful when routing circuits on hardware where only certain qubits are directly connected.
Topic: quantum computing / SWAP gate / routing