Multi-Qubit Gates

Let's take a look at how qubits can interact with each other using multi-qubit gates.

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 looking at the circuit diagram for it.

Get hands-on with 1200+ tech skills courses.