Search⌘ K
AI Features

Multi-Qubit Gates

Learn how multi-qubit gates enable interactions between qubits in quantum circuits. Understand controlled operations such as the CNOT gate and the phase kickback phenomenon. Explore important gates like Swap and Toffoli, and grasp their role in quantum computing logic and circuit design.

Controlled operations

Controlled operations are the most basic way in which two qubits can interact with each other. Basically, a gate is applied to one qubit based on the current state of the other qubit. The operation can be anything like the X, Y, Z gates. Let’s try to understand with the help of an example.

CNOT gate

This is the controlled-NOT gate. It is a two-qubit gate. It performs a bit flip operation on the target qubit only when the control qubit is 1|1\rangle. This is quite similar to the XOR gate from classical computing.

Now, what are target and control qubits? We’ll have to understand this by ...

The control qubit is the qubit that determines if the XX-gate would be applied to the target qubit or not. If q0q_0 is in the 1|1\rangle, the state of q1q_1 ...